kURL icon indicating copy to clipboard operation
kURL copied to clipboard

Ability to customize NodePort Range

Open dexhorthy opened this issue 5 years ago • 3 comments

Overview

Right now we override the default kubeadm NodePort range to 80-60000, but sometimes it would be nice to be able to customize this range in my kURL spec. E.G. something like

spec:
  kubernetes:
    nodePortRange: 80-62000

Use case

I've got an ActiveMQ that runs on a default port of 61616, and I'd like to keep it on the default port with a NodePort.

dexhorthy avatar Aug 05 '20 15:08 dexhorthy

Yes, thank you @dexhorthy for adding that for us (Tripwire).

MitchellJThomas avatar Aug 05 '20 15:08 MitchellJThomas

@dexhorthy @MitchellJThomas one thing to consider here: using non-standard node port ranges will prevent a kURL installer from being a "CNCF certified installer". We've been working on submitting kURL to the CNCF as a "certified kubernetes installer" (https://www.cncf.io/certification/software-conformance/) and node port range is the last issue to resolve. We've recently introduced an optional flag to use the standard node port range for an installer in #614 as we work towards compliance.

It's not possible to have a certified Kubernetes distribution that uses a non-standard nodeport range.

This issue is a reasonable request, but I want to make sure that the conformance test issue is considered here. Using "standard" node ports will allow you to have a "certified kubernetes installer", if this is important for your distribution.

marccampbell avatar Aug 05 '20 15:08 marccampbell

Hi @dexhorthy,

This one is open for a long period. Do you think that still required? Should we keep this one open?

Thank you for your attention.

camilamacedo86 avatar Dec 21 '22 08:12 camilamacedo86