mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-17 23:14:07 +01:00
fix(k3s cluster): fix typo, remove traefik
This commit is contained in:
@@ -27,7 +27,7 @@ full featured(see [what-have-k3s-removed-from-upstream-kubernetes] for details).
|
||||
## Kubernetes Resources
|
||||
|
||||
Kubernetes resources are deployed and managed separately through
|
||||
[nix-config/pulumi/k8s/](../../pulumi/k8s/).
|
||||
[ryan4yin/k8s-gitops](https://github.com/ryan4yin/k8s-gitops).
|
||||
|
||||
[k3s]: https://github.com/k3s-io/k3s/
|
||||
[what-have-k3s-removed-from-upstream-kubernetes]:
|
||||
|
||||
@@ -35,8 +35,9 @@ in {
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --node-taint=CriticalAddonsOnly=true:NoExecute" # prevent workloads from running on the master
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,8 +23,9 @@ in {
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --node-taint=CriticalAddonsOnly=true:NoExecute" # prevent workloads from running on the master
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,8 +23,9 @@ in {
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --node-taint=CriticalAddonsOnly=true:NoExecute" # prevent workloads from running on the master
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,8 +34,9 @@ in {
|
||||
+ " --service-node-port-range 80-32767"
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,8 +34,9 @@ in {
|
||||
+ " --service-node-port-range 80-32767"
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,8 +34,9 @@ in {
|
||||
+ " --service-node-port-range 80-32767"
|
||||
+ " --kube-apiserver-arg='--allow-privileged=true'" # required by kubevirt
|
||||
+ " --data-dir /var/lib/rancher/k3s"
|
||||
+ " --disable-helm-controller"
|
||||
+ " --disable-helm-controller" # we use fluxcd instead
|
||||
+ " --disable=traefik" # deploy our own ingress controller instead
|
||||
+ " --etcd-expose-metrics true"
|
||||
+ ''--etcd-snapshot-schedule-cron "0 */12 * * *"'';
|
||||
+ " --etcd-snapshot-schedule-cron '0 */12 * * *'";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user