kubectl get serviceaccounts

From wikieduonline
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[edit]

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[edit]

kubectl get serviceaccounts -n kube-system[edit]

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



Old: kubectl get serviceaccounts -n kube-system[edit]

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[edit]

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[edit]

cert-manager
calico-apiserver
calico-kube-controllers
calico-node
calico-typha
aws-for-fluent-bit
aws-load-balancer-controller

See also[edit]

Advertising: