The application container i am using to deploy on GKE pod, uses Systemctl for starting/stopping the services. But don't want to make the container privileged. In AWS EKS i am able to do this without privileged mode. Is there any way to use systemclt without privileged mode.
So you are running systemd in your actual pod?
Yes we are using systemd on the actual pod
Hi demishra,
following kubernetes.io official documentation, you can try to use Security Context and avoid using Privilege Escalation --> https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
If you need some help, we can keep in touch 🙂