Last active
February 11, 2025 00:15
-
-
Save tom-code/04c782c04556b981767d6751089d653c to your computer and use it in GitHub Desktop.
install kind in alpine
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
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories | |
apk add docker | |
service docker start | |
service docker enable | |
apk add curl | |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64 | |
chmod +x ./kind | |
mv ./kind /usr/local/bin/kind | |
kind create cluster | |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
chmod +x kubectl | |
mv kubectl /usr/local/bin/ | |
#nfs server | |
apk add nfs-utils | |
#edit /etc/exports | |
#for example: /nfs *(rw) | |
rc-update add nfs | |
rc-service nfs start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment