* Update assign-pod-node.md Use `kubectl get nodes --show-labels` to show the labels will not show the compelte labels like this: ``` root@master:/home# kubectl get nodes --show-labels NAME STATUS ROLES AGE VERSION LABELS master Ready master 41h v1.13.1 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=master,node-role.kubernetes.io/master= server01 Ready <none> 41h v1.13.1 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,func=database,kubernetes.io/hostname=moon-server01 ``` and the command `kubectl describe node "nodename" ` will show all labels the node have. * Update assign-pod-node.md * Update assign-pod-node.md add a space before the new sentence |
||
---|---|---|
.. | ||
_index.md | ||
assign-pod-node.md | ||
manage-compute-resources-container.md | ||
organize-cluster-access-kubeconfig.md | ||
overview.md | ||
pod-priority-preemption.md | ||
scheduler-perf-tuning.md | ||
secret.md | ||
taint-and-toleration.md |