y37.第三章 Kubernetes从入门到精通 -- etcd运行机制和yaml文件及语法基础(十)

3.7.2 etcd 集群v3版本数据自动备份与恢复

root@k8s-deploy:/usr/local/src# cd /etc/kubeasz/

root@k8s-master1:~# kubectl get pod 
No resources found in default namespace.

root@k8s-master1:~# kubectl run net-test1 --image=alpine sleep 360000
pod/net-test1 created
root@k8s-master1:~# kubectl run net-test2 --image=alpine sleep 360000
pod/net-test2 created

root@k8s-master1:~# kubectl get pod 
NAME        READY   STATUS    RESTARTS   AGE
net-test1   1/1     Running   0          35s
net-test2   1/1     Running   0          30s

root@k8s-deploy:/etc/kubeasz

猜你喜欢

转载自blog.csdn.net/qq_25599925/article/details/124741806