klvchen commented on issue #10503:
URL: https://github.com/apache/apisix/issues/10503#issuecomment-1814013350

   > hi @klvchen, It may be that normal users don't have privileges, and ports 
within 1024 may require a root user
   
   在我的环境中,我测试过
   
   ```
   cat deployment.yaml
   apiVersion: apps/v1
   kind: Deployment
   metadata:
     name: nginx
   spec:
     replicas: 1
     selector:
       matchLabels:
         app: nginx
     template:
       metadata:
         labels:
           app: nginx
       spec:
         hostNetwork: true
         dnsPolicy: ClusterFirstWithHostNet
         nodeName: k8s-node-2
         containers:
         - name: nginx
           image: nginx:1.7.9
   
   kubectl apply -f deployment.yaml
   
   [root@k8s-master-1 nginx]# kubectl get pod -o wide
   NAME                                     READY   STATUS    RESTARTS        
AGE     IP              NODE         NOMINATED NODE   READINESS 
   nginx-776469cf65-r2dg6                   1/1     Running   0               
2m10s   172.16.16.110   k8s-node-2   <none>           <none>
   ```
   这个 nginx pod 可以在 k8s-node-2 正常使用80端口,不知道为什么 apisix 不行~ 谢谢


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to