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

Allow cost-model container to run with a read-only root filesystem #2599

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

kaitimmer
Copy link
Contributor

@kaitimmer kaitimmer commented Mar 1, 2024

What does this PR change?

Same as in #2521
I want to be able to use a read-only root file system when running opencost.

Does this PR relate to any other PRs?

Yes, to #2521

How will this PR impact users?

It won't, but now you can mount an emptyDir to /models and set readOnlyRootFilesystem: true which is a requirement in our Kubernetes clusters.

IMHO this should fix: #1760

Copy link

vercel bot commented Mar 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencost ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2024 1:03pm

Copy link

sonarcloud bot commented Mar 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@mattray mattray added opencost OpenCost issues vs. external/downstream P1 Estimated Priority (P0 is highest, P4 is lowest) E2 Estimated level of Effort (1 is easiest, 4 is hardest) labels Mar 14, 2024
@mattray
Copy link
Collaborator

mattray commented Mar 14, 2024

Thanks for the PR, I'm going to need to test it before merging it. I thought we'd already dealt with these, but maybe it was just the opencost-ui container.

@kaitimmer
Copy link
Contributor Author

Thanks for the PR, I'm going to need to test it before merging it. I thought we'd already dealt with these, but maybe it was just the opencost-ui container.

Yes, the last one was just for the UI. I missed this one at that time and only realized afterwards that the same problem exists here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2 Estimated level of Effort (1 is easiest, 4 is hardest) needs-follow-up opencost OpenCost issues vs. external/downstream P1 Estimated Priority (P0 is highest, P4 is lowest)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pricing Configmap watcher unable to open file
2 participants