Skip to content

Instantly share code, notes, and snippets.

@oxr463
Last active November 30, 2020 15:01
Show Gist options
  • Save oxr463/47cbe3a04a1d220e0385780264f2e490 to your computer and use it in GitHub Desktop.
Save oxr463/47cbe3a04a1d220e0385780264f2e490 to your computer and use it in GitHub Desktop.
Installing Rancher in RKE on Alpine Linux

WIP: Installing Rancher in RKE on Alpine Linux

This is a work in progress.

Dependencies

Note: this requires software in the edge repository.

apk upgrade
apk add docker kubectl openssh rke shadow

# Add user to docker group
usermod -aG docker $USER

# Allow TCP forwarding for OpenSSH
sed -i '/AllowTcpForwarding/d' /etc/ssh/sshd_config
echo "AllowTcpForwarding yes" >> /etc/ssh/sshd_config
grep AllowTcpForwarding /etc/ssh/sshd_config

Reference

License

SPDX-License-Identifier: CC-BY-SA-4.0

See Also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment