docker_practice/kubernetes/kubectl/README.md

82 lines
1.1 KiB
Go
Raw Normal View History

# kubectl 使
2018-12-31 09:06:28 +08:00
[kubectl](https://github.com/kubernetes/kubernetes) 是 Kubernetes 自带的客户端,可以用它来直接操作 Kubernetes。
使
```bash
kubectl [flags]
kubectl [command]
```
## get
2018-12-31 09:06:28 +08:00
## describe
2018-12-31 09:06:28 +08:00
## create
2018-12-31 09:06:28 +08:00
## update
2018-12-31 09:06:28 +08:00
## delete
2018-12-31 09:06:28 +08:00
label selector
## log
2018-12-31 09:06:28 +08:00
2018-12-31 16:09:34 +08:00
pod
2018-12-31 09:06:28 +08:00
## rolling-update
2018-12-31 09:06:28 +08:00
replication controller
## exec
2018-12-31 09:06:28 +08:00
## port-forward
2018-12-31 09:06:28 +08:00
Pod
## proxy
2018-12-31 09:06:28 +08:00
Kubernetes API server
## run
使
## expose
2018-12-31 09:06:28 +08:00
replication controller service pod kubernetes service
## label
2018-12-31 09:06:28 +08:00
label
## config
2018-12-31 09:06:28 +08:00
kubernetes
## cluster-info
2018-12-31 09:06:28 +08:00
## api-versions
2018-12-31 09:06:28 +08:00
"组/版本" API
## version
2018-12-31 09:06:28 +08:00
## help
2018-12-31 09:06:28 +08:00