Skip to content

Add ephemeral volume support#235

Open
rhyas wants to merge 4 commits intocriblio:masterfrom
rhyas:add-ephemeral-volume-support
Open

Add ephemeral volume support#235
rhyas wants to merge 4 commits intocriblio:masterfrom
rhyas:add-ephemeral-volume-support

Conversation

@rhyas
Copy link

@rhyas rhyas commented Nov 19, 2025

This PR adds the ability to use ephemeral volumes to the crible-workergroup chart. This makes it so you can have larger volumes for persistence data during upstream events without overloading your kubernetes nodes.

Chart [ logstream-workergroup ] helm-chart-sources/logstream-workergroup

PASS Deployment helm-chart-sources/logstream-workergroup/tests/daemonset_test.yaml
PASS Deployment helm-chart-sources/logstream-workergroup/tests/deployment_test.yaml
PASS Extras helm-chart-sources/logstream-workergroup/tests/extras_test.yaml
PASS Secret helm-chart-sources/logstream-workergroup/tests/hpa_test.yaml
PASS Ingress helm-chart-sources/logstream-workergroup/tests/ingress_test.yaml
PASS Labels helm-chart-sources/logstream-workergroup/tests/labels_test.yaml
PASS RBAC helm-chart-sources/logstream-workergroup/tests/rbac_test.yaml
PASS Secret helm-chart-sources/logstream-workergroup/tests/secret_test.yaml
PASS Deployment Security Context helm-chart-sources/logstream-workergroup/tests/securitycontext_test.yaml
PASS Service helm-chart-sources/logstream-workergroup/tests/service_test.yaml
PASS Service Account helm-chart-sources/logstream-workergroup/tests/serviceaccount_test.yaml
PASS Deployment helm-chart-sources/logstream-workergroup/tests/statefulset_test.yaml
PASS Volumes and Mounts helm-chart-sources/logstream-workergroup/tests/volumes_test.yaml

Charts: 1 passed, 1 total
Test Suites: 13 passed, 13 total
Tests: 91 passed, 91 total
Snapshot: 0 passed, 0 total
Time: 2.165598229s

@pdugas
Copy link
Collaborator

pdugas commented Nov 25, 2025

@rhyas Can this be achieved using the existing extraVolumeMounts feature?

@rhyas
Copy link
Author

rhyas commented Nov 26, 2025

@rhyas Can this be achieved using the existing extraVolumeMounts feature?

It cannot (that I have been able to figure out) because you cannot use ClaimTemplates to make this dynamic unless you deploy as a statefulset, which isn't recommended afaik, and probably wouldn't scale up/down nearly as cleanly. ClaimTemplates in deployment are the solution to this problem. In order to use these in deployments, one must use the ephemeral key type for the volume to make everything dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants