apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.85k stars 1.07k forks source link

Load balancer for Kube-API Kubernetes in VPC #9338

Open leduyquy opened 5 days ago

leduyquy commented 5 days ago
ISSUE TYPE
COMPONENT NAME
VPC, Kubernetes, Load Balancer 
CLOUDSTACK VERSION
 4.19.0.1 
CONFIGURATION
Create VPC 
Create Guest Network in VPC 
Create Kubernetes Cluster in Guest Network
OS / ENVIRONMENT
KVM and VMware host 
SUMMARY
Create Kubernetes in VPC. IP public access to KubeAPI use Forward rule not Load balancing
STEPS TO REPRODUCE

Without VPC Screenshot from 2024-06-21 16-47-47

In VPC: vpc

EXPECTED RESULTS
 Load balancer for Kube-API running on VPC
ACTUAL RESULTS
Public IP forward to only one control node, when it down, Disconnect to cluster
boring-cyborg[bot] commented 5 days ago

Thanks for opening your first issue here! Be sure to follow the issue template!

weizhouapache commented 1 day ago

This issue is similar as #8295, which has been addressed by #7919 in main/4.20 branch

https://github.com/apache/cloudstack/blob/c6d3f6e623e35aadbe6e7d1db56d1d3244b55f09/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterResourceModifierActionWorker.java#L762-L777

if we need this in 4.19, #8308 can be re-opened