cryosparc
Helm chartv0.13.1App 5.0.6-r2
OSC CryoSPARC bootstrap Helm Chart
About this chart
cryosparc
OSC CryoSPARC bootstrap Helm Chart
Maintainers
| Name | Url | |
|---|---|---|
| zyou |
Requirements
| Repository | Name | Version |
|---|---|---|
| https://osc.github.io/osc-helm-charts/ | osc-common | 0.17.1 |
Usage
Define necessary values:
global:
oscServiceAccount: cryosciapps
imagePullSecret:
password: IMAGE-PULL-PASSWORD
nodeSelectorRole: test
debugGroups:
- foobar
maintenanceGroups:
- foo
- bar
ingress:
host: cryosciapps.k8.osc.edu
hostAlias: cryosciapps.osc.edu
basePort: 31010
project: PAS0710
license: xxx-xxx-xxx
admin:
email: [email protected]
password: qwer1234
Values
| Key | Description | Default |
|---|---|---|
| global.oscServiceAccount | The service account used by OSC deployments. | The chart's release name |
| global.environment | The deployment's OSC environment | "production" |
| global.nodeSelectorRole | The OSC node role to use with nodeSelector | "webservices" |
| global.imagePullSecret.create | Create the image pull secret | true |
| global.imagePullSecret.name | imagePullSecret name | "osc-registry" |
| global.imagePullSecret.registry | imagePullSecret registry | "docker-registry.osc.edu" |
| global.imagePullSecret.username | imagePullSecret username | "robot$webservices-read" |
| global.imagePullSecret.password | imagePullSecret password. This value will be set by OSC's Puppet. This value must be set to IMAGE-PULL-PASSWORD for CI tests. | nil |
| global.debugGroups | Groups that debug pods | [] |
| global.maintenanceGroups | Groups that can perform maintenance operations | [] |
| global.auth.commonAllowGroups | Base groups allowed to login | ["sappstf","sysstf","{{ .Values.global.project }}"] |
| global.auth.allowGroups | Additional groups allowed to login | [] |
| global.ingress.host | Ingress host. | required |
| global.ingress.hostAlias | Ingress host alias. | required |
| global.alert.receiver | "sciapps" | |
| global.basePort | The base service port. Must be unique for each CryoSPARC instance | required |
| global.project | The service project | required |
| license | The CryoSPARC license ID | "" |
| homeDir | "{{ .Values.global.project }}" | |
| slurmConf | Slurm configuration of the cluster used for service | "/etc/slurm/slurm-ascend.conf" |
| worker_bin_path.ascend | The CryoSPARC worker binary path for Ascend cluster | "/apps/cryosparc-worker/{{ regexReplaceAll \"-r.*$\" (include \"cryosparc.imageTag\" .) \"\" }}/bin/cryosparcw" |
| worker_bin_path.cardinal | The CryoSPARC worker binary path for Cardinal cluster | "/apps/cryosparc-worker/{{ regexReplaceAll \"-r.*$\" (include \"cryosparc.imageTag\" .) \"\" }}/bin/cryosparcw" |
| worker_bin_path.pitzer | The CryoSPARC worker binary path for Pitzer cluster | "/apps/cryosparc-worker/{{ regexReplaceAll \"-r.*$\" (include \"cryosparc.imageTag\" .) \"\" }}/bin/cryosparcw" |
| image.repository | The CryoSPARC image URL | "docker-registry.osc.edu/webservices/cryosparc" |
| image.tag | The CryoSPARC image tag | "" |
| image.pullPolicy | "IfNotPresent" | |
| mounts.home | "/users/{{ tpl .Values.homeDir . }}/{{ tpl (include \"osc.common.serviceAccountValue\" .) . }}" | |
| mounts.project | "/fs/ess/{{ required \"Project must be provided\" .Values.global.project }}" | |
| mounts.scratch | Set to '/fs/scratch/{{ .Values.global.project }}' to enable | "" |
| mounts.rwDir | {} | |
| admin.email | "" | |
| admin.password | "" | |
| terminationGracePeriodSeconds | Pod termination grace period seconds | 30 |
| nodeSelector | {} | |
| extraEnv | Additional env data | [] |
| osc-common.oauth2-proxy.resources.limits.cpu | CPU limit for OAuth2 Proxy pods | 1 |
| osc-common.oauth2-proxy.resources.limits.memory | Memory limit for OAuth2 Proxy pods | "512Mi" |
| osc-common.oauth2-proxy.resources.requests.cpu | CPU request for OAuth2 Proxy pods | "500m" |
| osc-common.oauth2-proxy.resources.requests.memory | Memory request for OAuth2 Proxy pods | "256Mi" |
Deploy cryosparc with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cryosparc on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcryosparc is pinned at v0.13.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply