Allow setting sizeLimit for `plugins` emptyDir
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- go, kubernetes
- Domain
- infrastructure
Research direction
Start with InjectPluginVolumePodSpec in internal/cnpgi/operator/lifecycle.go and inspect how the Cluster resource and existing volume configuration are represented. Trace the generated plugins emptyDir volume in the pod spec, then determine where a configurable sizeLimit belongs and verify that the resulting volume carries the requested limit.
Written by the indexing model from the issue text.
Description
The InjectPluginVolumePodSpec function (internal/cnpgi/operator/lifecycle.go) creates plugins emptyDir volume, but does not set any sizeLimit for it, nor does it allow configuring one.
The function checks if the plugins volume already exists before creating it, so I checked if the Cluster resource allows setting extra volumes, to set a sizeLimit that way, but it doesn't.
It would be nice if there was some option to define sizeLimit for the plugins volume.
For reference, the cloudnative-pg operator has EphemeralVolumesSizeLimitConfiguration to configure this for the shm and scratch-data volumes.
- Dominant language
- Go
- Stars
- 192
- Forks
- 75
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 15
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudnative-pg/plugin-barman-cloud
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
cloudnative-pg/plugin-barman-cloud#1104 · 4 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
cloudnative-pg/plugin-barman-cloud#1102 ·
Maintainers usually reply within 1 day
-
Catalog maintenance deletes completed Backup objects after a short barman-cloud-backup-list resultOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
cloudnative-pg/plugin-barman-cloud#1115 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
cloudnative-pg/plugin-barman-cloud#1113 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
cloudnative-pg/plugin-barman-cloud#1111 ·
Maintainers usually reply within 1 day
All issues in cloudnative-pg/plugin-barman-cloud
Similar issues
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
netdata/netdata#24062 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
meshery/meshery#22119 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
automation documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day