feat: Configuration stockage local et token K3S partagé
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Successful in 2m12s
CD - Deploy Infrastructure / Deploy on pve2 (push) Successful in 2m11s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m28s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Successful in 5m3s
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Successful in 2m12s
CD - Deploy Infrastructure / Deploy on pve2 (push) Successful in 2m11s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m28s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Successful in 5m3s
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
- Passage stockage local-nvme pour acemagician et elitedesk (40G) - Token K3S partagé via cloud-init pour cluster HA - Configuration FluxCD avec GitRepository Forgejo - Déploiement Hello World via FluxCD - Manifestes Kubernetes pour application demo
This commit is contained in:
parent
a818aab4be
commit
3b5f1fc2d2
17 changed files with 193 additions and 84 deletions
|
|
@ -1,44 +1,32 @@
|
|||
---
|
||||
# Global variables for all nodes
|
||||
|
||||
# K3s Configuration
|
||||
k3s_version: "v1.28.5+k3s1"
|
||||
k3s_install_url: "https://get.k3s.io"
|
||||
|
||||
# K3s Server Configuration
|
||||
k3s_server_1_ip: "10.100.20.10"
|
||||
k3s_server_2_ip: "10.100.20.20"
|
||||
k3s_witness_ip: "10.100.20.30"
|
||||
|
||||
# K3s token (shared between servers)
|
||||
# In production, this should be stored in a vault
|
||||
k3s_token_file: "/etc/rancher/k3s/token"
|
||||
|
||||
# Network Configuration
|
||||
pod_cidr: "10.42.0.0/16"
|
||||
service_cidr: "10.43.0.0/16"
|
||||
cluster_dns: "10.43.0.10"
|
||||
|
||||
# System Configuration
|
||||
timezone: "Europe/Paris"
|
||||
swap_enabled: false
|
||||
|
||||
# Unattended Upgrades Configuration
|
||||
unattended_upgrades_enabled: true
|
||||
unattended_upgrades_automatic_reboot: true
|
||||
unattended_upgrades_automatic_reboot_with_users: false
|
||||
|
||||
# Reboot schedule (staggered to maintain availability)
|
||||
reboot_schedule:
|
||||
k3s-server-1: "02:00"
|
||||
k3s-server-2: "04:00"
|
||||
etcd-witness: "06:00"
|
||||
|
||||
# FluxCD Configuration
|
||||
flux_version: "v2.2.0"
|
||||
flux_namespace: "flux-system"
|
||||
|
||||
# System packages to install on all nodes
|
||||
common_packages:
|
||||
- curl
|
||||
- wget
|
||||
|
|
@ -52,7 +40,6 @@ common_packages:
|
|||
- python3
|
||||
- python3-pip
|
||||
|
||||
# Kernel parameters for K3s
|
||||
sysctl_config:
|
||||
net.bridge.bridge-nf-call-iptables: 1
|
||||
net.bridge.bridge-nf-call-ip6tables: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue