Commit 1232cc9f authored by Luc Yriarte's avatar Luc Yriarte
Browse files

Merge branch 'add_node_selector' into 'master'

Add node selector

See merge request !203
parents 74eb5f7e d428aa1f
Pipeline #63266 passed with stages
in 6 minutes and 34 seconds
......@@ -34,7 +34,11 @@ spec:
labels:
aadpodidbinding: "{{ .Values.labels.aadpodidbinding }}"
{{ include "os-wellbore-ddms.commonLabels" . | indent 8}}
spec:
spec:
{{- if .Values.isAutoscalingEnabled }}
nodeSelector:
nodepool: {{ .Values.nodepool }}
{{- end }}
volumes:
# Note:
# This volume is required for pod-identity access mode (https://github.com/Azure/secrets-store-csi-driver-provider-azure/blob/master/docs/pod-identity-mode.md)
......@@ -100,4 +104,4 @@ spec:
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 5
terminationGracePeriodSeconds: 45
\ No newline at end of file
terminationGracePeriodSeconds: 45
......@@ -25,6 +25,8 @@ deployment:
name: os-wellbore-ddms
replicaCount: 2
nodepool: services
isAutoscalingEnabled: false
resources:
limits:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment