AutoK3s is a lightweight tool that simplifies the deployment and management of K3s Kubernetes clusters across multiple cloud and local environments.
Run K3s Everywhere
AutoK3s is designed for developers, DevOps engineers, and cloud administrators who want to quickly create, manage, and operate lightweight K3s clusters with ease. It supports multiple cloud providers and local environments, enabling seamless Kubernetes cluster setup and management through a GUI dashboard and automation features.
AutoK3s requires Docker to run the daemon and UI components; ensure Docker is installed and running. The tool supports multiple cloud providers but may require appropriate cloud credentials and permissions. For airgap installations, refer to the specific documentation. Using the UI dashboard simplifies cluster management, but users should have basic Kubernetes knowledge for effective operations.
Run AutoK3s daemon with Docker on Linux: docker run -itd --restart=unless-stopped --net=host -v /var/run/docker.sock:/var/run/docker.sock cnrancher/autok3s:v0.9.3
Run AutoK3s daemon with Docker on MacOS: docker run -itd --restart=unless-stopped -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST="" cnrancher/autok3s:v0.9.3
Run AutoK3s with docker-compose: docker-compose up -d
Install AutoK3s CLI via shell script: curl -sS https://rancher-mirror.rancher.cn/autok3s/install.sh | sh
Start AutoK3s daemon and UI: autok3s -d serve
Uninstall AutoK3s CLI (v0.5.0+): /usr/local/bin/autok3s-uninstall.sh
docker run -itd --restart=unless-stopped --net=host -v /var/run/docker.sock:/var/run/docker.sock cnrancher/autok3s:v0.9.3
Start the AutoK3s daemon with an interactive UI on a standard Linux system using Docker.
docker run -itd --restart=unless-stopped -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_HOST="" cnrancher/autok3s:v0.9.3
Start the AutoK3s daemon with an interactive UI on MacOS using Docker.
docker-compose up -d
Launch AutoK3s using docker-compose, making the UI available at http://autok3s.vcap.me.
curl -sS https://rancher-mirror.rancher.cn/autok3s/install.sh | sh
Download and install the AutoK3s CLI tool via shell script on MacOS or Linux.
autok3s -d serve
Start the AutoK3s daemon and open the default browser with the interactive UI.
/usr/local/bin/autok3s-uninstall.sh
Uninstall the AutoK3s CLI for versions 0.5.0 or newer.