From 11453bac9125d47aebd01d1a4b91740e0a832321 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 14 Oct 2017 19:07:06 -0700 Subject: [PATCH] Update heapster addon from v1.4.0 to v1.4.3 * Use normal name and phase labels --- addons/heapster/deployment.yaml | 16 ++++++---------- addons/heapster/service.yaml | 5 +---- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/addons/heapster/deployment.yaml b/addons/heapster/deployment.yaml index f42465db..906b5b18 100644 --- a/addons/heapster/deployment.yaml +++ b/addons/heapster/deployment.yaml @@ -3,27 +3,23 @@ kind: Deployment metadata: name: heapster namespace: kube-system - labels: - k8s-app: heapster - kubernetes.io/cluster-service: "true" - version: v1.4.0 spec: replicas: 1 selector: matchLabels: - k8s-app: heapster - version: v1.4.0 + name: heapster + phase: prod template: metadata: labels: - k8s-app: heapster - version: v1.4.0 + name: heapster + phase: prod annotations: scheduler.alpha.kubernetes.io/critical-pod: '' spec: containers: - name: heapster - image: gcr.io/google_containers/heapster-amd64:v1.4.0 + image: gcr.io/google_containers/heapster-amd64:v1.4.3 command: - /heapster - --source=kubernetes.summary_api:'' @@ -42,7 +38,7 @@ spec: - --extra-cpu=0.5m - --memory=140Mi - --extra-memory=4Mi - - --deployment=heapster-v1.4.0 + - --deployment=heapster - --container=heapster - --poll-period=300000 env: diff --git a/addons/heapster/service.yaml b/addons/heapster/service.yaml index 5dd622b5..cff31adb 100644 --- a/addons/heapster/service.yaml +++ b/addons/heapster/service.yaml @@ -3,13 +3,10 @@ kind: Service metadata: name: heapster namespace: kube-system - labels: - kubernetes.io/cluster-service: "true" - kubernetes.io/name: "Heapster" spec: type: ClusterIP selector: - k8s-app: heapster + name: heapster ports: - port: 80 targetPort: 8082