1. Deployment创建和删除
创建Deployment kubectl create -f test.yaml 删除Deployment kubectl delete -f test.yaml
kubectl delete deployments *** -n --all-namespaces
@H_301_14@
查看Deployment
kubectl get deployments --all-namespaces
2. Service的创建查看
查看 kubectl get services --all-namespaces@H_301_14@
创建
kubectl create -f test.yaml
删除
kubectl delete service *** -n default
3. pod的查看,删除