onepanelio / onepanel

The open source, end-to-end computer vision platform. Label, build, train, tune, deploy and automate in a unified platform that runs on any cloud and on-premises.
https://docs.onepanel.ai/
Apache License 2.0
716 stars 69 forks source link

CLI: opctl app status should tell user to use kubeconfig file if deploying via microk8s. #915

Open Vafilor opened 3 years ago

Vafilor commented 3 years ago

With a microk8s deployment, we need to use the config file obtained from microk8s config > kubeconfig

So the command is KUBECONFIG=./kubeconfig opctl app status

If you don't do this, you get an error like this

We need to update the command to if we are deploying to microk8s, and if that error happens offer the suggestion to do KUBECONFIG=./kubeconfig