Skip to content

Commit

Permalink
chore(deps): bump kind from 0.11.1 to 0.24.0 (#12402)
Browse files Browse the repository at this point in the history
## Motivation

Version of our depended `kind` is too old, version `0.11.1` was
[released 3.5 years
ago](https://github.com/kubernetes-sigs/kind/releases/tag/v0.11.1). So
upgrading to a newer version.

When I was using
[KTF](https://github.com/Kong/kubernetes-testing-framework) to spin up a
new cluster, it was stuck and eventually timed out. KTF uses installed
kind to create clusters, so mine is introduced by Kuma. A further debug
showed that the cluster control plane failed to start by the following
error:

`failed to create shim task: OCI runtime create failed: runc create
failed: expected cgroupsPath to be of format "slice:prefix:name" for
systemd cgroups`

The error gone after upgraded `kind` to a newer version manually.

## Implementation information

Changing `kind` version from `0.11.1` to `0.24.0`

Succeeded to run the oldest supported k8s version by Kuma, which is
`v1.25.16`.

## Supporting documentation

<!-- Is there a MADR? An Issue? A related PR? -->

kubernetes-sigs/kind#2702

<!--
> Changelog: skip
-->
<!--
Uncomment the above section to explicitly set a [`> Changelog:` entry
here](https://github.com/kumahq/kuma/blob/master/CONTRIBUTING.md#submitting-a-patch)?
-->

---------

Signed-off-by: Jay Chen <[email protected]>
Signed-off-by: slonka <[email protected]>
Co-authored-by: slonka <[email protected]>
  • Loading branch information
jijiechen and slonka authored Jan 6, 2025
1 parent 10a11c3 commit 378b055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/dependencies/deps.lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
acc400697b78e893585e39c43c83f113b033a00f
e77f6f959fe846fcb2ff508851252ca0d37c8adc
2 changes: 1 addition & 1 deletion mk/dependencies/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

OUTPUT_DIR=$1/bin
VERSION="0.11.1"
VERSION="0.24.0"
KIND=${OUTPUT_DIR}/kind
if [ -e "$KIND" ] && [ "v$($KIND --version | cut -d ' ' -f3)" == v${VERSION} ]; then
echo "$($KIND --version ) is already installed at ${OUTPUT_DIR}" ;
Expand Down

0 comments on commit 378b055

Please sign in to comment.