Skip to content

Commit 1001253

Browse files
committed
chore: update dataplane HTTP port 10080→80, remove sysctl
- Update containerPort and configs in kustomize overlays and base - Remove redundant ip_unprivileged_port_start sysctl - NET_BIND_SERVICE capability already handles low-port binding
1 parent 4c99c9e commit 1001253

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

deploy/kubernetes/base/dataplane.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ spec:
3737
runAsGroup: 65532
3838
fsGroup: 65532
3939
sysctls:
40-
- name: net.ipv4.ip_unprivileged_port_start
41-
value: "0"
4240
seccompProfile:
4341
type: RuntimeDefault
4442
topologySpreadConstraints:
@@ -69,7 +67,7 @@ spec:
6967
- "/etc/nantian-gw/config.yaml"
7068
ports:
7169
- name: http
72-
containerPort: 10080
70+
containerPort: 80
7371
- name: https
7472
containerPort: 443
7573
- name: admin

deploy/kubernetes/overlays/kind-conformance/dataplane-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ accessLog:
1616
path: "stdout"
1717
format: "%START_TIME% %CLIENT_IP% %HOST% %METHOD% %PATH% %ROUTE_NAME% %BACKEND% %STATUS% %LATENCY_MS%"
1818
runtime:
19-
httpListenAddr: "0.0.0.0:10080"
19+
httpListenAddr: "0.0.0.0:80"
2020
enableIpv6: true
2121
enableHttp3: false
2222
tlsMinVersion: "1.2"

deploy/kubernetes/overlays/production/dataplane-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ accessLog:
2323
sampleRate: 0.01
2424
routeAnnotationPrefix: "gateway.nantian.dev/access-log-"
2525
runtime:
26-
httpListenAddr: "0.0.0.0:10080"
26+
httpListenAddr: "0.0.0.0:80"
2727
enableIpv6: true
2828
enableHttp3: false
2929
tlsMinVersion: "1.2"

0 commit comments

Comments
 (0)