-
Notifications
You must be signed in to change notification settings - Fork 59
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
kubectl cost predict -f test.yaml Not working #176
Comments
@HibAwad thank you so much for reaching out on your issues, and I appreciate in advance your patience with us on this. I have asked one of our engineers to take a look at this one and we'll reach back out as soon as we can to either gather some more information or discuss resolution steps. |
Hi @HibAwad would you mind running that command again with the |
Hello @nickcurie I tried it: |
kubectl cost predict -f testspecs.yaml --log-level debug |
I tried also to downgrade the version of kubectl cost to V0.4 and I got this error: kubectl cost predict -f /tmp/testspecs.yaml kubectl cost predict -f testspecs.yaml --log-level debug |
curl http://localhost:9090/model/predection |
@HibAwad I think we have a couple of issues going on. If you can help me get your version information I'll try and reproduce what you are seeing so we can verify this is in fact the culprit before you start trying to upgrade anything. In an effort at thoroughness in my search to help can you also upload the yaml you are using? |
I am trying this : My kubecost version is 2.3.5 I tried already V0/6/3 (latest) and I got the error AllocationSet is empty I'll retry to use the latest version of kubectl-cost V0.6.3 |
Hi @HibAwad you'll need to make sure cadvisor is being scraped to get meaningful predictions. Looks like it isn't here. Can you try using the default prometheus installed with Kubecost if you aren't already? |
Hello @AjayTripathy I verified via : |
I had the same problem. |
Hello, I am closing this issue because kubecost is now working for me. |
I have the access to the Kubecost page on the localhost 9091.
When running the command 'kubectl cost predict -f test.yaml' it is giving an error:
Error: prediction query failed: failed to port forward query: received non-200 status code 404 and data: 404 page not found
The text was updated successfully, but these errors were encountered: