1

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
2
  • This error happens when you try run a Jenkins Job?
    – Vader
    Jan 27, 2020 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, 2020 at 6:30

1 Answer 1

1

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

If help you: JENKINS Authentication Fails

3
  • 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, 2020 at 4:45
  • You try pull some image using Docker directly?
    – Vader
    Jan 28, 2020 at 18:36
  • 1
    Yes, I am able to pull the image directly from docker Jan 29, 2020 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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