microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

Strange Error When Trying out Kubeflow via juju in Microk8s

Open joesan opened this issue 2 years ago • 2 comments

I'm facing a strange issue when trying out Microk8s.

As I was running the following command:

oesan@joesan-InfinityBook-S-14-v5:~$ juju add-model kubeflow
ERROR opening API connection: starting proxy for api connection: connecting k8s proxy: Get "https://192.168.0.35:16443/api/v1/namespaces/controller-microk8s-localhost/services/controller-service": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "10.152.183.1")

As you can see that it fails and I’m clueless on how to get past this. The documentation does not mention anything about this. I’m sure that I’m missing something very simple. Could anyone please help me point out what this error could be and how to get past this?

joesan avatar Apr 27 '22 11:04 joesan

I kind of managed to fix it, but is this a bug that needs to be fixed appropriately?

https://stackoverflow.com/questions/72014796/microk8s-error-when-trying-to-install-kubeflow

joesan avatar Apr 29 '22 04:04 joesan

In my case it was a bootstrapping problem not reported, the process staled. Moving the directory name (a backup just in case) and restarting the bootstrap process solved the issue.

luisgrisolia avatar Aug 14 '22 10:08 luisgrisolia

In my case it was a bootstrapping problem not reported, the process staled. Moving the directory name (a backup just in case) and restarting the bootstrap process solved the issue.

how to restart bootstrap process?

jaffe-fly avatar Nov 08 '22 07:11 jaffe-fly

how to restart bootstrap process?

@jaffe-fly For the most part, simply running juju bootstrap microk8s my-controller should be sufficient.

I am not sure if this would qualify as an issue with MicroK8s or perhaps Juju.

neoaggelos avatar Nov 10 '22 13:11 neoaggelos

Is this still an issue? Is this OK to close this one if not?

neoaggelos avatar Jan 19 '23 18:01 neoaggelos

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 15 '23 18:12 stale[bot]