Replies: 13 comments
-
@vishesh92 as Vishesh said, this causes CKS control nodes are not able to create lb rules as they cannot connect to cloudstack management server |
Beta Was this translation helpful? Give feedback.
-
We could add a policy routing rule in VR to forward the traffic to the management server/ enpoint.url from instances via public interface. CC @vishesh92 @weizhouapache |
Beta Was this translation helpful? Give feedback.
-
@rajujith , |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland I think we could consider it as a known limitation for CKS on vmware. |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland, consider the management server URL public/intranet. It is expected that all intended users, including guest instances, should be able to access it from their client devices. In this specific case, the client is CKS. If there is a use case to allow access only from the CKS nodes but not regular guest instances even that could be implemented. The traffic traversal is CKS node -> VR guest interface -> VR public interface -> other hopes in the path -> management server public interface directly or via LB. Since the guest instance traffic is not traversing the management networks I believe it is a regular traffic that can be allowed. |
Beta Was this translation helpful? Give feedback.
-
To provide further context on this
vi .kube/config
kubectl apply -f nginx.yaml
which are responsible for assigning a public IP address to the application fails
k logs -f cloud-controller-manager-574bcb86c-9fcgd -n kube-system
So basically a user on a vmware is unable to access the Kubernetes application via the kubernetes loadbalancer service The workaround is expose the application via NodePort service Follow steps 1 to 6
I think for now we can document this workaround for CKS deployments on vmware and mention the loadbalancer service is not supported on vmware cc @rajujith @vishesh92 @weizhouapache Ref https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/ |
Beta Was this translation helpful? Give feedback.
-
thanks @kiranchavala providing the workaround I agree we could document it for now. We will work on static routes improvement and policy-based routes for next release. |
Beta Was this translation helpful? Give feedback.
-
So, for now we need to tell vmware/cks users to create loadbalancer rules by hand. Would that work, @weizhouapache @vishesh92 ? |
Beta Was this translation helpful? Give feedback.
-
We can tell users to create the LB rules by hand. But, the user would also have to ensure that the list of VMs stays up to date in the load balancer rules. |
Beta Was this translation helpful? Give feedback.
-
How about setting a rule on the VR, only in the case the VM is a CKS control node? |
Beta Was this translation helpful? Give feedback.
-
@DaanHoogland |
Beta Was this translation helpful? Give feedback.
-
ok, for 4.19.2 we will put the text in #10012 (comment) in the documentation and after that, convert this issue to a discussion on how to address it in the end. |
Beta Was this translation helpful? Give feedback.
-
Created a doc pr |
Beta Was this translation helpful? Give feedback.
-
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
CloudStack with VMWare
SUMMARY
Management server is not reachable from the instances. This causes issues especially with CKS not being able to create load balancer.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
Beta Was this translation helpful? Give feedback.
All reactions