diff --git a/docs/user-guide/service-accounts.md b/docs/user-guide/service-accounts.md index c411db8ee85..6794c17c326 100644 --- a/docs/user-guide/service-accounts.md +++ b/docs/user-guide/service-accounts.md @@ -66,15 +66,15 @@ You can access the API using a proxy or with a client library, as described in Every namespace has a default service account resource called "default". You can list this and any other serviceAccount resources in the namespace with this command: -``` -kubectl get serviceAccounts -$ NAME SECRETS +```console +$ kubectl get serviceAccounts +NAME SECRETS default 1 ``` You can create additional serviceAccounts like this: -``` +```console $ cat > /tmp/serviceaccount.yaml <