An open API service indexing awesome lists of open source software.

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.

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`