I am trying to install kubernetes on ubutnu (installation without iron). I install one master and one node, and it looks great. I installed the ui addon without any problems, but when I tried to install the dns addon, reboot it myself.
in kube-apiserver logs i get:
E1218 12:56:15.298118 5 handlers.go:37] Unable to authenticate the request due to an error: crypto/rsa: verification error I1218 12:56:15.298220 5 handlers.go:131] GET /api/v1/services: (534.467ยตs) 401 [[kube2sky/v0.20.2 (linux/amd64) kubernetes/unknown] 172.27.35.39:33013] E1218 12:56:15.298396 5 handlers.go:37] Unable to authenticate the request due to an error: crypto/rsa: verification error I1218 12:56:15.298469 5 handlers.go:131] GET /api/v1/endpoints: (493.5ยตs) 401 [[kube2sky/v0.20.2 (linux/amd64) kubernetes/unknown] 172.27.35.39:33014] I1218 12:56:16.001321 5 handlers.go:131] GET /healthz: (83.326ยตs) 0 [[Go 1.1 package http] 127.0.0.1:42096] E1218 12:56:16.303274 5 handlers.go:37] Unable to authenticate the request due to an error: crypto/rsa: verification error E1218 12:56:16.303274 5 handlers.go:37] Unable to authenticate the request due to an error: crypto/rsa: verification error
And in the kube2sky container log, the following errors occur:
E1218 12:57:51.713651 1 reflector.go:136] Failed to list *api.Service: the server has asked for the client to provide credentials (get services) E1218 12:57:51.713850 1 reflector.go:136] Failed to list *api.Endpoints: the server has asked for the client to provide credentials (get endpoints)
It looks like I have a problem with the service account and token, but I looked at the kube2sky instance and I see that I have a token in the /tmp/secrets/kubernetes.io/serviceaccount directory, and ca.crt is correct cluster ca
I use: ubuntu 14.04 kubernet 1.1.2 add I am trying to create a dns addon from the addon kubernetes 1.1.2 directory
source share