Public bug reported:

When creating a cluster without specifying TLS, kube-apiserver tries to setup 
self signed certificate in default dir  /var/run/kubernetes/apiserver.crt and 
fails with permission denied error.
Many people facing this issue, with no clear resolution.

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.6", 
GitCommit:"b1d75deca493a24a2f87eb1efde1a569e52fc8d9", GitTreeState:"clean", 
BuildDate:"2018-12-16T04:39:52Z", GoVersion:"go1.10.3", Compiler:"gc", 
Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the 
right host or port?

Cluster then timesout as not being able to connect to API.

** Affects: magnum (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889550

Title:
  Error: error creating self-signed certificates: open
  /var/run/kubernetes/apiserver.crt: permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/1889550/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to