Commit d428aa1f authored by Dzmitry_Paulouski (slb)'s avatar Dzmitry_Paulouski (slb) Committed by Luc Yriarte
Browse files

Add node selector

parent 74eb5f7e
......@@ -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:
......
Supports Markdown
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