* 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 |
||
---|---|---|
.. | ||
architecture | ||
cluster-administration | ||
configuration | ||
containers | ||
extend-kubernetes | ||
overview | ||
policy | ||
services-networking | ||
storage | ||
workloads | ||
_index.md | ||
example-concept-template.md |