-
"The default NGINX listen port is now 8080 instead of 80 (this is no longer necessary as of Docker 20.03 but it's still required in other container runtimes)" Trying to run a deployment/pod with nginx-unprivileged as base image in k8s(v1.30). I have set securityContext to allow low port binding.
Try to bind https service on port 443, got below error: I didn't include NET_BIND_SERVICE cap first. After seeing the error, I manually edited deployment by adding NET_BIND_SERVICE, but it didn't really help. I'm not sure whether that is really needed. I understand I could run it as root user, but the whole purpose of using nginx-unprivileged is not to run as root.
Thanks ahead!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
update: this issue can be resolved by workaround from this post: kubernetes/kubernetes#56374 (comment) |
Beta Was this translation helpful? Give feedback.
update: this issue can be resolved by workaround from this post: kubernetes/kubernetes#56374 (comment)