Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#install k3d | |
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash | |
k3d --version | |
#create 10node k3d cluster and delete | |
#for i in $(seq 1 10); do k3d node create worker${i} -c test; done | |
#for i in $(seq 1 10); do k3d node delete worker${i}-0; done |
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
#install kubectl | |
sudo curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl | |
sudo chmod +x kubectl | |
mkdir -p ~/.local/bin | |
sudo mv ./kubectl ~/.local/bin/kubectl | |
kubectl version --client | |
#install helm | |
sudo curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 |
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
# Add Docker's official GPG key: | |
sudo apt-get update | |
sudo apt-get install ca-certificates curl | |
sudo install -m 0755 -d /etc/apt/keyrings | |
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
sudo chmod a+r /etc/apt/keyrings/docker.asc | |
# Add the repository to Apt sources: | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ |
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
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted | |
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted | |
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted | |