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
I've searched for similar issues and couldn't find anything matching
I've included steps to reproduce the behavior
Affected Components
K8sGPT (CLI)
K8sGPT Operator
K8sGPT Version
v0.3.0
Kubernetes Version
No response
Host OS and its Version
No response
Steps to reproduce
k8sgpt auth new
Expected behaviour
Provider must be added without problems.
Actual behaviour
$ k8sgpt auth new --backend azureopenai --baseurl https://xxxxxxxxxxx.openai.azure.com/ --engine test-k8sgpt-model --model gpt-35-turbo
Error: unknown flag: --engine
Usage:
k8sgpt auth new [flags]
Flags:
-b, --backend string Backend AI provider (default "openai")
-u, --baseurl http://localhost:8080/v1 URL AI provider, (e.g http://localhost:8080/v1)
-h, --help helpfor new
-m, --model string Backend AI model (default "gpt-3.5-turbo")
-p, --password string Backend AI password
Global Flags:
--config string config file (default is $HOME/.k8sgpt.yaml)
--kubeconfig string Path to a kubeconfig. Only required if out-of-cluster.
--kubecontext string Kubernetes context to use. Only required if out-of-cluster.
Additional Information
The following steps were taken to avoid the problem.
Add provider without engine flag
$ k8sgpt auth new --backend azureopenai --baseurl https://xxxxxxxxxx.openai.azure.com/ --model gpt-35-turbo
Enter azureopenai Key: azureopenai added to the AI backend provider list
Manually add the engine field to the k8sgpt.yaml file.
$ k8sgpt analyze --explain --backend azureopenai
100% |██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (2/2, 36 it/min)
0 default/test(test)
- Error: Back-off pulling image "wrongimage"
The container is unable to download the required image "wrongimage".
Solution:
- Check if the image name is correct
- Check if the image exists in the repository
- Check if there are any network issues that may be preventing the download
- Check if the required credentials are provided to access the repository
- Restart the deployment or pod to trigger a fresh download of the image.
The text was updated successfully, but these errors were encountered:
Checklist
Affected Components
K8sGPT Version
v0.3.0
Kubernetes Version
No response
Host OS and its Version
No response
Steps to reproduce
k8sgpt auth new
Expected behaviour
Provider must be added without problems.
Actual behaviour
Additional Information
The following steps were taken to avoid the problem.
The text was updated successfully, but these errors were encountered: