0

I am unable to view backup logs. I get "Access denied" when I run this command "velero backup logs ". I am also unable to view the backup resource list. Let me know what needs to be done here. I am using Velero-plugin-for-aws.

I really appreciate any help that can be provided.

TechGirl
  • 123
  • 1
  • 7

1 Answers1

0

Run kubectl auth can-i logs po. If the response is "no" then you don't have permission to read container logs. You can do a similar thing with Velero resources (CRDs), e.g. kubectl auth can-i get <CRD>. Ask your cluster administrator to grant you the appropriate access.

Jeremy Cowan
  • 563
  • 4
  • 13
  • Hi, Jeremy Cowan thank you for replying. I am able to access pod logs. I am not able to access velero backup logs. – TechGirl May 15 '23 at 14:53
  • Do you see errors in the Velero pod logs? Velero stores its backup logs in S3 so if you can't retrieve them from the Velero CLI, you should be able to get them directly from S3. – Jeremy Cowan May 15 '23 at 21:33
  • I can view the log files stored in S3 but unable to view resources backup by velero using velero CLI. – TechGirl May 17 '23 at 09:36