docker_practice/kubernetes/kubectl/README.md

82 lines
1.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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