Is your feature request related to a problem? Please describe.
Currently, it is not possible to specify the port number of the Redis NodePort.
With the default settings, a port number between 30000 and 32767 is randomly assigned.
Describe the solution you'd like
I want to specify the port number of the NodePort as follows.
If the NodePort is allocated directly on the node, the service creation will fail. In my opinion, we should allow Kubernetes to handle the allocation of NodePort.
Is your feature request related to a problem? Please describe.
Currently, it is not possible to specify the port number of the Redis NodePort. With the default settings, a port number between 30000 and 32767 is randomly assigned.
Describe the solution you'd like
I want to specify the port number of the NodePort as follows.
Describe alternatives you've considered
https://github.com/OT-CONTAINER-KIT/redis-operator/blob/master/k8sutils/services.go#L49-L54 I would like to make the following changes to the above section.
What version of redis-operator are you using?
redis-operator version: v0.15.1
Additional context
The following comments are similar in intent to this issue. https://github.com/OT-CONTAINER-KIT/redis-operator/issues/79#issuecomment-848669389