From 70346e958f42ea66196dc66a13ff63ccd0b19048 Mon Sep 17 00:00:00 2001 From: jmgao Date: Wed, 20 Dec 2017 09:11:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dheapster=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=8A=A5=E9=94=99:missing=20required=20field=20"selector"=20in?= =?UTF-8?q?=20DeploymentSpec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifests/heapster/grafana.yaml | 3 +++ manifests/heapster/heapster.yaml | 3 +++ manifests/heapster/influxdb.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/manifests/heapster/grafana.yaml b/manifests/heapster/grafana.yaml index 642a49f..85bd24c 100644 --- a/manifests/heapster/grafana.yaml +++ b/manifests/heapster/grafana.yaml @@ -6,6 +6,9 @@ metadata: namespace: kube-system spec: replicas: 1 + selector: + matchLabels: + k8s-app: grafana template: metadata: labels: diff --git a/manifests/heapster/heapster.yaml b/manifests/heapster/heapster.yaml index 46e3a46..69bad29 100644 --- a/manifests/heapster/heapster.yaml +++ b/manifests/heapster/heapster.yaml @@ -27,6 +27,9 @@ metadata: namespace: kube-system spec: replicas: 1 + selector: + matchLabels: + k8s-app: heapster template: metadata: labels: diff --git a/manifests/heapster/influxdb.yaml b/manifests/heapster/influxdb.yaml index 4df9e27..efdadb4 100644 --- a/manifests/heapster/influxdb.yaml +++ b/manifests/heapster/influxdb.yaml @@ -6,6 +6,9 @@ metadata: namespace: kube-system spec: replicas: 1 + selector: + matchLabels: + k8s-app: influxdb template: metadata: labels: