- Dec 17, 2023
-
-
Botaniker (Bot) authored
-
- Nov 18, 2023
-
-
Botaniker (Bot) authored
-
- Oct 07, 2023
-
-
Botaniker (Bot) authored
-
- Oct 06, 2023
-
-
Botaniker (Bot) authored
-
- Jul 01, 2023
-
-
Sheogorath authored
-
- Jun 18, 2023
-
-
Botaniker (Bot) authored
-
- Jun 08, 2023
-
-
Sheogorath authored
-
- Jun 03, 2023
-
-
Sheogorath authored
-
Sheogorath authored
This patch fixes the broken garbage collection that is caused by a bug in the current calico release. This is done by manually upgrading to a newer patch release of the tigera operator which incorporates a fix. The garbage collection is currently broken due to a missing permissions to 'projectcalico.org/v3 Resource=bgpfilters' which results in a stalled cache sync for the kube-controller-manager garbage collector. Error logs: ``` graph_builder.go:281] garbage controller monitor not yet synced: projectcalico.org/v3, Resource=bgpfilters … garbagecollector.go:250] timed out waiting for dependency graph builder sync during GC sync (attempt 43) ``` References https://github.com/projectcalico/calico/issues/7715 https://github.com/kubernetes/kubernetes/blob/bb878608686a6276cefec3f51bee5d79b0c8c393/pkg/controller/garbagecollector/garbagecollector.go#L143-L175
-
- May 28, 2023
-
-
Botaniker (Bot) authored
-
- Apr 01, 2023
-
-
Botaniker (Bot) authored
-
- Mar 18, 2023
-
-
Sheogorath authored
-
Sheogorath authored
-
- Jan 18, 2023
-
-
Botaniker (Bot) authored
-
- Nov 09, 2022
-
-
Botaniker (Bot) authored
-
- Oct 29, 2022
-
-
Sheogorath authored
This patch downgrades the tigera operator to an older version, since calico currently shows some weird error. Until further debugged, this is blocking other updates. This reverts commit 331561d5.
-
- Oct 26, 2022
-
-
Botaniker (Bot) authored
-
- Oct 19, 2022
-
-
Sheogorath authored
-
Sheogorath authored
This patch enables explicit pod security standards on all infrastructure namespaces.
-
- Aug 28, 2022
-
-
Botaniker (Bot) authored
-
- Jul 25, 2022
-
-
Sheogorath authored
This patch prepares the switch to Kubernetes 1.24.x which switches to PSS instead of PSP. Therefore it's a good start to prepare our most important namespaces with the relevant labels to allow Pods to use privileged runtime features. References: https://kubernetes.io/docs/concepts/security/pod-security-standards/ https://v1-23.docs.kubernetes.io/docs/concepts/security/pod-security-policy/ https://v1-23.docs.kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/
-
Botaniker (Bot) authored
-
- Jun 25, 2022
-
-
Botaniker (Bot) authored
-
- May 19, 2022
-
-
Botaniker (Bot) authored
-
- May 14, 2022
-
-
Sheogorath authored
This patch Upgrades calico to version 3.23.0, which is a complicated endeavour since it switches the helm release namespaces from default to tigera-operator. Besides the regular upgrade tasks, this reqires some explicit adjusting of helm annotations and flux labels, in order to convince the cluster, that's how it always has been. The following tasks need to be done: Before you start --- Disable flux: ``` kubectl scale deployment -n flux-system source-controller --replicas 0 kubectl scale deployment -n flux-system helm-controller --replicas 0 kubectl scale deployment -n flux-system kustomize-controller --replicas 0 ``` The upgrade --- Push/merge this patch. (!!!) Update helm release annotations: ``` kubectl patch installation default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch apiserver default --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch podsecuritypolicy tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch -n tigera-operator deployment tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch -n tigera-operator serviceaccount tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch clusterrole tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' kubectl patch clusterrolebinding tigera-operator tigera-operator --type=merge -p '{"metadata": {"annotations": {"meta.helm.sh/release-namespace": "tigera-operator"}}}' ``` Patch flux labels: ``` kubectl patch installation default --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch apiserver default --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch podsecuritypolicy tigera-operator --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch -n tigera-operator deployment tigera-operator --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch -n tigera-operator serviceaccount tigera-operator --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch clusterrole tigera-operator --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' kubectl patch clusterrolebinding tigera-operator tigera-operator --type=merge -p '{"metadata": {"labels": {"helm.toolkit.fluxcd.io/namespace": "tigera-operator"}}}' ``` Remove flux labels from namespace: ``` kubectl label namespace tigera-operator helm.toolkit.fluxcd.io/namespace- ``` Get values: ``` helm get values -n default calico > values.yaml ``` Install calico: ``` helm repo add projectcalico https://projectcalico.docs.tigera.io/charts helm install calico projectcalico/tigera-operator --version v3.23.0 --namespace tigera-operator --values values.yaml ``` Migrate flux helmrelease: ``` kubectl apply -n tigera-operator -f bootstrap/calico/release.yaml kubectl patch helmrelease calico --type=json -p="[{'op': 'remove', 'path': '/metadata/finalizers'}]" -n default kubectl delete helmrelease -n default calico ``` Delete old helm install: ``` kubectl delete secret -n default -l name=calico -l owner=helm ``` Starting flux again --- ``` kubectl scale deployment -n flux-system source-controller --replicas 1 kubectl scale deployment -n flux-system helm-controller --replicas 1 kubectl scale deployment -n flux-system kustomize-controller --replicas 1 ``` References: https://projectcalico.docs.tigera.io/archive/v3.23/release-notes/
-
- Apr 20, 2022
-
-
Sheogorath authored
-
- Apr 16, 2022
-
-
Botaniker (Bot) authored
-
- Mar 04, 2022
-
-
Botaniker (Bot) authored
-
- Feb 06, 2022
-
-
Sheogorath authored
Turns out the problem was based in the wiretrustee usage, that confused calico, resulting in double-tunneling. This reverts commit 8a519732.
-
Sheogorath authored
With wireguard it's suggested to set the MTU to 60 bytes less than the general MTU of the interfaces. the general interfaces have a standard MTU of 1500. References: https://projectcalico.docs.tigera.io/networking/mtu#determine-mtu-size
-
- Feb 04, 2022
-
-
Sheogorath authored
-
- Feb 03, 2022
-
-
Sheogorath authored
This patch adds a broader networkpolicy for system-upgrades namespace, which should ensure network access within the namespace.
-
Sheogorath authored
It's the 3rd update of kyverno and each time, things break in minor version. This is no modi operandi for this setup. Things are supposed to be stable and solid to work with. Kyverno is too unstable for this use-case. This time the installation of the pods failed due to wrong deployment names. This is nothing we change or adjust. Further the removal doesn't have any major impact on the platform, since network policies are already deployed via gitops from the `shared/` directory. BREAKING CHANGE: Removing kyverno and related CRDs/APIs.
-
- Feb 02, 2022
-
-
Botaniker (Bot) authored
-
- Feb 01, 2022
-
-
Sheogorath authored
-
Sheogorath authored
Turns out, doesn't work as expected. This reverts commit c11ca652.
-
Sheogorath authored
-
Sheogorath authored
-
Sheogorath authored
-
- Jan 31, 2022
-
-
Botaniker (Bot) authored
-