kubectl入门

简介

kubectl是用来操作kus资源的

句法

kubectl [command] [TYPE] [NAME] [flags]

command

command制定对资源执行的操作, 例如create, get, describe, delete

type

type为k8s里的资源类型具体描述见链接

常用的有podsservicesdeploymentsevents, ingresses

参考链接

© 404mzk all right reserved,powered by Gitbookhttp://blog.404mzk.com 该文件修订时间: 2021-06-09 19:20:35

results matching ""

    No results matching ""