mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-16 01:22:40 +02:00
feat: hosts/k8s - fix k3s cidr (#200)
This commit is contained in:
@@ -26,12 +26,13 @@
|
||||
# when cpu-manager's static policy is enabled
|
||||
# the memory we reserved here is also for the kernel, since kernel's memory is not accounted in pods
|
||||
"--system-reserved=cpu=1,memory=2Gi,ephemeral-storage=2Gi"
|
||||
|
||||
];
|
||||
k3sExtraArgs = [
|
||||
# IPv4 Private CIDR(full) - 172.16.0.0/12
|
||||
# IPv4 Pod CIDR(full) - fdfd:cafe:00:0000::/64 ~ fdfd:cafe:00:7fff::/64
|
||||
# IPv4 Service CIDR(full) - fdfd:cafe:00:8000::/64 ~ fdfd:cafe:00:ffff::/64
|
||||
"--cluster-cidr=172.16.0.0/16,fdfd:cafe:00:0001::/64"
|
||||
"--service-cidr=172.17.0.0/16,fdfd:cafe:00:8001::/112"
|
||||
# "--cluster-cidr=172.16.0.0/16,fdfd:cafe:00:0001::/64"
|
||||
# "--service-cidr=172.17.0.0/16,fdfd:cafe:00:8001::/112"
|
||||
];
|
||||
nodeLabels = [
|
||||
"node-purpose=kubevirt"
|
||||
|
||||
Reference in New Issue
Block a user