You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Ollama the default: k8sgpt auth default -p ollama
Add broken pod to kubernetes cluster: kubectl run nginx --image=nginz
Run k8sgpt analyze --explain
Note the following error: Error: failed while calling AI provider ollama: unmarshal: invalid character 'p' after top-level value
Expected behaviour
Following the documentation for setting up Ollama results in a properly functioning backend.
Actual behaviour
It appears that by using the referenced baseurl with the v1 prefix results in the aforentioned error.
Additional Information
When I completely remove the baseurl during Ollama backend setup the above example works perfectly. I believe that it is more robust to rely on the default baseurl in the backend implementations and drop the flag from the documentation. Curious what others think!
The text was updated successfully, but these errors were encountered:
Checklist
Affected Components
K8sGPT Version
v0.3.40
Kubernetes Version
v1.29.3
Host OS and its Version
MacOS Sequoia 15.0
Steps to reproduce
k8sgpt auth default -p ollama
kubectl run nginx --image=nginz
k8sgpt analyze --explain
Error: failed while calling AI provider ollama: unmarshal: invalid character 'p' after top-level value
Expected behaviour
Following the documentation for setting up Ollama results in a properly functioning backend.
Actual behaviour
It appears that by using the referenced baseurl with the v1 prefix results in the aforentioned error.
Additional Information
When I completely remove the baseurl during Ollama backend setup the above example works perfectly. I believe that it is more robust to rely on the default baseurl in the backend implementations and drop the flag from the documentation. Curious what others think!
The text was updated successfully, but these errors were encountered: