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

fix: use the default storage class #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ Note that this configuration is trivial and does not follow production recommand
| elasticsearch.secret.password | string | `"elastic"` | |
| elasticsearch.volumeClaimTemplate.accessModes[0] | string | `"ReadWriteOnce"` | |
| elasticsearch.volumeClaimTemplate.resources.requests.storage | string | `"100M"` | |
| elasticsearch.volumeClaimTemplate.storageClassName | string | `"standard"` | |
| fullnameOverride | string | `""` | |
| global.activeDeadlineSeconds | int | `900` | timeout for job deadlines |
| global.batchJobTTL | int | `600` | How long should batch jobs be retained after completing? |
Expand Down
1 change: 1 addition & 0 deletions diracx/templates/diracx/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
labels:
{{- include "diracx.labels" . | nindent 4 }}
spec:
storageClassName: {{ if eq .Values.global.environment "prod" }}IfNotPresent{{ else }}standard{{ end }}
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
Expand Down
3 changes: 1 addition & 2 deletions diracx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ global:
# outdated reference to the "latest" tag.
imagePullPolicy: Always
# What storage class should we use for DiracX volumes
storageClassName: standard
storageClassName: standard # Default value can be set here, or customized via Helm CLI
# -- timeout for job deadlines
activeDeadlineSeconds: 900
images:
Expand Down Expand Up @@ -516,7 +516,6 @@ elasticsearch:
# Request smaller persistent volumes.
volumeClaimTemplate:
accessModes: ["ReadWriteOnce"]
storageClassName: "standard"
resources:
requests:
storage: 100M
Expand Down
2 changes: 1 addition & 1 deletion k3s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ sed -i 's/<your_hostname>/thenameyouareacutally.using.com/g' ./diracx-charts/k3s

# Deploy via provided helm charts

helm install --timeout 3600s diracx ./diracx-charts/diracx/ -f ./diracx-charts/k3s/examples/my.values.yaml --debug
helm install --timeout 3600s diracx ./diracx-charts/diracx/ -f ./diracx-charts/k3s/examples/my.values.yaml --set global.environment=prod --debug
```

## Configure DiracX
Expand Down