Skip to content

Instantly share code, notes, and snippets.

@btheu
Last active March 30, 2023 13:31
Show Gist options
  • Save btheu/9b1e76e2b71d99251abad74f5ae0ffce to your computer and use it in GitHub Desktop.
Save btheu/9b1e76e2b71d99251abad74f5ae0ffce to your computer and use it in GitHub Desktop.
k3d install
## Install Kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client --output=yaml
## Install k3d
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment