when I input the External load balancer IP address, I got the exception
externalloadbalanceripaddress parameter must be specified along with Shared type of network
when I did not input the value, got a different exception
Multi-control nodes, HA Kubernetes cluster with Shared network ID: 82b60ec8-b2a2-4d5c-9dfd-c6528b31b03a needs an external load balancer IP address. externalloadbalanceripaddress parameter can be used
This issue could be fixed by
diff --git a/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java b/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java
index f45f78bf42c..a367a99304e 100644
--- a/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java
+++ b/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java
@@ -825,7 +825,7 @@ public class KubernetesClusterManagerImpl extends ManagerBase implements Kuberne
if (network == null) {
throw new InvalidParameterValueException(String.format("%s parameter must be specified along with %s parameter", ApiConstants.EXTERNAL_LOAD_BALANCER_IP_ADDRESS, ApiConstants.NETWORK_ID));
}
- if (Network.GuestType.Shared.equals(network.getGuestType())) {
+ if (!Network.GuestType.Shared.equals(network.getGuestType())) {
throw new InvalidParameterValueException(String.format("%s parameter must be specified along with %s type of network", ApiConstants.EXTERNAL_LOAD_BALANCER_IP_ADDRESS, Network.GuestType.Shared.toString()));
}
}
It works in Advanced zone, but CKS still does not work in advanced zone with security groups.
- The first control nodes was setup successfully
- The 2nd/3rd control nodes do not work
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
when I input the
External load balancer IP address, I got the exceptionwhen I did not input the value, got a different exception
This issue could be fixed by
It works in Advanced zone, but CKS still does not work in advanced zone with security groups.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS