winterhazel commented on code in PR #9223:
URL: https://github.com/apache/cloudstack/pull/9223#discussion_r1942161780
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterActionWorker.java:
##########
@@ -105,6 +105,7 @@ public class KubernetesClusterActionWorker {
public static final int DEFAULT_SSH_PORT = 22;
public static final int CLUSTER_NODES_DEFAULT_START_SSH_PORT = 2222;
public static final int CLUSTER_NODES_DEFAULT_SSH_PORT_SG =
DEFAULT_SSH_PORT;
+ public static final int MAX_PORT = 65535;
Review Comment:
There's already an equivalent in
NetUtils,`com.cloud.utils.net.NetUtils#PORT_RANGE_MAX`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]