kubernetes 1.10リソース
3735 ワード
以下は私のでたらめな翻訳のすべての間違いで、一切責任を負いません
kubectl get --help
Display one or many resources
Prints a table of the most important information about the specified resources. You can filter the
list using a label selector and the --selector flag. If the desired resource type is namespaced you
will only see results in your current namespace unless you pass --all-namespaces.
Uninitialized objects are not shown unless --include-uninitialized is passed.
By specifying the output as 'template' and providing a Go template as the value of the --template
flag, you can filter the attributes of the fetched resources.
Valid resource types include:
* all
* certificatesigningrequests (aka 'csr')
* clusterrolebindings
* clusterroles
* componentstatuses (aka 'cs')
* configmaps (aka 'cm')
* controllerrevisions
* cronjobs
* customresourcedefinition (aka 'crd')
* daemonsets (aka 'ds')
* deployments (aka 'deploy')
* endpoints (aka 'ep')
* events (aka 'ev')
* horizontalpodautoscalers (aka 'hpa')
* ingresses (aka 'ing')
* jobs
* limitranges (aka 'limits')
* namespaces (aka 'ns')
* networkpolicies (aka 'netpol')
* nodes (aka 'no')
* persistentvolumeclaims (aka 'pvc')
* persistentvolumes (aka 'pv')
* poddisruptionbudgets (aka 'pdb')
* podpreset
* pods (aka 'po')
* podsecuritypolicies (aka 'psp')
* podtemplates
* replicasets (aka 'rs')
* replicationcontrollers (aka 'rc')
* resourcequotas (aka 'quota')
* rolebindings
* roles
* secrets
* serviceaccounts (aka 'sa')
* services (aka 'svc')
* statefulsets (aka 'sts')
* storageclasses (aka 'sc')
。 --selector 。 , --all-namespaces.
, --include-uninitialized 。
‘ ’ --templater go , 。
:
* all
* certificatesigningrequests (csr)
* clusterrolebinds
* clusterroles
* componentstatuses (cs)
* configmaps (cm)
* controllerrevisions ( DaemonSet )
* cronjobs
* customeresourcedefinition(crd) , v1.7+ Kubernetes API , 。 [ThirdPartyResources(TPR)](https://link.zhihu.com/?target=https%3A//kubernetes.feisky.xyz/concepts/thirdpartyresources.html) ,TPR v1.8 。
* daemonsets (ds)pod
* deployments (deploy)pod
* endpoints (ep)
* horizontalpodautoscalers (hps) Pod
* ingresses (ing)
* jobs
* limitranges (limits)
* namespaces (ns)
* networkpolicies (netpol)
* nodes (no)
* persistentvolumeclaims (pvc)
* persistentvolume (pv)
* poddisruptionbudgets ( 'pdb') )pod , PodDisruptionBudget POD , POD , POD , POD, SLA 。
* podpreset Pod Preset API , Pod 。 Pod Preset Pod。
* pods ( 'po')
* podsecuritypolicies (aka 'psp') pod
* podtemplates pod
* replicasets ( 'rs')
* replicationcontrollers ( 'rc')
* resourcequotas ( 'quota')
* rolebindings
* roles
* secrets
* serviceaccounts ( 'sa')
* services ( 'svc')
* statefulsets ( 'sts') StatefulSet Pod , 。
* storageclasses ( 'sc') StorageClass , 、 , 。