apache / apisix-helm-chart

Apache APISIX Helm Chart
https://apisix.apache.org/
Apache License 2.0
231 stars 208 forks source link

version 3.3.0 apisix gateway can't listen on 443 #575

Open gy8409 opened 1 year ago

gy8409 commented 1 year ago

Here is the logs in apisix deployment pod:

`/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd

Thu, Jul 6 2023 4:41:43 pm | 2023/07/06 16:41:43 [emerg] 1#1: bind() to 0.0.0.0:443 failed (13: Permission denied) Thu, Jul 6 2023 4:41:43 pm | nginx: [emerg] bind() to 0.0.0.0:443 failed (13: Permission denied) `

chart version: 2.0.0 apisix version: 3.3.0-debian

holubovskyi commented 1 year ago

Hi @gy8409, I use the following values to work around it

podSecurityContext:
  sysctls:
  - name: net.ipv4.ip_unprivileged_port_start
    value: "1"