Skip to content

Commit

Permalink
kubernetes: update deployment and cluster role
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Aug 2, 2017
1 parent 6d7e534 commit 56d9a8a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions kubernetes/kube-state-metrics-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@ rules:
- resourcequotas
- replicationcontrollers
- limitranges
- persistentvolumeclaims
verbs: ["list", "watch"]
- apiGroups: ["extensions"]
resources:
- daemonsets
- deployments
- replicasets
verbs: ["list", "watch"]
- apiGroups: ["apps"]
resources:
- statefulsets
verbs: ["list", "watch"]
- apiGroups: ["batch"]
resources:
- cronjobs
- jobs
verbs: ["list", "watch"]

2 changes: 1 addition & 1 deletion kubernetes/kube-state-metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
serviceAccountName: kube-state-metrics
containers:
- name: kube-state-metrics
image: gcr.io/google_containers/kube-state-metrics:v0.5.0
image: gcr.io/google_containers/kube-state-metrics:v1.0.0-rc.1
ports:
- name: http-metrics
containerPort: 8080
Expand Down

0 comments on commit 56d9a8a

Please sign in to comment.