Closed rolandkool closed 6 years ago
I had the 403 error as well, but in my case it the credentials I used for kubernetes didn't work sufficiently.
It would be nice though if the exact content of the 403-error message would be displayed something like:
Error from server (Forbidden): User "system:serviceaccount:r2d2:kubernetes-manager" cannot get secrets in the namespace "r2d2".: "Unknown user \"system:serviceaccount:r2d2:kubernetes-manager\"" (get secrets kubernetes-manager)
Raised issue with kubeclient: https://github.com/abonas/kubeclient/issues/276
Hi,
Trying out the kubernetes puppet resources in a local 'puppet apply' setup. Followed the steps in the documentation to setup the kubernetes.conf. When I try to do a
puppet resource kubernetes_service
I'm receiving:Tried with newer 2.5.1 kubeclient as well, same result
kubectl get services
works fine. puppet apply and kubectl commands are both run as same non-root user.This is on kubernetes 1.7.6 on GCP (container engine). Any idea how to troubleshoot further?
Thanks for any help
Regards,
Roland