K8s getting started
Материал из noname.com.ua
Заметки на полях про k8s
PodDisruptionBudget
PodDisruptionBudget
Прочее
Сети
DNS
Проверить
kubectl -n kube-system get svc
Kubectl
Node Labels
kubectl label node infra-k0s-node-3 kilda-az=kilda-az-3 node/infra-k0s-node-3 labeled
kubectl label node infra-k0s-node-2 kilda-az=kilda-az-2 node/infra-k0s-node-2 labeled
kubectl label node infra-k0s-node-1 kilda-az=kilda-az-1 node/infra-k0s-node-1 labeled
kubectl get nodes -o wide --show-labels NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME LABELS infra-k0s-node-1 Ready <none> 28d v1.22.4+k0s 10.14.16.35 <none> Ubuntu 18.04.3 LTS 4.15.0-70-generic containerd://1.5.8 az=az1,beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kilda-az=kilda-az-1,kubernetes.io/arch=amd64,kubernetes.io/hostname=infra-k0s-node-1,kubernetes.io/os=linux,topology.cinder.csi.openstack.org/zone=nova infra-k0s-node-2 Ready <none> 23d v1.22.4+k0s 10.14.16.36 <none> Ubuntu 18.04.3 LTS 4.15.0-163-generic containerd://1.5.8 az=az2,beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kilda-az=kilda-az-2,kubernetes.io/arch=amd64,kubernetes.io/hostname=infra-k0s-node-2,kubernetes.io/os=linux,topology.cinder.csi.openstack.org/zone=nova infra-k0s-node-3 Ready <none> 42h v1.22.4+k0s 10.14.16.37 <none> Ubuntu 18.04.3 LTS 4.15.0-70-generic containerd://1.5.8 az=az3,beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kilda-az=kilda-az-3,kubernetes.io/arch=amd64,kubernetes.io/hostname=infra-k0s-node-3,kubernetes.io/os=linux,topology.cinder.csi.openstack.org/zone=nova