# kubectl操作
# kubectl run
Create and run a particular image in a pod.
kubectl run nginx --image=nginx
# kubectl delete
Delete resources by filenames, stdin, resources and names, or by resources and label selector.
kubectl delete pod nginx
# kubectl describe
Show details of a specific resource or group of resources.
kubectl describe pod nginx
# kubectl get
Display one or many resources.
kubectl get pod nginx -o wide
# kubectl explain
描述资源对象所需要的字段
kubectl explain pod
← Kubernetes 安装部署 →