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

Scaleway Pricing Model JSON #2615

Open
jrmanes opened this issue Mar 7, 2024 · 6 comments
Open

Scaleway Pricing Model JSON #2615

jrmanes opened this issue Mar 7, 2024 · 6 comments
Labels
E2 Estimated level of Effort (1 is easiest, 4 is hardest) kubecost Relevant to Kubecost's downstream project needs-follow-up needs-triage opencost OpenCost issues vs. external/downstream P2 Estimated Priority (P0 is highest, P4 is lowest)

Comments

@jrmanes
Copy link
Contributor

jrmanes commented Mar 7, 2024

hello!

Does anybody have the scaleway pricing model?, if not, what's the best way to setting it up?

I'm getting these errors in the logs:

2024-03-07T10:10:53.668898235Z INF Could not find Custom Pricing file at path '/models/scaleway.json'
2024-03-07T10:10:53.670029966Z INF Found ProviderID starting with "scaleway", using Scaleway Provider
2024-03-07T10:10:53.680247061Z INF No pricing-configs configmap found at install time, using existing configs: configmaps "pricing-configs" not found
2024-03-07T10:10:53.688485479Z INF No metrics-config configmap found at install time, using existing configs: configmaps "metrics-config" not found
2024-03-07T10:10:53.689538943Z ERR failed to extract config from provider
2024-03-07T10:10:53.689932285Z INF Could not find Custom Pricing file at path '/models/scaleway.json'
2024-03-07T10:10:53.690305417Z INF Could not write Custom Pricing file to path '/models/scaleway.json'
2024-03-07T10:10:53.690486048Z ERR error accessing cloud provider configuration: writing /models/scaleway.json: opening /models/scaleway.json: open /models/scaleway.json: permission denied
2024-03-07T10:10:54.378908427Z INF Init: AggregateCostModel cache warming enabled
2024-03-07T10:10:54.379049302Z INF EXPORT_CSV_FILE is not set, CSV export is disabled
2024-03-07T10:10:54.379124273Z INF Cloud Costs enabled: false

Best!

@AjayTripathy
Copy link
Contributor

AjayTripathy commented Mar 8, 2024

Hi @jrmanes scaleway is supported;
2024-03-07T10:10:53.670029966Z INF Found ProviderID starting with "scaleway", using Scaleway Provider

This line implies we should be using the scaleway pricing models. Is that not what you're seeing?

@jrmanes
Copy link
Contributor Author

jrmanes commented Mar 9, 2024

Hi @jrmanes scaleway is supported; 2024-03-07T10:10:53.670029966Z INF Found ProviderID starting with "scaleway", using Scaleway Provider

This line implies we should be using the scaleway pricing models. Is that not what you're seeing?

hello @AjayTripathy !
Yes, I know it's supported now, but I cannot find where the '/models/scaleway.json' is, or where can I find it...
should I generate this file by myself or it's somewhere?

@jrmanes
Copy link
Contributor Author

jrmanes commented Mar 11, 2024

hello

I meant, the pricing model json like these ones: https://github.com/opencost/opencost/tree/develop/configs

@mattray
Copy link
Collaborator

mattray commented Mar 14, 2024

I didn't realize we didn't have one. The Scaleway support isn't documented, if you get it working we'd love to add it. Feel free to drop me any notes on installation and I'll help get it into our docs.

https://www.opencost.io/docs/#integrating-cloud-costs-and-configuration

@mattray mattray added opencost OpenCost issues vs. external/downstream P2 Estimated Priority (P0 is highest, P4 is lowest) kubecost Relevant to Kubecost's downstream project E2 Estimated level of Effort (1 is easiest, 4 is hardest) labels Mar 14, 2024
@jrmanes
Copy link
Contributor Author

jrmanes commented Mar 14, 2024

I didn't realize we didn't have one. The Scaleway support isn't documented, if you get it working we'd love to add it. Feel free to drop me any notes on installation and I'll help get it into our docs.

https://www.opencost.io/docs/#integrating-cloud-costs-and-configuration

hello @mattray
I opened a ticket to them asking for their pricing model, unfortunately, they said it's not public available...
so, I wonder if we should just create it by hand and add it... do you know how the other providers were created?, if it was public info or did somebody have to create them by hand

@AjayTripathy
Copy link
Contributor

Those models were just created by hand. You can just look at a single class of Scaleway provider and see the pricing differences at various amounts of CPU/RAM to create them

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) kubecost Relevant to Kubecost's downstream project needs-follow-up needs-triage opencost OpenCost issues vs. external/downstream P2 Estimated Priority (P0 is highest, P4 is lowest)
Projects
None yet
Development

No branches or pull requests

3 participants