Commit 06439eb6 authored by Dzmitry_Paulouski (slb)'s avatar Dzmitry_Paulouski (slb) Committed by harshit aggarwal
Browse files

Add node selector

parent 8c254ca7
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
global: global:
# Service(s) Replica Count # Service(s) Replica Count
replicaCount: 1 replicaCount: 1
nodepool: services
isAutoscalingEnabled: false
azure: azure:
servicebusSubscription: eg_sb_wkssubscription servicebusSubscription: eg_sb_wkssubscription
......
...@@ -28,6 +28,10 @@ spec: ...@@ -28,6 +28,10 @@ spec:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
aadpodidbinding: osdu-identity aadpodidbinding: osdu-identity
spec: spec:
{{- if .Values.global.isAutoscalingEnabled }}
nodeSelector:
nodepool: {{ .Values.global.nodepool }}
{{- end }}
volumes: volumes:
- name: azure-keyvault - name: azure-keyvault
csi: csi:
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
global: global:
# Service(s) Replica Count # Service(s) Replica Count
replicaCount: 1 replicaCount: 1
nodepool: services
isAutoscalingEnabled: false
azure: azure:
servicebusSubscription: eg_sb_wkssubscription servicebusSubscription: eg_sb_wkssubscription
......
# #
# Copyright © Microsoft Corporation # Copyright © Microsoft Corporation
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -77,4 +77,4 @@ executor-n-threads=${executor_n_threads} ...@@ -77,4 +77,4 @@ executor-n-threads=${executor_n_threads}
max-concurrent-calls=${max_concurrent_calls} max-concurrent-calls=${max_concurrent_calls}
# Specifies the maximum duration in seconds within which the lock will be renewed automatically # Specifies the maximum duration in seconds within which the lock will be renewed automatically
max-lock-renew=${max_lock_renew_duration_seconds} max-lock-renew=${max_lock_renew_duration_seconds}
\ No newline at end of file
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