Skip to content

Commit

Permalink
move to prod nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
kahootali committed Feb 6, 2019
1 parent 4f310ec commit 1a33fca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
labels:
{{ toYaml .Values.handbook.deployment.podLabels | indent 8 }}
spec:
{{- if .Values.handbook.deployment.tolerations }}
tolerations:
{{ toYaml .Values.handbook.deployment.tolerations | indent 8 -}}
{{- end }}
imagePullSecrets:
- name: {{ .Values.handbook.deployment.imagePullSecrets }}
containers:
Expand Down
5 changes: 5 additions & 0 deletions deployments/kubernetes/chart/developer-handbook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ handbook:
labels:
expose: 'true'
deployment:
tolerations:
- key: "dedicated"
operator: "Equal"
value: "app"
effect: "NoSchedule"
replicas: 1
podLabels:
app: developer-handbook
Expand Down
5 changes: 5 additions & 0 deletions deployments/kubernetes/templates/chart/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ handbook:
labels:
expose: 'true'
deployment:
tolerations:
- key: "dedicated"
operator: "Equal"
value: "app"
effect: "NoSchedule"
replicas: 1
podLabels:
app: developer-handbook
Expand Down

0 comments on commit 1a33fca

Please sign in to comment.