mirror of https://github.com/kubernetes/kops.git
Automatic merge from submit-queue. Add a default NodeLabel with the InstanceGroup name As requested in https://github.com/kubernetes/kops/issues/2999, this change just auto-populates new InstanceGroup specs with a default node label containing the name of the instance group. It would be really useful for those of us managing environments with multiple instance groups. It allows an admin to easily view the instance groups using kubectl: ``` kubectl get nodes --label-columns kops.k8s.io/instancegroup NAME STATUS AGE VERSION INSTANCEGROUP ip-172-20-108-120.eu-west-1.compute.internal Ready,node 3m v1.7.4 xtra-large ip-172-20-117-133.eu-west-1.compute.internal Ready,master 14m v1.7.4 master-eu-west-1c ip-172-20-32-139.eu-west-1.compute.internal Ready,master 14m v1.7.4 master-eu-west-1a ip-172-20-32-92.eu-west-1.compute.internal Ready,node 12m v1.7.4 nodes ip-172-20-67-184.eu-west-1.compute.internal Ready,master 13m v1.7.4 master-eu-west-1b ``` |
||
|---|---|---|
| .. | ||
| kops | ||
| kops-server | ||
| nodeup | ||