Difference between revisions of "Kubectl create serviceaccount"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
  
 
  kubectl get serviceaccounts mynewuser -o yaml
 
  kubectl get serviceaccounts mynewuser -o yaml
 +
apiVersion: v1
 +
[[kind: ServiceAccount]]
 +
metadata:
 +
  creationTimestamp: "2022-06-13T17:31:37Z"
 +
  name: mynewuser
 +
  namespace: default
 +
  resourceVersion: "701464"
 +
  uid: cbeca936-ec30-4a6f-ba83-47c6ce366d05
 +
secrets:
 +
- name: mynewuser-token-vjdsc
  
  

Revision as of 17:32, 13 June 2022

kubectl create serviceaccount mynewuser
serviceaccount/mynewuser created
kubectl get serviceaccounts mynewuser -o yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  creationTimestamp: "2022-06-13T17:31:37Z"
  name: mynewuser
  namespace: default
  resourceVersion: "701464"
  uid: cbeca936-ec30-4a6f-ba83-47c6ce366d05
secrets:
- name: mynewuser-token-vjdsc


See also

Advertising: