apisix-helm-chart
apisix-helm-chart copied to clipboard
Gateway nodePort setting not working
When trying to install apisix with a given gateway.nodePort setting, it does not seem to have any influence on the port. See example below for more information:
➜ helm install apisix apisix/apisix --namespace ingress-apisix --create-namespace --devel --set gateway.type=NodePort --set gateway.http.nodePort=30800
NAME: apisix
LAST DEPLOYED: Sat Mar 9 19:30:04 2024
NAMESPACE: ingress-apisix
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace ingress-apisix -o jsonpath="{.spec.ports[0].nodePort}" services apisix-gateway)
export NODE_IP=$(kubectl get nodes --namespace ingress-apisix -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
➜ kubectl get --namespace ingress-apisix -o jsonpath="{.spec.ports[0].nodePort}" services apisix-gateway
32041%
You see that I've tried to set the gateway.http.nodePort to 30800 but the value at the end is 32041