kubernetes/pkg/api/v1
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
..
backward_compatibility_test.go update CodecFor for GroupVersion 2015-12-15 10:56:00 -05:00
conversion_generated.go Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
conversion_test.go Refactor diff into sub pkg 2016-03-21 20:21:39 +08:00
conversion.go Change "speter.net/go/exp/math/dec/inf" dependency 2016-05-11 17:01:28 -07:00
deep_copy_generated.go Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
defaults_test.go Switch API objects to not register per version codecs 2016-01-22 01:10:21 -05:00
defaults.go Cleanup the code with new engine-api 2016-04-29 13:34:38 -07:00
doc.go Switch to new generator 2016-04-11 08:04:45 +02:00
generated.pb.go Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
generated.proto Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
register.go Implement a streaming serializer for watch 2016-04-11 11:22:05 -04:00
types_swagger_doc_generated.go Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
types.generated.go Merge pull request #23684 from luxas/auto_label_arch 2016-05-13 13:25:34 -07:00
types.go Merge pull request #23684 from luxas/auto_label_arch 2016-05-13 13:25:34 -07:00