-
Notifications
You must be signed in to change notification settings - Fork 17
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
Running hybrid cluster #167
Comments
Hello, could you please share your thoughts on how to approach the solution? Based on the logs - |
I'm not sure what to do here, i'm not even sure it's CCMs fault that node cannot join, i'm shooting into dark. So what i have found currently is this error, and in my head this could mean it cannot adjust kubelet config as it's needed for proxmox virtual machines with there is taint left there:
Which i suspect is there, cause it's not a cloud node but is a bare-metal one and CCM cannot finish it's job cause it's not finding node on proxmox hosts. Also i don't know if it would work like this in hybrid mode, where just some nodes are managed by CCM. Previously i got kubernetes in such hybrid model without CCM, but as i need proxmox-csi which needs that ProviderID magic to work i went now with proxmox CCM. Currently behaviour what i see is - node is in ready state, but it has no role (even it was/is provisioned with worker role), I use RKE2 cluster, so rancher-system-agent sees that role, but later on kubelet looses it somewhere, and i suspect it's because CCM is not configuring this node. What if some kinda label on node makes CCM to not try to configure this node? and if such label exists it just skips it... I see there is Kubernetes CCM issue with some similarities: kubernetes/cloud-provider#35 (i would say 100% match) and there is a comment about alibaba having label
So i would like to see something similar... |
Join the bare-metal node without flag Proxmox CCM does not change a node if it is not part of Proxmox VE. This helps the Kubernetes community create hybrid cloud setups. If you notice that a self-hosted node disappears from the cluster, check the logs of all the cluster components (addons). Proxmox CCM will show a message like: "I am skipping this node completely." This behavior is supported only by Proxmox CCM and Azure. Other CCMs (as far as I know) will instantly remove the node from the cluster. There are many issues and discussions about this. The short answer is: Kubernetes does NOT officially support hybrid clusters. Proxmox CCM was designed to support multi-region, multi-zone, and hybrid clusters. It should work well — at least, it works in my production hybrid closter setups across different clouds. You can check my research here: https://github.com/sergelogvinov/terraform-talos Also, consider joining or following the Kubernetes Hybrid Cloud community group: https://github.com/kubernetes-hybrid-cloud. This helps us improve the hybrid cloud experience for Kubernetes. Thanks for your interest of hybrid cloud installations 👍 |
Thanks @sergelogvinov for assistance not in github, at last got my initial proxmox csi setup to work without CCM which means i can ditch CCM as it was not needed for anything else then for adding labels to nodes for CSI. |
Bug Report
Bare-metal node cannot join cluster if Proxmox CCM is used.
Description
Our Use Case requires us to use virtual machines and bare metal machines for our Kubernetes cluster deployments.
Logs
Environment
kubectl version --short
]kubectl describe node <node>
]cat /etc/os-release
]The text was updated successfully, but these errors were encountered: