Difference between revisions of "Kubectl describe sa"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
[[kubectl describe serviceaccount]]
 
  [[kubectl describe]] [[sa]]
 
  [[kubectl describe]] [[sa]]
 +
kubectl describe sa | grep -w Name
 +
[[kubectl describe sa -n kube-system]] | grep -w Name
  
  
 +
Name:                myredis
 +
Namespace:          default
 +
Labels:              app.kubernetes.io/instance=myredis
 +
                    app.kubernetes.io/managed-by=Helm
 +
                    app.kubernetes.io/name=redis
 +
                    helm.sh/chart=redis-17.8.3
 +
[[Annotations:]]        meta.helm.sh/release-name: myredis
 +
                    meta.helm.sh/release-namespace: default
 +
Image pull secrets:  <none>
 +
Mountable secrets:  <none>
 +
Tokens:              <none>
 +
Events:              <none>
  
{{ksa}}
+
 
 +
[[Annotations:]]        [[eks.amazonaws.com/role-arn]]: arn:aws:iam::012345678912:role/[[AmazonEKS_EBS_CSI_DriverRole]]
 +
 
 +
[[Annotations:]]        eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/my-role
 +
 
 +
 
 +
== Activities ==
 +
* [[Configuring a Kubernetes service account to assume an IAM role]]
 +
 
 +
== See also ==
 +
* {{ksa}}
 +
 
 +
[[Category:K8s]]

Latest revision as of 19:09, 22 February 2024

kubectl describe serviceaccount
kubectl describe sa
kubectl describe sa | grep -w Name
kubectl describe sa -n kube-system | grep -w Name


Name:                myredis
Namespace:           default
Labels:              app.kubernetes.io/instance=myredis
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=redis
                    helm.sh/chart=redis-17.8.3
Annotations:         meta.helm.sh/release-name: myredis
                    meta.helm.sh/release-namespace: default
Image pull secrets:  <none>
Mountable secrets:   <none>
Tokens:              <none>
Events:              <none>


Annotations:         eks.amazonaws.com/role-arn: arn:aws:iam::012345678912:role/AmazonEKS_EBS_CSI_DriverRole
Annotations:         eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/my-role


Activities[edit]

See also[edit]

Advertising: