Skip to content
Merged
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
3 changes: 2 additions & 1 deletion helm/blueapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ A Helm chart deploying a worker pod that runs Bluesky plans
| imagePullSecrets | list | `[]` | |
| ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hosts":[{"host":"example.diamond.ac.uk","paths":[{"path":"/","pathType":"Prefix"}]}],"tls":[]}` | Configuring and enabling an ingress allows blueapi to be served at a nicer address, e.g. ixx-blueapi.diamond.ac.uk |
| ingress.hosts[0] | object | `{"host":"example.diamond.ac.uk","paths":[{"path":"/","pathType":"Prefix"}]}` | Request a host from https://jira.diamond.ac.uk/servicedesk/customer/portal/2/create/91 of the form ixx-blueapi.diamond.ac.uk. Note: pathType: Prefix is required in Diamond's clusters |
| initContainer | object | `{"enabled":false,"persistentVolume":{"enabled":false,"existingClaimName":""}}` | Configure the initContainer that checks out the scratch configuration repositories |
| initContainer | object | `{"enabled":false,"persistentVolume":{"enabled":false,"existingClaimName":"","size":"1Gi"}}` | Configure the initContainer that checks out the scratch configuration repositories |
| initContainer.persistentVolume.enabled | bool | `false` | Whether to use a persistent volume in the cluster or check out onto the mounted host filesystem If persistentVolume.enabled: False, mounts scratch.root as scratch.root in the container |
| initContainer.persistentVolume.existingClaimName | string | `""` | May be set to an existing persistent volume claim to re-use the volume, else a new one is created for each blueapi release |
| initContainer.persistentVolume.size | string | `"1Gi"` | Size of persistent volume |
| initResources | object | `{}` | Override resources for init container. By default copies resources of main container. |
| livenessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/healthz","port":"http"},"periodSeconds":10}` | Liveness probe, if configured kubernetes will kill the pod and start a new one if failed consecutively. This is automatically disabled when in debug mode. |
| nameOverride | string | `""` | |
Expand Down
2 changes: 1 addition & 1 deletion helm/blueapi/templates/volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storage: {{ .Values.initContainer.persistentVolume.size }}
{{- end }}
4 changes: 4 additions & 0 deletions helm/blueapi/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
"existingClaimName": {
"description": "May be set to an existing persistent volume claim to re-use the volume, else a new one is created for each blueapi release",
"type": "string"
},
"size": {
"description": "Size of persistent volume",
"type": "string"
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions helm/blueapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ initContainer:
enabled: false
# -- May be set to an existing persistent volume claim to re-use the volume, else a new one is created for each blueapi release
existingClaimName: ""
# -- Size of persistent volume
size: "1Gi"

debug:
# -- If enabled, runs debugpy, allowing port-forwarding to expose port 5678 or attached vscode instance
Expand Down
Loading