https://github.com/pablon/vagrant-debian12-k3s
This repo creates a Debian 12 VM with Vagrant using VirtualBox driver and installs k3s into it
https://github.com/pablon/vagrant-debian12-k3s
github-actions k3s-cluster vagrant virtualbox
Last synced: about 1 month ago
JSON representation
This repo creates a Debian 12 VM with Vagrant using VirtualBox driver and installs k3s into it
- Host: GitHub
- URL: https://github.com/pablon/vagrant-debian12-k3s
- Owner: pablon
- Created: 2024-04-09T19:38:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-15T17:17:44.000Z (2 months ago)
- Last Synced: 2025-02-15T18:21:10.345Z (2 months ago)
- Topics: github-actions, k3s-cluster, vagrant, virtualbox
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


 /

 /
[](https://github.com/pablon/vagrant-debian12-k3s/actions/workflows/test.yml)# vagrant-debian12-k3s
1. Need a quick kubernetes cluster to test some deployments or charts really quick?
2. Don't have `minikube` or `kind`, and want to have it in a VM so you can share your appliance?This repo creates a Debian 12 VM with Vagrant using VirtualBox driver and installs k3s into it.
## Requirements
- [vagrant](https://developer.hashicorp.com/vagrant/downloads) must be installed
- [virtualbox](https://www.virtualbox.org/wiki/Downloads) must be installed## Setup
Execute the `run.sh` script
```
./run.sh
```Then you will be able to run:
```bash
kubectl --kubeconfig outputs/vagrant-k3s.yaml get node -o wide
kubectl --kubeconfig outputs/vagrant-k3s.yaml get all -A
```or
```bash
export KUBECONFIG="$(pwd)/outputs/vagrant-k3s.yaml"kubectl config current-context
kubectl get node -o wide
kubectl get all -A
```