Skip to content

Instantly share code, notes, and snippets.

@tom-code
Last active December 24, 2022 09:35
Show Gist options
  • Save tom-code/04c782c04556b981767d6751089d653c to your computer and use it in GitHub Desktop.
Save tom-code/04c782c04556b981767d6751089d653c to your computer and use it in GitHub Desktop.
install kind in alpine
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