Created
August 5, 2025 11:05
-
-
Save prateek-code-22/2956a9d9f480e6ec36217d77498f2b82 to your computer and use it in GitHub Desktop.
Install KIND Cluster on ubuntu
This file contains hidden or 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
| #!/bin/bash | |
| [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.27.0/kind-linux-amd64 | |
| chmod +x ./kind | |
| sudo mv ./kind /usr/local/bin/kind | |
| VERSION="v1.30.0" | |
| URL="https://dl.k8s.io/release/${VERSION}/bin/linux/amd64/kubectl" | |
| INSTALL_DIR="/usr/local/bin" | |
| curl -LO "$URL" | |
| chmod +x kubectl | |
| sudo mv kubectl $INSTALL_DIR/ | |
| kubectl version --client | |
| rm -f kubectl | |
| rm -rf kind | |
| echo "kind & kubectl installation complete." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment