总结
K8s基本使用-Pod查看、删除
K8s基本使用-Deployment创建、查看
K8s基本使用-Deployment创建、删除
1、K8s基本使用-Deployment创建、删除
Kubectl create -f test.yaml
Kubectl delete -f test.yaml
2、K8s基本使用-Pod查看、删除
Kubectl get pod --all-namespaces -o wide
Kubectl describe pod xxxxx -n kube-system
kubectl delete pod xxxx -n kube-system
总结
1、k8s介绍(what/why、架构、重要概念)
2、k8s安装配置(master安装配置、node安装配置)
3、k8s基本使用(node、deployment、service、pod)
K8S基本使用-Pod查看、删除
#kubectl get pod --all-namespaces -o wide
#kubectl describe pod *** -n kube-system
#kubectl delete pod *** -n kube-system
#kubectl get po --all -namespaces -o wide
#kubectl create -f test.yaml
#kubectl get service --all-namespaces
#kubectl delete -f /root/kube.yaml
#kubectl apply -f /root/kube.yaml
#kubectl get deployments --all-namespaces
#kubectl delete -f /root/kube.yaml
K8S基本使用-Deployment创建、删除
1、kubectl create -f test.yml
2、kubectl delete -f test.yaml
1、K8s基本使用-Deployment创建、删除
Kubectl create -f test.yaml
Kubectl delete -f test.yaml
2、K8s基本使用-Pod查看、删除
Kubectl get pod --all-namespaces -o wide
Kubectl describe pod xxxxx -n kube-system
kubectl delete pod xxxx -n kube-system