Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load non-conflated NameRes #988

Draft
wants to merge 17 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified helm/name-lookup/renci-dev-values-populated.yaml
Binary file not shown.
Binary file modified helm/name-lookup/renci-exp-values-populated.yaml
Binary file not shown.
16 changes: 15 additions & 1 deletion helm/name-lookup/templates/solr-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
image: "{{ .Values.solr.image.repository }}:{{ .Values.solr.image.tag }}"
args:
- '-DzkRun'
- '-DzkClientTimeout=5000'
- '-q'
- '-Dlog4j2.disable.jmx=true'
- '-Dlog4j2.formatMsgNoLookups=true'
Expand All @@ -69,6 +70,19 @@ spec:
volumeMounts:
- mountPath: /var/solr/data
name: {{ include "name-lookup.fullname" . }}-solr-data-vol
startupProbe:
httpGet:
port: {{ .Values.solr.port }}
path: /solr/admin/cores?action=STATUS
periodSeconds: 60
timeoutSeconds: 120
livenessProbe:
httpGet:
port: {{ .Values.solr.port }}
path: /solr/admin/cores?action=STATUS
periodSeconds: 120
timeoutSeconds: 120
terminationGracePeriodSeconds: 600
{{- with .Values.solr.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand All @@ -89,4 +103,4 @@ spec:
resources:
requests:
storage: {{ .Values.solr.storage }}

12 changes: 11 additions & 1 deletion helm/name-lookup/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
template:
metadata:
labels:
{{- include "name-lookup.selectorLabels" . | nindent 8 }}
{{- include "name-lookup.labels" . | nindent 8 }}
app-name: web-server
spec:
containers:
Expand Down Expand Up @@ -48,6 +48,16 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
startupProbe:
httpGet:
port: {{ .Values.webServer.port }}
path: /status
periodSeconds: 120
readinessProbe:
httpGet:
port: {{ .Values.webServer.port }}
path: /status
periodSeconds: 120
{{- with .Values.app.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
10 changes: 5 additions & 5 deletions helm/name-lookup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ solr:
#
requests:
memory: "16Gi"
cpu: 1000m
cpu: 2000m
limits:
memory: "32Gi"
cpu: 4000m
cpu: 6000m

# You can control the nodeSelector/affinity/tolerations settings for Solr with the following settings.
# Other pods (web, restore, backup) are controlled via app.nodeSelector/affinity/tolerations below.
Expand Down Expand Up @@ -99,11 +99,11 @@ app:
tolerations:
resources:
requests:
memory: "300M"
cpu: 250m
limits:
memory: "512M"
cpu: 500m
limits:
memory: "2G"
cpu: 1000m

nameOverride: ""
fullnameOverride: ""
Expand Down