Created
February 22, 2023 18:07
-
-
Save nomionz/ed3eee22ef20e2c80435e127e9f61bd2 to your computer and use it in GitHub Desktop.
Prerequisites for k3s local cluster
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
# Docker | |
curl -sSL https://nimamahmoudi.github.io/cicd-cheatsheet/sh/install-docker.sh | bash | |
# Docker Compose | |
sudo apt-get update && sudo apt install -qy python3-pip && pip3 install docker-compose | |
# Arkade | |
curl -SLfs https://dl.get-arkade.dev | sudo sh | |
# Add tools bin directory to PATH | |
echo "export PATH=\$HOME/.arkade/bin:\$PATH" >> ~/.bashrc | |
# Copy bash completion script | |
arkade completion bash > ~/arkade_bash_completion.sh | |
echo "source ~/arkade_bash_completion.sh" >> ~/.bashrc | |
# starting bash completion | |
source ~/.bashrc | |
# Kubectl | |
arkade get kubectl | |
# Kubectl bash completion | |
echo 'source <(kubectl completion bash)' >>~/.bashrc | |
# starting bash completion | |
source ~/.bashrc | |
# Kustomize | |
arkade get kustomize | |
# Helm | |
arkade get helm | |
# K3sup | |
arkade get k3sup | |
# Kompose for converting docker-compose | |
curl -L https://github.com/kubernetes/kompose/releases/download/v1.22.0/kompose-linux-amd64 -o kompose | |
chmod +x kompose | |
sudo mv ./kompose /usr/local/bin/kompose | |
echo 'source <(kompose completion bash)' >>~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
original article