Commit Graph
52 Commits
Author SHA1 Message Date
Ruakij 66657f3917 kubernetes: k3s resolv-conf from fixed nameservers 1.1.1.1 and 9.9.9.9 instead of a copy of the node 2026-10-27 15:24:48 +00:00
Ruakij f67edd7a07 kubernetes: routingtabletowg 0.3.0 from ghcr, digest-pinned, syncs only the main table 2026-10-26 19:15:46 +00:00
Ruakij 7bed387ece kubernetes: kubelet_reserved comment names group_vars as the place of the values 2026-10-25 14:49:20 +00:00
Ruakij 8a0c8fb31b kubernetes: kubelet_reserved drop-in 30-reserved.conf and a k3s restart handler that runs only with k3s_restart_allowed 2026-10-25 14:44:22 +00:00
Ruakij c49fd28b76 kubernetes: kubelet_memory writes a KubeletConfiguration drop-in 20-memory.conf for memory reservation and eviction, off by default 2026-10-25 09:57:22 +00:00
Ruakij 5cac169224 Give system.slice and the k3s unit CPUWeight 1000 so the control plane wins CPU against pods 2026-10-23 21:14:13 +00:00
Ruakij c8cac22d12 Run the cilium status check in check mode too and never report it as changed 2026-10-09 14:37:30 +00:00
Ruakij 6fe03c5f70 Skip the cilium CLI download when it is installed already 2026-10-09 14:37:30 +00:00
Ruakij 15b4e54bd5 Read resolv.conf for the k3s nameservers in check mode too 2026-10-09 14:37:30 +00:00
Ruakij c016459922 Write the k3s registries.yaml only on a semantic change 2026-10-09 14:37:29 +00:00
Ruakij 4d1725f17f Deploy a registries.yaml from registries_config on k3s servers and restart k3s on its change 2026-10-09 14:37:29 +00:00
Ruakij 80658c632f Add the cilium network plugin to the kubernetes role, disabling servicelb, and collect the disabled k3s components in one disable list 2026-10-09 14:37:29 +00:00
Ruakij 60b67f748e Install the k3s servers one at a time with retries from the latest channel, enable the service and link the kubeconfig to ~/.kube/config 2026-10-09 14:37:28 +00:00
Ruakij 4a76aa3a2e Set node-name, node-external-ip and labels_extra in the k3s config and config_extra for agents 2026-10-09 14:37:27 +00:00
Ruakij e9f1153482 Add clean_resolv_conf to the kubernetes role to give k3s a resolv.conf with only the nameserver lines 2026-10-09 14:37:27 +00:00
Ruakij ca1fcc16b6 Fall back to the default IPv4 and IPv6 address when the k3s node IP interface has none 2026-10-09 14:37:27 +00:00
Ruakij fb94fd5997 Deploy the calico operator v3.28.0 2026-10-09 14:37:26 +00:00
Ruakij 713d38d77d Shrink the default IPv6 cluster CIDR of k3s to fd42::/112 2026-10-09 14:37:26 +00:00
Ruakij bc71066de1 Run the k3s install of the kubernetes role only on target_host when it is set 2026-10-09 14:37:26 +00:00
Ruakij 5eae9ca348 Drop the docker dependency and the helm install from the kubernetes role 2026-10-09 14:37:25 +00:00
Ruakij 23ed82b113 Own the k3s config.yaml in the kubernetes role template, write it only on a semantic change and run the installer only when the pinned k3s version differs 2026-10-09 14:13:21 +00:00
Ruakij 37e21ead36 Expose the etcd metrics on the node IP of the etcd members of k3s 2026-10-09 12:56:24 +00:00
Ruakij 2798853153 Raise the inotify limits of the k3s nodes to 65536 instances and 4194304 watches, except in LXC 2026-10-09 12:55:46 +00:00
Ruakij e9ba272d70 Manage the kubelet image garbage collection drop-in and its config-dir kubelet-arg in the kubernetes role 2026-10-09 12:54:41 +00:00
Ruakij 093612f3a7 Change restart-check to started/restarted check 2023-04-14 10:20:16 +02:00
Ruakij a92409c56f Add failed_when to deploy calico operator 2023-04-14 10:01:42 +02:00
Ruakij f50e3ac33c Use first node's IP for joining cluster 2023-04-14 09:50:39 +02:00
Ruakij 668ff23ee6 Fix service task wrong usage 2023-04-14 09:42:46 +02:00
Ruakij c2c6a2872f Fix conditional for changed after install 2023-04-12 23:12:10 +02:00
Ruakij c1c7ec9e56 Remove workaround as k3s is now at 1.26 2023-04-12 22:39:43 +02:00
Ruakij 550f6868ff Fix old usage of network_plugin var 2023-04-12 20:49:38 +02:00
Ruakij c8f90f0f8d Update calico 2023-04-05 20:15:31 +02:00
Ruakij 41570ea40d Create new block for network-stuff 2023-04-05 20:14:36 +02:00
Ruakij a3c887748a Move network-helper to own file independend from calico 2023-04-05 20:14:12 +02:00
Ruakij d113625fa8 Fix env-value not being string 2023-04-05 20:08:25 +02:00
Ruakij dadd077723 Fix service and conditional 2023-04-05 14:13:22 +02:00
Ruakij 0d43d07ad4 Add extra-config option 2023-04-05 14:12:56 +02:00
Ruakij d6f8f975bb Reload when config changed, but install already done 2023-04-05 13:32:14 +02:00
Ruakij 7c86a5d77d Add register for config 2023-04-05 13:30:22 +02:00
Ruakij 8c4e3c2401 Update routingtabletowg and use new sync feature 2023-03-30 14:54:49 +02:00
Ruakij b46d35c8a5 Add labels 2023-03-30 14:54:28 +02:00
Ruakij 791ad96849 Add ipv6-check to calico deploy 2023-03-19 15:17:45 +01:00
Ruakij fc3d9845d6 Fix undeterministic node-selection but uses group 2023-03-19 15:17:02 +01:00
Ruakij 590b75ac23 Add quotes to token-usage for special chars 2023-03-19 14:01:19 +01:00
Ruakij 0c82504299 Separate getting name and ips to fix bug easily 2023-03-19 14:00:46 +01:00
Ruakij 2fee9a1747 Only enable ipv6 when available and activated 2023-03-19 14:00:15 +01:00
Ruakij fb44c39969 Add install of often-used packets 2023-03-19 13:58:47 +01:00
Ruakij 5452303992 Remove netmaker from dependency 2023-03-19 13:58:05 +01:00
Ruakij 4321d78cf8 Add comments to variables 2023-03-19 13:57:57 +01:00
Ruakij f9a859e95c Add ingress-option 2023-03-19 13:56:26 +01:00