Can I extend serviceNodePortRange in running kops cluster without restart

142 Views Asked by At

I have the kops cluster running on AWS. I would like to extend the service node port range of that cluster without restart the cluster. Is it possible? If yes, how can it be done?

1

There are 1 best solutions below

0
On

You can change it, but it does require a reboot of the control plane nodes (but not the woker nodes). This is due to the "immutable" nature of the kOps configuration.

To change the range, add this to your cluster spec:

    spec:
      kubeAPIServer:
        serviceNodePortRange: <range>

See the cluster spec for more information.

Keep ensure you do not conflict with the ports kOps require