Service Account
Our deployment will run under specific service account. To deploy that account run the following commands.
kubectl apply -f cloud-proxy-ui-serviceaccount.yaml --validate
The contents of that file are very simple.
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-proxy-ui
To check the created service account run kubectl get serviceaccounts
command. The output will include the cloud-proxy-ui
string.
# kubectl get serviceaccounts
NAME SECRETS AGE
cloud-proxy-ui 0 11s
default 0 66m