Skip to content

37 remove containers using crictl stop before kubeadm reset#908

Closed
avaneesh1232 wants to merge 62 commits intovmware-tanzu:mainfrom
cohesity:37-remove-containers-using-crictl-stop-before-kubeadm-reset
Closed

37 remove containers using crictl stop before kubeadm reset#908
avaneesh1232 wants to merge 62 commits intovmware-tanzu:mainfrom
cohesity:37-remove-containers-using-crictl-stop-before-kubeadm-reset

Conversation

@avaneesh1232
Copy link
Copy Markdown

What this PR does / why we need it:
remove containers using crictl stop before kubeadm reset

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Additional information

Special notes for your reviewer

Updates go module name and links for the fork
Updates go module dependencies to fix vulnerabilities
Updates logic to use sigs.k8s.io/cluster-api v1.5.8 and K8s version v1.27.16
Adjusts some go module versions to fix compatibility with k8s.io/kubernetes v1.27.16
Updates logic to use sigs.k8s.io/cluster-api v1.6.8 and K8s version v1.28.15
Updates the Make dependency management and fixes test dependency on
environment
Updates logic to use sigs.k8s.io/cluster-api v1.7.9 and
K8s version v1.29.15
Updates logic to use sigs.k8s.io/cluster-api v1.8.12 and
K8s version v0.30.12
Updates logic to use sigs.k8s.io/cluster-api v1.9.8 and
K8s version v0.30.12
Updates logic to use sigs.k8s.io/cluster-api v1.10.2 and
K8s version v0.32.5
abhishekmunie and others added 29 commits June 4, 2025 15:15
Bumps the go_modules group with 1 update in the / directory: [github.com/cloudflare/circl](https://github.com/cloudflare/circl).


Updates `github.com/cloudflare/circl` from 1.3.7 to 1.6.1
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](cloudflare/circl@v1.3.7...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.1
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <[email protected]>
Removes ignore_directories in REPO.bazel to fix compatibility with bazel 7

Signed-off-by: Abhishek Munie <[email protected]>
Signed-off-by: Abhishek Munie <[email protected]>
Bumps the go_modules group with 1 update in the / directory: [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure).


Updates `github.com/go-viper/mapstructure/v2` from 2.2.1 to 2.3.0
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](go-viper/mapstructure@v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.3.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <[email protected]>
As part of this PR, we are removing infrastructure- prefix from all the
files as byoh upgrade is failing from v0.5.x to v0.8.x due to mismatch
of roleRef in the clusterRoleBinding
Tests-Run: None
Tickets-Addressed: None
Change-Id: I49b4e2853c26250bed6f7893823410f28db9a78c
Fix-Version:
Regression-Commit-Ids:
Skip: None
As part of this PR, we are populating uninstall script on the byohost
object if it is missing during uninstall and installation secret exists.
Change-Id: I2f88535826d760dec002cf7824d0eca5623fdc4b
Bumps the go_modules group with 1 update in the / directory: [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure).


Updates `github.com/go-viper/mapstructure/v2` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](go-viper/mapstructure@v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <[email protected]>
1. reset host only in case of owner reference is marked for deletion or
   missing.
1. run kubeadm upgrade if bootstrap annotation is set
2. update cluster api version in test suites
1. Ensure kubelet version matches version on the machine before updating
   provider ID on the node.
2. Ensure control plane pods are healthy before updating provider ID on
   the node.
Updated Dockerfile to use golang:1.25 image to match go.mod

Signed-off-by: Abhishek Munie <[email protected]>
Introduces checkControlPlanePodsHealthy to verify that control plane
components (API server, controller manager, and scheduler) are healthy
before completing the machine reconciliation process. This ensures
stability of control plane components after machine restarts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants