GitHub user n4l5u0r closed a discussion: Unable to have k8s Running in Cloudstack 4.20.0
Trying to deploy a k8s from Cloudstack CKS based on mgmt servers : 10.10.0.0/20 / 10.20.0.0/20 - mgmt-1 : 10.X0.0.3 - mgmt-2 : 10.X0.0.4 KVM servers: 10.10.0.0/20, 10.20.0.0/20, 10.40.0.0/20 - kvm-1 : 10.X0.0.6 - kvm-2 : 10.X0.0.7 When deploying the overall k8s everything starts, the instances controle + node, the VR responsible of the isolated network : 10.30.0.0/16 the endpoint is never set to `Running`, remains on `Starting` and ends in `Error`. <img width="938" height="345" alt="image" src="https://github.com/user-attachments/assets/fdf19f14-8ecd-48ba-aca7-449cf91c3b6c" /> the `endpoint.url`is set to `http://10.10.0.3:8080/client/api` the physical network topology is the following: - Mgmt network : 10.10.0.0/20 : mgmt + kvm - Storage network : 10.20.0.0/20 : mgmt + kvm - Public network : 10.40.0.0/20 : kvm - Guest network : 10.30.0.0/16 I don't know if the problem is coming from the fact that the Mgmt servers are not accessing the Public network, where the k8s network VR is exposing the k8s services, to check the availability of control service availability. If I have to expose it what is the best practice on Cloudstack side to have working. <img width="724" height="332" alt="image" src="https://github.com/user-attachments/assets/58c63969-15f7-4e54-b495-fbb0174d9e1c" /> <img width="1294" height="860" alt="image" src="https://github.com/user-attachments/assets/66859cb1-222f-401e-bfd1-45101900ef03" /> <img width="927" height="411" alt="image" src="https://github.com/user-attachments/assets/7c7f307a-d6c4-4727-bc3d-cb0589e9970e" /> when I request the k8s service from a kvm I have it working up: ```bash # curl -sk https://10.40.0.12:6443/version { "major": "1", "minor": "32", "gitVersion": "v1.32.5", "gitCommit": "9894294ef13a5b32803e3ca2c0d620a088cc84d1", "gitTreeState": "clean", "buildDate": "2025-05-15T09:05:02Z", "goVersion": "go1.23.8", "compiler": "gc", "platform": "linux/amd64" }``` GitHub link: https://github.com/apache/cloudstack/discussions/11951 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
