ä¸è¨ã®ããã©ã«ããã¼ã«ã«å½ã¦ã¯ã¾ããªãã¢ã¯ã»ã¹æ¨©éãå®ç¾©ãããå ´åã¯ãæ°ããªãã¼ã«ãå®ç¾©ãããã¨ã«ãªãã¾ãã ä¾ãã°ããããã®åç §ã®ã¿è¡ããã¢ã¯ã»ã¹æ¨©éã¯ã以ä¸ã®ãã¼ã«ã§å®ç¾©ã§ãã¾ãã apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: pod-reader rules: - apiGroups: [""] resources: ["pods"] verbs: ["get", "watch", "list"] $ kubectl apply -f pod-reader.yaml clusterrole.rbac.authorization.k8s.io/pod-reader created ãã ããå®éã«ã¯ããããã®åç §ã®ã¿ãã®ã¢ã¯ã»ã¹æ¨©éã§ã¯ã§ãããã¨ãéããã¾ãã®ã§ãå®éç¨ã§å©ç¨ãããã¼ã«
{{#tags}}- {{label}}
{{/tags}}