-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CPDEV-96588] Kubemarine cluster reconfigure procedure (#592)
* Fix and optimize kubeadm_patches JSON schema * Add JSON schema for new reconfigure procedure and prepare implementation stub * Implement enrichment and finalization * kubeadm reconfigure implementation * Avoid delete pods, wait for containers refresh in pods * Rework all existing code to use new API to reconfigure Kubernetes components * Write new API server certificates if balancer is added * Add documentation * Extend `control_plane.configuration_status` PaaS check Add services.kubelet.config PaaS check. Generate manifests, kubelet config in dry run mode and compare with stored configs. Added custom merging and comparing of kubelet-config and kube-proxy ConfigMaps Added generating of kubelet-config in dry run mode for Kubernetes >= 1.26 Rework `kubernetes.admission` check. * Rework flow to reconfigure all the components on one node before going to the next ones. * linter fixes * Add more unit tests * Fix bug in components.wait_for_pods Balancer or worker node could be chosen to run kubectl. * Change order of tasks when disabling PSP * Do not check consistency of kubelet-config ConfigMap for Kubernetes < v1.26 * More unit tests for components.py * Changes to adapt to new procedure inventory merging --------- Co-authored-by: sekr0614 <[email protected]>
- Loading branch information
Showing
44 changed files
with
3,531 additions
and
1,036 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.