-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ingress-nginx > 0.16.x does not support aufs anymore #2781
Comments
/kind bug |
@ssiergl please change https://github.com/kubernetes/ingress-nginx/blob/master/deploy/mandatory.yaml#L261 to |
Containerd (not docker) and overlayfs2 - same problem. And change uid to 0 fix them too. |
@ssiergl please remove the securityContext section in the deployment and use the image |
@aledbf We got same issue with docker 18.03.1 and overlay2 storage driver. I was curious why this issue only happens on some of system . Is there any OS level security setting which restrict the permission? |
have same issue:
deployment.yaml:
change
|
@aledbf Sorry to bother. |
@shenlanse that issue was fixed in v0.18. You are using v0.17. Please update. |
@antoineco Thanks. Could you please tell me the reason or related git commit? |
Sure, the closing issue is referenced few comments before yours:
If I remember correctly the issue is related to |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
aufs, overlay2, cap, setcap
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
NGINX Ingress controller version:
Kubernetes version (use
kubectl version
):1.10, 1.11
Environment:
debian stretch, bare metal
docker 17.03 with aufs storage driver
What happened:
Pod is crashing
What you expected to happen:
Pod is able to bind port 80 and 443 to start up correctly
How to reproduce it (as minimally and precisely as possible):
Just deploy on a node with aufs storage driver
Anything else we need to know:
With #2619 the aufs storage driver compatibility is broken. Aufs does not support setting caps for nginx-ingress-controller. Hence the pod is not able to get permission to bind privileged ports.
It should be documented that aufs support on privileged ports is dropped and give an example to use ingress-nginx with remapped unprivileged ports (--http-port, --https-port)
See as well: kubernetes-sigs/kubespray#3000
The text was updated successfully, but these errors were encountered: