1、创建serviceAccount
vim serviceAccount.yaml
--- apiVersion: v1 kind: ServiceAccount metadata: name: springcloud-kubernetes namespace: dev --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: springcloud-kubernetes namespace: dev subjects: - kind: ServiceAccount name: springcloud-kubernetes namespace: dev roleRef: kind: ClusterRole name: cluster-admin apiGroup: rbac.authorization.k8s.io
标签:kind,name,创建,serviceAccount,namespace,dev,k8s From: https://www.cnblogs.com/linjiangCN/p/16824420.html