1 개요[ | ]
- k8s API resources, K8s 리소스
- K8s API 리소스, k8s 리소스
2 기본 조회[ | ]
Console
Copy
$ kubectl api-resources
NAME SHORTNAMES APIVERSION NAMESPACED KIND
bindings v1 true Binding
componentstatuses cs v1 false ComponentStatus
configmaps cm v1 true ConfigMap
endpoints ep v1 true Endpoints
...
3 clusterroles에서 조회[ | ]
Console
Copy
$ kubectl get clusterroles -ojson | jq -r '.items[].rules[].resources[]' | sort | uniq
*
bgpconfigurations
bgppeers
bindings
...
services
services/proxy
services/status
statefulsets
statefulsets/scale
statefulsets/status
4 같이 보기[ | ]
5 참고[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.