目录

My Homelab Gitops repository

… managed with Flux, Renovate, and GitHub Actions 🤖

Talos    Kubernetes   

Alert Manager Heartbeat

Node-Count    Nodes-Memory    Pod-Count    CPU-Usage    Memory-Usage    Power-Usage    Age-Days    Uptime-Days   

🚀 Bootstrap

  1. Setup talos nodes: task talos:bootstrap
  2. Push private key: task flux:github-deploy-key
  3. Setup Flux : task flux:bootstrap

🛠️ Talos and Kubernetes Maintenance

⚙️ Updating Talos node configuration

[!IMPORTANT] Ensure you have updated talconfig.yaml and any patches with your updated configuration. In some cases you not only need to apply the configuration but also upgrade talos to apply new configuration.

# (Re)generate the Talos config
task talos:generate-config
# Apply the config to the node
task talos:apply-node HOSTNAME=? MODE=?
# e.g. task talos:apply-config HOSTNAME=k8s-0 MODE=auto

⬆️ Updating Talos and Kubernetes versions

[!IMPORTANT] Ensure the talosVersion and kubernetesVersion in talhelper.yaml are up-to-date with the version you wish to upgrade to.

# Upgrade node to a newer Talos version
task talos:upgrade-node NODE=?
# e.g. task talos:upgrade HOSTNAME=k8s-0
# Upgrade cluster to a newer Kubernetes version
task talos:upgrade-k8s
# e.g. task talos:upgrade-k8s

🔧 Hardware

Name Device CPU OS Disk Data Disk(s) RAM OS Purpose
Fitz Dell Optiplex 3080 Micro i5-10500T 500GB NVMe 1TB SSD 32GB Talos K8S Control Plane
Nighteyes Dell Optiplex 3080 Micro i5-10500T 500GB NVMe 1TB SSD 32GB Talos K8S Control Plane
Chade Dell Optiplex 3080 Micro i5-10500T 500GB NVMe 1TB SSD 32GB Talos K8S Control Plane
Fool Dell Optiplex 3090 Micro i5-10500T 500GB NVMe 1TB SSD 64GB Talos K8S Worker
Burrich Dell Optiplex 3090 Micro i5-10500T 500GB NVMe 1TB SSD 64GB Talos K8S Worker
Bee Dell Optiplex 3090 Micro i5-10500T 500GB NVMe 1TB SSD 64GB Talos K8S Worker
Verity DIY NAS Ryzen 5 Pro 5650G 1TB NVMe 4*18TB + 2*22TB (mirrored vdevs) 32GB TrueNAS SCALE NAS (NFS/Backup)
Shrewd Synology DS1520+ - - 5*4TB (RAID 5) - - NAS (NFS/Backup)
Chivalry UniFi Dream Pro Max - - - - - Router
Molly UniFi Switch Pro Max 24 - - - - - 2.5Gb Switch

☁️ Cloud Services

Service Use Cost
Pushover Alerts & Notifications 5$ one-time purchase
Cloudflare Domain Free
GitHub Hosting this repository and continuous integration/deployments Free

🖥️ Tech Stack

Name Description
Kubernetes An open-source system for automating deployment, scaling, and management of containerized applications
FluxCD GitOps tool for deploying applications to Kubernetes
Talos Linux Talos Linux is Linux designed for Kubernetes
Cilium GitOps tool for deploying applications to Kubernetes
containerd Container runtime integrated with Talos Linux
CoreDNS A DNS server that operates via chained plugins
Prometheus Monitoring system and time series database
Helm The Kubernetes package manager
OpenEBS Container-attached storage
Rook Ceph Highly scalable distributed storage solution for block storage, object storage, and shared filesystems
OpenTelemetry Making robust, portable telemetry a built in feature of cloud-native software.
Cert Manager X.509 certificate management for Kubernetes
Grafana Analytics & monitoring solution for every database.
Loki Horizontally-scalable, highly-available, multi-tenant log aggregation system
Alloy Open source distribution of OpenTelemetry Collector that supports metrics, logs, traces, and profiles.
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号