Home > Back-end >  security context in kubernetes deployment
security context in kubernetes deployment

Time:07-27

I created a dockerfile which is use user 10001 if it is possible to kubernetes deployment with following security context

user 10001
securityContext:
    runAsUser: 1000
    runAsGroup: 3000
    fsGroup: 2000

CodePudding user response:

Yes, you can remote into the container and check with id command: uid=1000 gid=3000 groups=2000

  • Related