k3sup
cluster-template
Our great sponsors
k3sup | cluster-template | |
---|---|---|
58 | 63 | |
5,850 | 1,540 | |
- | 5.8% | |
7.1 | 9.9 | |
13 days ago | 6 days ago | |
Go | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
k3sup
- K3s – Lightweight Kubernetes
-
Packaging Go for Arch Linux Tutorial
# Maintainer: Talha Altinel pkgname=k3sup pkgver=0.13.0 pkgrel=1 pkgdesc='A tool to bootstrap K3s over SSH in < 60s' arch=('x86_64') url='https://github.com/alexellis/k3sup' license=('MIT') depends=('glibc' 'openssh') makedepends=('git' 'go>=1.20') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alexellis/k3sup/archive/${pkgver}.tar.gz") sha256sums=('24939844ac6de581eb05ef6425c89c32b2d0e22800f1344c19b2164eec846c92') _commit=('1d2e443ea56a355cc6bd0a14a8f8a2661a72f2e8') build() { cd "$pkgname-$pkgver" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" go build \ -ldflags "-s -w -X github.com/alexellis/k3sup/cmd.Version=$pkgver -X github.com/alexellis/k3sup/cmd.GitCommit=$_commit" \ -o k3sup \ . for shell in bash fish zsh; do ./k3sup completion "$shell" > "$shell-completion" done } package() { cd "$pkgname-$pkgver" install -Dm755 -t "$pkgdir/usr/bin" k3sup mkdir -p "${pkgdir}/usr/share/bash-completion/completions/" mkdir -p "${pkgdir}/usr/share/zsh/site-functions/" mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/" install -Dm644 bash-completion "$pkgdir/usr/share/bash-completion/completions/k3sup" install -Dm644 fish-completion "$pkgdir/usr/share/fish/vendor_completions.d/k3sup.fish" install -Dm644 zsh-completion "$pkgdir/usr/share/zsh/site-functions/_k3sup" install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE }
- Fastest way to set up an k8s environment ?
-
How do you archive your side hobby projects?
I recommend learning docker first, then pick a vps host from vpsbenchmarks, then use k3sup to deploy a kubernetes cluster on that, then follow a getting-started kubernetes tutorial from there. You'll also want to buy a domain name with tld-list and then provision a TLS certificate with cert-manager and letsencrypt (skip steps 1-4 because Google Cloud is overpriced).
-
What do you use as a kubernetes base?
I just installed k3s yesterday using k3sup on 6 VMs (3 masters, 3 workers) each with 2GB RAM ( limited by the actual RAM on hardware, for now ) with Ubuntu 22.04 as the base OS.
- How to create cluster?
-
What's a cheap way to setup your own Kubernetes cluster locally or remote?
k3s installed with k3sup, longhorn for storage, kube-vip for API VIP, and MetalLB for service load balancer using local subnet, and of course Rancher.
-
Docker: We’re No Longer Sunsetting the Free Team Plan
My applause to Alex Ellis for writing a clear, direct call to arms!
Their work is super useful and interesting. I've added them to my list of sponsorships: https://github.com/sponsors/alexellis
-
Easiest way to provision and configure ephemeral cluster locally
Yeah, this is the answer, but I would use this with K3S: https://github.com/alexellis/k3sup
-
Despliega un clĂşster de Kubernetes en segundos con k3sup
$ curl -sLS https://get.k3sup.dev | sh x86_64 Downloading package https://github.com/alexellis/k3sup/releases/download/0.12.12/k3sup as /home/ec2-user/k3sup Download complete. ============================================================ The script was run as a user who is unable to write to /usr/local/bin. To complete the installation the following commands may need to be run manually. ============================================================ sudo cp k3sup /usr/local/bin/k3sup ================================================================ alexellis's work on k3sup needs your support https://github.com/sponsors/alexellis ================================================================ No nos devolverá nada, pero podremos correr lo siguiente para saber si k3sup efectivamente se instalo:
cluster-template
-
Home Lab Guide
k8s is a lot easier for homelabs than it used to be, and imo it's quicker than nix for building a declarative homelab. templates like this one can deploy a cluster in a few hours: https://github.com/onedr0p/cluster-template
here's my home assistant deployment as a single file: https://github.com/pl4nty/homelab/blob/main/kubernetes/clust...
I deliberately nuked my onprem cluster a few weeks ago, and was fully restored within 2 hours (including host OS reinstalls). and most of that was waiting for backup restores over my slow internet connection
- An opinionated template for deploying a single k3s cluster with Ansible backed by Flux, SOPS, GitHub Actions, Renovate, Cilium, Cloudflare and more!
-
Entropy...
example repo: https://github.com/onedr0p/flux-cluster-template
-
Noob question: How do you setup your local dev environment?
Magical setups like this often get a lot of bad rap, but if you already understand Ansible and know Linux etc, you might find this repo a good start to building out your own cluster using gitops: https://github.com/onedr0p/flux-cluster-template
-
Fastest way to set up an k8s environment ?
more of an end-to-end solution than a build-it-yourself, but this was a huge help in my understanding of k8s and the other tech like gitops - https://github.com/onedr0p/flux-cluster-template
- BookStack Updates for the last 6 months
- Advice on making my self-hosting easier to maintain (currently using terraform/kubernetes)
-
Tired of people trying to make tools IaaS agnostic
idk how it'd scale for a larger operation, but flux+sops+age has worked great for me. based on https://github.com/onedr0p/flux-cluster-template
-
What's a software you searched to selfhost but is still missing to you ?
Here is a really good and VERY thorough example of pulling that all together: https://github.com/onedr0p/flux-cluster-template
- My recently deployed media apps in ArgoCD, migrating from Terraform.
What are some alternatives?
k3d - Little helper to run CNCF's k3s in Docker
awesome-home-kubernetes - ⚠️ Deprecated: Awesome projects involving running Kubernetes at home
k3s-ansible
external-dns - Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
talos - Talos Linux is a modern Linux distribution built for Kubernetes.
home-ops - Wife approved HomeOps driven by Kubernetes and GitOps using Flux
truecharts - Community App Catalog for TrueNAS SCALE [Moved to: https://github.com/truecharts/charts]
homelab-packer - Create VM templates for vSphere with Packer
longhorn - Cloud-Native distributed storage built on and for Kubernetes
hajimari - Hajimari is a beautiful & customizable browser startpage/dashboard with Kubernetes application discovery.
multipass - Multipass orchestrates virtual Ubuntu instances
homelab-infra - Homelab infra management