Skip to content

Commit

Permalink
Update kube-state-metrics to v1.2.0 version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Donyintao committed Mar 5, 2018
1 parent 1be827e commit 52d29f6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions kube-state-metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ spec:
serviceAccountName: kube-state-metrics
containers:
- name: kube-state-metrics
image: gcr.io/google_containers/kube-state-metrics:v0.5.0
image: quay.io/coreos/kube-state-metrics:v1.2.0
volumeMounts:
- name: localtime
mountPath: /etc/localtime
ports:
- name: http-metrics
containerPort: 8080
Expand All @@ -25,12 +28,17 @@ spec:
timeoutSeconds: 5
resources:
requests:
memory: 30Mi
memory: 100Mi
cpu: 100m
limits:
memory: 50Mi
cpu: 200m
memory: 500Mi
cpu: 300m
volumes:
- name: localtime
hostPath:
path: /usr/share/zoneinfo/Asia/Shanghai
---

apiVersion: v1
kind: Service
metadata:
Expand Down

0 comments on commit 52d29f6

Please sign in to comment.