ravening opened a new pull request, #14947:
URL: https://github.com/apache/cloudstack/pull/14947

   ### Description
   
   CKS wrote `/etc/kubernetes/kubeadm-config.yaml` with `apiVersion: 
kubeadm.k8s.io/v1beta3` for every Kubernetes version. kubeadm 1.31 replaced 
v1beta3 with v1beta4 and kubeadm 1.37 rejects v1beta3, so `kubeadm init` failed 
for external-etcd clusters on 1.37+. The template now uses a `{{ 
k8s.kubeadm.api.version }}` placeholder: `v1beta4` for Kubernetes >= 1.31, 
`v1beta3` for older versions (which don't know v1beta4).
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] Build/CI
   - [ ] Test (unit or integration test code)
   
   ### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [x] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   
   Rendered the kubeadm-config block of `k8s-control-node.yml` with the 
placeholder substituted and validated it as YAML. Version selection uses the 
existing `KubernetesVersionManagerImpl.compareSemanticVersions` helper; 
compilation runs in PR CI (no JDK in the working environment).
   
   Closes #14897
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to