docker kubectl 使用[docker中文手册]

##,resource,Kubernetes,kubectl,filenamekubectl使用kubectl是Kubernetes自带的客户端,可以用它来直接操作Kubernetes。使用格式有两种:12kubectl[flags]kubectl[command]getDisp...
强烈推介IDEA2021.1.3破解激活,IntelliJ IDEA 注册码,2021.1.3IDEA 激活码  

dockerkubectl 使用[docker中文手册]

##,resource,Kubernetes,kubectl,filename

kubectl 使用

kubectl 是 Kubernetes 自带的客户端,可以用它来直接操作 Kubernetes。

使用格式有两种:

1
2

只听到从山间传来架构君的声音:鹅儿湖北烟初暝,背指明霞几缕红。有谁来对上联或下联?
此代码由Java架构师必看网-架构君整理
kubectl [flags]
kubectl [command]

get

Display one or many resources

describe

Show details of a specific resource

create

Create a resource by filename or stdin

update

Update a resource by filename or stdin.

delete

Delete a resource by filename, stdin, resource and ID, or by resources and label selector.

namespace

SUPERCEDED: Set and view the current Kubernetes namespace

log

Print the logs for a container in a pod.

rolling-update

Perform a rolling update of the given ReplicationController.

resize

Set a new size for a Replication Controller.

exec

Execute a command in a container.

port-forward

Forward one or more local ports to a pod.

proxy

Run a proxy to the Kubernetes API server

run-container

Run a particular image on the cluster.

stop

Gracefully shut down a resource by id or filename.

expose

Take a replicated application and expose it as Kubernetes Service

label

Update the labels on a resource

config

config modifies kubeconfig files

cluster-info

Display cluster info

api-versions

Print available API versions.

version

Print the client and server version information.

help

Help about any command

架构君码字不易,如需转载,请注明出处:https://javajgs.com/archives/42679
0

发表评论