如何使用ansible部署最基础的k8s环境 - 知乎
https://zhuanlan.zhihu.com/p/141595112[root@k8s-master ~]# kubectl apply -f nginx-ds.yml service/nginx-ds created daemonset.apps/nginx-ds created [root@k8s-master ~]# kubectl get pods -o wide | grep nginx-ds nginx-ds-cmdnb 1/1 Running 0 153m 10.244.1.18 k8s-node-1 <none> <none> nginx-ds-dz2gh 1/1 Running 0 153m 10.244.3.7 k8s-node-2 <none> <none> nginx-ds-j6kqp 1/1 Running 0 153m …