kubectl get serviceaccounts

From wikieduonline
Revision as of 06:39, 26 September 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

 kubectl get serviceaccounts -A
 kubectl get serviceaccounts


kubectl get serviceaccounts -n your-namespace
NAME      SECRETS   AGE
default   1         14d


Prometheus serviceaccounts

kubectl get serviceaccounts
NAME                              SECRETS   AGE
default                           1         9h
myprometheus-alertmanager         1         8h
myprometheus-kube-state-metrics   1         8h
myprometheus-node-exporter        1         8h
myprometheus-pushgateway          1         8h
myprometheus-server               1         8h

EKS

GKE

NAME                                 SECRETS   AGE
attachdetach-controller              1         236d
certificate-controller               1         236d
cloud-provider                       1         236d
clusterrole-aggregation-controller   1         236d
cronjob-controller                   1         236d
daemon-set-controller                1         236d
default                              1         236d
deployment-controller                1         236d
disruption-controller                1         236d
endpoint-controller                  1         236d
endpointslice-controller             1         236d
endpointslicemirroring-controller    1         236d
ephemeral-volume-controller          1         236d
event-exporter-sa                    1         236d
expand-controller                    1         236d
fluentbit-gke                        1         236d
generic-garbage-collector            1         236d
gke-metrics-agent                    1         236d
job-controller                       1         236d
konnectivity-agent                   1         236d
konnectivity-agent-cpha              1         236d
kube-dns                             1         236d
kube-dns-autoscaler                  1         236d
kube-proxy                           1         236d
metadata-proxy                       1         236d
metrics-server                       1         236d
namespace-controller                 1         236d
node-controller                      1         236d
pdcsi-node-sa                        1         236d
persistent-volume-binder             1         236d
pod-garbage-collector                1         236d
pv-protection-controller             1         236d
pvc-protection-controller            1         236d
replicaset-controller                1         236d
replication-controller               1         236d
resourcequota-controller             1         236d
root-ca-cert-publisher               1         236d
service-account-controller           1         236d
service-controller                   1         236d
statefulset-controller               1         236d
ttl-after-finished-controller        1         236d
ttl-controller                       1         236d

Related

See also

Advertising: