kubectl get serviceaccounts

From wikieduonline
Revision as of 06:56, 9 August 2022 by Sun (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


kubectl get serviceaccounts -n kube-system

NAME                                 SECRETS   AGE
attachdetach-controller              1         6d20h
aws-cloud-provider                   1         6d20h
aws-node                             1         6d20h
certificate-controller               1         6d20h
clusterrole-aggregation-controller   1         6d20h
coredns                              1         6d20h
cronjob-controller                   1         6d20h
daemon-set-controller                1         6d20h
default                              1         6d20h
deployment-controller                1         6d20h
disruption-controller                1         6d20h
eks-vpc-resource-controller          1         6d20h
endpoint-controller                  1         6d20h
endpointslice-controller             1         6d20h
endpointslicemirroring-controller    1         6d20h
ephemeral-volume-controller          1         6d20h
expand-controller                    1         6d20h
generic-garbage-collector            1         6d20h
horizontal-pod-autoscaler            1         6d20h
job-controller                       1         6d20h
kube-proxy                           1         6d20h
namespace-controller                 1         6d20h
node-controller                      1         6d20h
persistent-volume-binder             1         6d20h
pod-garbage-collector                1         6d20h
pv-protection-controller             1         6d20h
pvc-protection-controller            1         6d20h
replicaset-controller                1         6d20h
replication-controller               1         6d20h
resourcequota-controller             1         6d20h
root-ca-cert-publisher               1         6d20h
service-account-controller           1         6d20h
service-controller                   1         6d20h
statefulset-controller               1         6d20h
tiller                               1         2m23s
ttl-after-finished-controller        1         6d20h
ttl-controller                       1         6d20h
vpc-resource-controller              1         6d20h

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: