Skip to content
Snippets Groups Projects
Commit 22dba671 authored by Dzmitry_Paulouski (slb)'s avatar Dzmitry_Paulouski (slb) Committed by Ankit Sharma [Microsoft]
Browse files

Add node selector

parent 9e54e08c
No related branches found
No related tags found
1 merge request!184Add node selector
...@@ -3,6 +3,8 @@ global: ...@@ -3,6 +3,8 @@ global:
# Service(s) Replica Count # Service(s) Replica Count
replicaCount: 2 replicaCount: 2
nodepool: services
isAutoscalingEnabled: false
################################################################################ ################################################################################
# Specify the Gitlab branch being used for image creation # Specify the Gitlab branch being used for image creation
......
...@@ -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:
......
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
global: global:
replicaCount: 1 replicaCount: 1
nodepool: services
isAutoscalingEnabled: false
image: image:
repository: community.opengroup.org:5555/osdu/platform/system/indexer-service repository: community.opengroup.org:5555/osdu/platform/system/indexer-service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment