Cannot change default value for --service-node-port-range
What happened:
I created AKS on Azure and tried to deploy application, but it failed with error:
The Service "th-syslog-svc01" is invalid: spec.ports[0].nodePort: Invalid value: 39001: provided port is not in the valid range. The range of valid ports is 30000-32767
In AKS doc I can see, that it is possible to set ... [--service-cidr] [--service-principal] ... but there is no option to specify --service-node-port-range to overwrite kubernetes apiserver default range 30000-32767
What you expected to happen: It will be good to have options to overwrite kube-apiserver default parameters
How to reproduce it: Create AKS on Azure and try deploy any service with nodePort out of the default node port range e.g.: create test namespaces in kubernetes cluster
kubectl create namespace test
and deploy try create service resource
apiVersion: v1
kind: Service
metadata:
namespace: test
name: th-syslog-svc01
labels:
product: th
app: th-cth-syslog
spec:
type: NodePort
ports:
- port: 9001
nodePort: 39001
name: mngport1
Anything else we need to know?:
Environment:
- Kubernetes version: v1.13.9
I am also facing this issue. I also cannot find any CLI commands that can change/update the setting of --service-node-port-range. And when create a AKS cluster using CLI command "az aks create ", there is also no option to change this setting . I can see the help in https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-create. Could someone from Microsoft helps to answer this question ?
Action required from @Azure/aks-pm
Action required from @Azure/aks-pm
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Action required from @Azure/aks-pm
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Is this on the roadmap?
Is this on the roadmap? Anyone know if it has been addressed?
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs within 7 days of this comment. @justindavies
This issue will now be closed because it hasn't had any activity for 7 days after stale. @tahovskym feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.