Closed aki0000 closed 3 years ago
Need to configure RBCA for deployment by helm? https://christina04.hatenablog.com/entry/helm-basic-usage
Created ClusterRoleBinding and ServiceAccount for Promehetus, and deployed it in the cluster. Please check below.
Also, I need to consider RBCA as per namespace in the cluster like below.... I think. Monitoring -> SA1 Kube-System -> SA2 another -> SA2
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Release.Name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Release.Name }}-admin
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
----
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
It's unaccessible prometheus UI (
http://192.168.100.111:9090/
) after reboot cluster.Services
Pods
Deploy