create
expost
run
set
explain
kubuctl explain <type>.<fieldName>[.<fieldName>] [option]
1 | kubectl explain pods |
get
-l
:
describe
exec
logs
label
kubectl label [--overwrite] (-f FILENAME | TYPE NAME) K1=V1 ... [--resource-version=version]
[options]
标签的相关操作,包括增删改
1 | kubectl label --overwrite pods foo status=unhealthy |