Skip to content

Commit

Permalink
Remove nodeSelector from PetSet definition. Update cleanup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
camilb committed Oct 23, 2016
1 parent 56bfbbd commit c0472c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions definitions/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
git checkout k8s/ingress/01-basic-auth.secret.yaml
git checkout k8s/prometheus/01-prometheus.configmap.yaml
git checkout k8s/prometheus/03-alertmanager.configmap.yaml
git checkout k8s/grafana/grafana.svc.deployment.yaml
rm auth
rm dhparam.pem
2 changes: 1 addition & 1 deletion definitions/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ sed -i -e 's/slack_channel/'"$slack_channel"'/g' k8s/prometheus/03-alertmanager.


#remove "sed" generated files
rm k8s/prometheus/*.yaml-e && rm k8s/ingress/*.yaml-e
rm k8s/prometheus/*.yaml-e && rm k8s/ingress/*.yaml-e && rm k8s/grafana/*.yaml-e

echo

Expand Down
2 changes: 0 additions & 2 deletions definitions/k8s/prometheus/02-prometheus.svc.petset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ spec:
annotations:
pod.alpha.kubernetes.io/initialized: "true"
spec:
nodeSelector:
role: monitoring
terminationGracePeriodSeconds: 0
containers:
- name: prometheus-prom-1
Expand Down

0 comments on commit c0472c7

Please sign in to comment.