mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
910 B
910 B
DaemonSet
- Переходим в директорию с практикой.
cd ~/slurm/practice/4.advanced-abstractions/1.daemonset
- Создаем демонсет
kubectl apply -f daemonset.yaml
В ответ должны увидеть
daemonset.apps/node-exporter created
- Смотрим на поды
kubectl get pod -o wide
Видим
NAME READY STATUS RESTARTS AGE IP NODE
node-exporter-g5tt8 2/2 Running 0 11s 10.107.32.4 gke-s000-default-pool-41fb7951-ntk8
node-exporter-jczbm 2/2 Running 0 32s 10.107.32.3 gke-s000-default-pool-41fb7951-4sns
node-exporter-xpb9f 2/2 Running 0 22s 10.107.32.2 gke-s000-default-pool-41fb7951-lkjn
- Чистим за собой кластер
kubectl delete -f daemonset.yaml