Skip to content

Commit

Permalink
修复heapster配置报错:missing required field "selector" in DeploymentSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgao1983 committed Dec 20, 2017
1 parent 32199cb commit 70346e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/heapster/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
k8s-app: grafana
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions manifests/heapster/heapster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ metadata:
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
k8s-app: heapster
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions manifests/heapster/influxdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
k8s-app: influxdb
template:
metadata:
labels:
Expand Down

0 comments on commit 70346e9

Please sign in to comment.