| Power up your Linux developer environment
| ./homelab.sh --name test --path ~/homelab --domain homelab.localhost
| Variable | Default | description |
|---|---|---|
| D2K_CONFIG_ENV_PATH | ~/.homelab | Home lab bin path |
| D2K_NAME | homelab-cluster | Home lab name |
| D2K_FQDN_DOMAIN | homelab.localhost | Your domain |
| D2K_SSH_PRIVATE_KEY | ${D2K_CONFIG_ENV_PATH}/.ssh | Homelab ssh private key |
| D2K_SSH_PUBLIC_KEY | ${D2K_SSH_PRIVATE_KEY}.pub | Homelab ssh public key |
| The ssl key is auto generated if not exists, and you can delete anytime. It's used in multipass vms
cluster [action] [provider] [options]
- create Create new cluster
- delete Delete cluster
- start Start a created cluster
- stop Stop a created cluster
- info Print cluster info
- kubectl Get cluster kubeclt
- k3d Create k3d cluster
- multipass-k3d Create multipass-k3d cluster
- multipass-k3sup Create multipass-k3sup cluster
- multipass-microk8s Create multipass-microk8s cluster
- kind Create kind cluster
| option | default | description |
|---|---|---|
| -n|--name | $D2K_NAME variable | Cluster name |
| -d|--domain | $D2K_FQDN_DOMAIN variable | Cluster domain to external access |
| -p|--port | 5510 | Cluster api port |
| -ip|--ip | ${D2K_CURRENT_EXTERNAL_IP} variable | Cluster api port |
| -hp|--http-port | 80 | Cluster http port |
| -hs|--https-port | 443 | Cluster https port |
| -cp|--control-planes | 1 | Number of control planes in clusters |
| -w|--workers | 1 | Number of workers in clusters |
| -pv|--persistent-volume | 10 | Size in Gi of cluster volume |
- [https://devtron.ai/]
- [https://cerbos.dev/]
- [https://www.passbolt.com/]
- [https://nucleussec.com/]
- [https://www.passkeys.io/]
- [https://appmap.io/]
- [https://infisical.com/]
- [https://github.com/nektos/act]
- [https://kube-vip.io/]
- [https://www.kasten.io/kubernetes/open-source]
- [https://amplication.com/]
- [https://github.com/openblocks-dev/openblocks]
- [https://budibase.com/self-host/]
- [https://www.passkeys.io/]
- [https://verdaccio.org/]
-
[https://gitlab.com/linuxshots/spinup-k8s/]
-
[https://github.com/ruanbekker/k3m/]
-
[] [https://gist.github.com/mtthlm/8847025]
-
[] [https://gist.github.com/irazasyed/a7b0a079e7727a4315b9]
-
[] [https://github.com/arashkaffamanesh/kubeadm-multipass]
-
[] [https://github.com/natemellendorf/kubernetes]
-
[] [https://github.com/PhilippeVienne/terraform-k3d-metallb]
-
[] [https://github.com/coolexplorer/k8s-charts/tree/main/k8s]
-
[] [https://github.com/kurokobo/awx-on-k3s/tree/main/builder]
-
[] [https://github.com/AbsaOSS/k3d-action]
-
[] [https://github.com/nolar/setup-k3d-k3s]
-
[] [https://github.com/cnrancher/autok3s]
-
[] [https://github.com/k3d-io/vscode-k3d]
-
[] [https://docs.openblocks.dev/self-hosting]
-
[] [https://ian-says.com/articles/k3d-k8s-kubernetes/]
-
[] [https://github.com/scaamanho/k3d-cluster]
-
[] [https://dev.to/ordigital/cloudflare-ddns-on-linux-4p0d]
-
[] [https://rpi4cluster.com/k3s/k3s-traefik/]
-
[] [https://github.com/digitalis-io/k3s-on-prem-production]
-
[https://github.com/filipweilid/k3s-homelab]
-
[https://github.com/gangefors/local-k3s-cluster]
- [https://www.suse.com/c/rancher_blog/implementing-gitops-on-kubernetes-using-k3s-rancher-vault-and-argo-cd/]
- [https://rpi4cluster.com/k3s/k3s-traefik/]
- [https://dev.to/tomowatt/creating-a-k3s-cluster-with-k3sup-multipass-h26]
- [https://github.com/matti/k3sup-multipass/blob/master/bin/k3sup-multipass]
- [https://blog.internetz.me/posts/my-road-to-self-hosted-kubernetes-with-k3s_logging-with-efk/]
- [https://gist.github.com/pdxjohnny/a930742dae23ac43e230a3f6ad25dee9]
- [https://github.com/kubernauts/bonsai/blob/master/2-deploy-k3s.sh]
- [https://medium.com/linux-shots/spin-up-a-lightweight-kubernetes-cluster-on-linux-with-k3s-metallb-and-nginx-ingress-167d98f3583d]
- [https://github.com/Kapernikov/skaffold-helm-tutorial/blob/main/chapters/08-ingress.md]
- [https://ian-says.com/articles/k3d-k8s-kubernetes/]
- [https://medium.com/geekculture/creating-your-own-free-and-secure-cloud-lab-using-oracle-cloud-kubernetes-traefik-and-rancher-efadd4c65975]
- [https://ddymko.medium.com/traefik-with-lets-encrypt-and-docker-af24d2ed3535]
- [https://github.com/jsiebens/k3s-on-gcp/]
- [https://nimblehq.co/blog/provision-k3s-on-google-cloud-with-terraform-and-k3sup]
- [https://github.com/3scale-labs/kloud]
- [https://www.suse.com/c/rancher_blog/set-up-your-k3s-cluster-for-high-availability-on-digitalocean/]
- [https://johansiebens.dev/posts/2020/11/provision-a-multi-region-k3s-cluster-on-google-cloud-with-terraform/]