Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

108.6. serviceaccount

语法

			
$ kubectl create serviceaccount NAME [--dry-run]
			
		

演示

			
kubectl create serviceaccount my-service-account
			
		
		
apiVersion: v1
kind: ServiceAccount
metadata:
 labels:
   app: elasticsearch
 name: elasticsearch
 namespace: elastic