Update heapster addon from v1.4.0 to v1.4.3

* Use normal name and phase labels
This commit is contained in:
Dalton Hubble 2017-10-14 19:07:06 -07:00
parent dd0c61d1d9
commit 11453bac91
2 changed files with 7 additions and 14 deletions

View File

@ -3,27 +3,23 @@ kind: Deployment
metadata: metadata:
name: heapster name: heapster
namespace: kube-system namespace: kube-system
labels:
k8s-app: heapster
kubernetes.io/cluster-service: "true"
version: v1.4.0
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
k8s-app: heapster name: heapster
version: v1.4.0 phase: prod
template: template:
metadata: metadata:
labels: labels:
k8s-app: heapster name: heapster
version: v1.4.0 phase: prod
annotations: annotations:
scheduler.alpha.kubernetes.io/critical-pod: '' scheduler.alpha.kubernetes.io/critical-pod: ''
spec: spec:
containers: containers:
- name: heapster - name: heapster
image: gcr.io/google_containers/heapster-amd64:v1.4.0 image: gcr.io/google_containers/heapster-amd64:v1.4.3
command: command:
- /heapster - /heapster
- --source=kubernetes.summary_api:'' - --source=kubernetes.summary_api:''
@ -42,7 +38,7 @@ spec:
- --extra-cpu=0.5m - --extra-cpu=0.5m
- --memory=140Mi - --memory=140Mi
- --extra-memory=4Mi - --extra-memory=4Mi
- --deployment=heapster-v1.4.0 - --deployment=heapster
- --container=heapster - --container=heapster
- --poll-period=300000 - --poll-period=300000
env: env:

View File

@ -3,13 +3,10 @@ kind: Service
metadata: metadata:
name: heapster name: heapster
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "Heapster"
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
k8s-app: heapster name: heapster
ports: ports:
- port: 80 - port: 80
targetPort: 8082 targetPort: 8082