-
Notifications
You must be signed in to change notification settings - Fork 1.1k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VMware Instances not able to reach to management server #10012
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 |
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 |
@rajujith , |
@DaanHoogland I think we could consider it as a known limitation for CKS on vmware. |
@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. |
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/ |
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. |
So, for now we need to tell vmware/cks users to create loadbalancer rules by hand. Would that work, @weizhouapache @vishesh92 ? |
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. |
How about setting a rule on the VR, only in the case the VM is a CKS control node? |
@DaanHoogland |
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. |
Created a doc pr |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
The text was updated successfully, but these errors were encountered: