kubectl是用来操作kus资源的
kubectl [command] [TYPE] [NAME] [flags]
command制定对资源执行的操作, 例如create, get, describe, delete
create
get
describe
delete
type为k8s里的资源类型具体描述见链接
常用的有pods、services、deployments、events, ingresses
pods
services
deployments
events
ingresses