Skip to content

Commit 2515935

Browse files
authored
Start Prometheus with admin flags
The cluster roles entries in the sample configuration requires ` --as=admin --as-group=system:masters`
1 parent 98e9ffc commit 2515935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kube/full/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ envsubst < prometheus.yaml > _prometheus.yaml.tmp
1515
envsubst < node-exporter.yaml > _node-exporter.yaml.tmp
1616
envsubst < kube-state-metrics.yaml > _kube-state-metrics.yaml.tmp
1717

18-
kubectl apply -f _prometheus.yaml.tmp
18+
kubectl apply -f _prometheus.yaml.tmp --as=admin --as-group=system:masters
1919
kubectl apply -f _node-exporter.yaml.tmp
2020
kubectl apply -f _kube-state-metrics.yaml.tmp --as=admin --as-group=system:masters
2121

0 commit comments

Comments
 (0)