helm install的时候提示权限不足
来源:1-18 【性能监控Demo】rometheus时间序列监控,知其然
红嘴鲤鱼
2020-10-12 03:35:22
创建monitoring的namespace
helm install ,此时出现报错

3回答
平_常_心
2021-03-26
创建helm.yaml文件
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: monitoring
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: monitoring
kubectl apply -f helm.yaml
再执行 helm install 就可以了
张飞扬
2020-10-12
可以特别关注下课程中tiller账号授权的相关步骤
张飞扬
2020-10-12
应该是service account的权限不足,类似dashboard介绍的方法进行授权即可
相似问题