I am new to Kubernetes. I am getting below error while creating deployments in Kubernetes.

You are authenticated as: anonymous
Groups that you are in:

Permission you need to have (but didn't): hudson.model.Hudson.Read
 ... which is implied by: hudson.security.Permission.GenericRead
 ... which is implied by: hudson.model.Hudson.Administer

Can anyone give me solution for this?

I am using below command to setup deployment

 kubectl run my-app --image=gcr.io/<dockeraccount>/<dockerrepository>:dockerimagetag
  • This error happens when you try run a Jenkins Job? Jan 27 '20 at 13:57
  • 1
    what is the docker image you are running? and for which command you are getting the above output? are you getting the error message from the logs of your docker container? or is it coming from kubernetes events? Jan 28 '20 at 6:30

I found this same error in StackOverflow, problably that you problem it's about your authentication anonymous

If help you: JENKINS Authentication Fails

  • 1
    Thank you for your reply, but I am not using Jenkins Job. I have enabled Kubernetes from docker for windows. I am directly running command to create a pod, so there is no interaction with Jenkins. Jan 28 '20 at 4:45
  • You try pull some image using Docker directly? Jan 28 '20 at 18:36
  • 1
    Yes, I am able to pull the image directly from docker Jan 29 '20 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.