Welcome to the Linux Foundation Forum!

Exercise 6.6: Domain Review - LoadBalancer and Security Context

2»

Comments

  • headkaze
    headkaze Posts: 14

    I found an interesting solution on stack overflow

  • From memory there was similar lab activities on Lab6.4.6 isn't it? remove runAsUser so it runs as root that has privilege to create folder/file?

  • In my case the solution was to add volumemounts type of emptyDir to let cache and pid created.

    I guess it is straightforward info will help you.

    And yes, the correct answers will do the trick since just correcting to nginx id will not solve the problem.

  • @docklander said:
    From memory there was similar lab activities on Lab6.4.6 isn't it? remove runAsUser so it runs as root that has privilege to create folder/file?

    It seems like the main point is to have security context so removing runAsUser will break everything.

Categories

Upcoming Training