Comments (6)
With version prod-1.19.1, it no longer panics. Thanks!
from opencost.
The Access Denied is expected if a key isn't supplied to read your spot data information, or the node you're running this on hasn't been provisioned with the correct permissions to look at s3 buckets.
The panic is not expected-- looking into this.
from opencost.
I just shipped #64 to hopefully stop the panics and come up with some sensible logs. If possible could you upgrade?
In the meantime, I know we have issues where default storageclass isn't set. Mind checking the storageclass on your PV's?
kubectl get storageclass
should return something like
gp2 (default) kubernetes.io/aws-ebs 12d
If no (default) gets returned, that would be helpful information.
from opencost.
Thanks for the quick response!
Using version prod-1.18.3, I still have the same panic.
kubectl get storageclass:
NAME PROVISIONER AGE
default kubernetes.io/aws-ebs 1y
gp2 (default) kubernetes.io/aws-ebs 1y
We do have some pv/pvc where we specify an empty storageclass to avoid auto-provisioning of EBS volumes. I don't know if that can be a problem.
from opencost.
Hi @guillaumeger , two things:
-
Looks like master with the defensive programming upgrades (#64) to not panic in this situation did not make it to 1.18.3 . We'll put it in tonight's release.
-
Yes, empty storageclass in the PVClaim was the issue. We will need to better support auto-provisioned EBS (#69) For now, though, #68 contains a workaround to allow you to use the cost-model minus support for manually provisioned PVs. I will update this bug when #68 makes it into production.
from opencost.
#68 is in production and I've filed #69 to track the root cause, so closing for now. Let me know if I can help in any other way.
from opencost.
Related Issues (20)
- Azure multiple subscription connection HOT 1
- Opencost fails to download Price Sheet from Azure HOT 4
- Scaleway Pricing Model JSON HOT 6
- Permission denied error in cloudcost integration HOT 2
- Documentation and Code should be in the same repository HOT 3
- High memory usage. HOT 10
- Multi Cluster observability HOT 1
- node_cpu_hourly_cost value not reconciling with actual Azure Price Rates HOT 3
- Create whitelist for all labels not used for controller or service selection to improve query performance and memory usage. HOT 4
- Modify k8s API caches and watchers to only store relevant projections of pod
- Customise midnight run schedule HOT 2
- Documentation : limitation on container_cpu_allocation ? HOT 1
- Cannot set readOnlyRootFilesystem for ui container HOT 2
- gpuCost computation error HOT 1
- Remove links to Kubecost docs HOT 3
- Deploy only 1 opencost if we have a centralized prometheus HOT 1
- Cloud costs integration is not working in gcp HOT 4
- OpenCost API and UI HOT 2
- OpenCost API and UI HOT 5
- release 2.2.0 was removed from ghcr.io HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencost.