'Colima with Kubernetes -> How to change node port range
I am trying to change the port range of services in Kubernetes but I am not getting any success. I've tried a whole bunch of alternatives but most of them trust I have a Kubernetes config file in my filesystem, which is not true since I am using COLIMA.
I am getting the following error:
Error from server (Invalid): error when creating "deployment.yaml": Service "database" is invalid: spec.ports[0].nodePort: Invalid value: 50000: provided port is not in the valid range. The range of valid ports is 30000-32767
The solution I use in Minikube is the following "--extra-config=apiserver.service-node-port-range=80-60000" But I don't see this option in Colima.
Does anybody know how I can change the port range in Kubernetes using Colima?
Thanks in advance
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|