kubernetes/pkg/api/unversioned
k8s-merge-robot 399b086620 Merge pull request #23684 from luxas/auto_label_arch
Automatic merge from submit-queue

Automatically add node labels beta.kubernetes.io/{os,arch}

Proposal: #17981
As discussed in #22623:
> @davidopp: #9044 says cloud provider but can also cover platform stuff.

Adds a label `beta.kubernetes.io/platform` to `kubelet` that informs about the os/arch it's running on.
Makes it easy to specify `nodeSelectors` for different arches in multi-arch clusters.

```console
$ kubectl get no --show-labels
NAME        STATUS    AGE       LABELS
127.0.0.1   Ready     1m        beta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1
$ kubectl describe no
Name:			127.0.0.1
Labels:			beta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1
CreationTimestamp:	Thu, 31 Mar 2016 20:39:15 +0300
```
@davidopp @vishh @fgrzadkowski @thockin @wojtek-t @ixdy @bgrant0607 @dchen1107 @preillyme
2016-05-13 13:25:34 -07:00
..
validation implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
deep_copy_generated.go copy ServerAddressByClientCIDR to federation types 2016-05-10 10:34:00 -07:00
duration_test.go Add pkg/api/unversioned.Duration type 2015-09-17 16:25:46 -07:00
duration.go Initial protobuf generated files 2016-04-20 12:13:05 -04:00
generated.pb.go Strip side-effect imports from generated protobuf 2016-05-02 18:12:20 -04:00
generated.proto Generated files 2016-05-05 12:08:23 -04:00
group_version_test.go rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery 2015-11-05 14:52:58 -08:00
group_version.go Change ObjectKind signature to avoid allocations 2016-05-12 10:10:35 -04:00
helpers_test.go Support for both map-based and set-based selectors in extensions/v1beta1.Scale 2016-03-09 17:54:17 -08:00
helpers.go Support for both map-based and set-based selectors in extensions/v1beta1.Scale 2016-03-09 17:54:17 -08:00
register.go Change ObjectKind signature to avoid allocations 2016-05-12 10:10:35 -04:00
time_proto.go Reproduce time issue with protobufs. 2016-05-11 09:34:29 +02:00
time_test.go Reproduce time issue with protobufs. 2016-05-11 09:34:29 +02:00
time.go Implement a simpler unversioned.Time serialization 2016-04-05 11:19:24 -04:00
types_swagger_doc_generated.go Autogenerate. 2016-02-19 09:48:03 -08:00
types.go Initial protobuf generated files 2016-04-20 12:13:05 -04:00
well_known_labels.go Add operatingsystem/architecture as node labels. Also, display that in status 2016-05-10 20:38:57 +03:00