https://github.com/tomowatt/k3s-multipass-bootstrap
Bootstrap script to get a k3s Cluster created with Multipass for local development.
https://github.com/tomowatt/k3s-multipass-bootstrap
k3s kubernetes script
Last synced: about 1 year ago
JSON representation
Bootstrap script to get a k3s Cluster created with Multipass for local development.
- Host: GitHub
- URL: https://github.com/tomowatt/k3s-multipass-bootstrap
- Owner: tomowatt
- License: apache-2.0
- Created: 2021-01-28T08:51:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T09:12:02.000Z (over 1 year ago)
- Last Synced: 2025-04-14T20:15:47.997Z (about 1 year ago)
- Topics: k3s, kubernetes, script
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 17
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# k3s-multipass-bootstrap
A quick and easy way to setup a local k3s Cluster using k3sup & Multipass.
Requires the following to be installed:
* [k3sup](https://github.com/alexellis/k3sup)
* [Multipass](https://multipass.run)
Requires two Environment Variables:
`PUBLIC_SSH_KEY_PATH` - File Path to Public SSH Key for Multipass Instances
`PRIVATE_SSH_KEY_PATH` - File Path to Private SSH Key for Multipass Instances
Example:
`PUBLIC_SSH_KEY_PATH=./demo-key.pub PRIVATE_SSH_KEY_PATH=./demo-key ./minimal-k3s-multipass-bootstrap.sh`
The `kubeconfig` will be stored in the directory from where the script is ran.
Clearing the VM Instances:
`multipass delete --all && multipass purge`