diff --git a/webhosting-operator/config/monitoring/kube-prometheus/kustomization.yaml b/webhosting-operator/config/monitoring/kube-prometheus/kustomization.yaml index dce10b9e..628d5523 100644 --- a/webhosting-operator/config/monitoring/kube-prometheus/kustomization.yaml +++ b/webhosting-operator/config/monitoring/kube-prometheus/kustomization.yaml @@ -47,7 +47,6 @@ resources: - prometheus-clusterRole.yaml - prometheus-clusterRoleBinding.yaml - prometheus-networkPolicy.yaml -- prometheus-podDisruptionBudget.yaml - prometheus-prometheus.yaml - prometheus-prometheusRule.yaml - prometheus-roleBindingConfig.yaml diff --git a/webhosting-operator/config/monitoring/kube-prometheus/prometheus-podDisruptionBudget.yaml b/webhosting-operator/config/monitoring/kube-prometheus/prometheus-podDisruptionBudget.yaml deleted file mode 100644 index 7e3e656f..00000000 --- a/webhosting-operator/config/monitoring/kube-prometheus/prometheus-podDisruptionBudget.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: policy/v1 -kind: PodDisruptionBudget -metadata: - labels: - app.kubernetes.io/component: prometheus - app.kubernetes.io/instance: k8s - app.kubernetes.io/name: prometheus - app.kubernetes.io/part-of: kube-prometheus - app.kubernetes.io/version: 2.41.0 - name: prometheus-k8s - namespace: monitoring -spec: - minAvailable: 1 - selector: - matchLabels: - app.kubernetes.io/component: prometheus - app.kubernetes.io/instance: k8s - app.kubernetes.io/name: prometheus - app.kubernetes.io/part-of: kube-prometheus diff --git a/webhosting-operator/config/monitoring/update.sh b/webhosting-operator/config/monitoring/update.sh index 8da477cc..4cf5d003 100755 --- a/webhosting-operator/config/monitoring/update.sh +++ b/webhosting-operator/config/monitoring/update.sh @@ -61,6 +61,8 @@ rm -rf setup rm alertmanager-*.yaml # this will override metrics-server APIService (conflicts with gardener-resource-manager), drop it rm prometheusAdapter-apiService.yaml +# PDB with minAvailable=1 for a single-replica StatefulSet blocks rolling node upgrades forever +rm prometheus-podDisruptionBudget.yaml cat < README.md The manifests in this directory were downloaded from diff --git a/webhosting-operator/shoot.yaml b/webhosting-operator/shoot.yaml index 43dfaab2..c9d40576 100644 --- a/webhosting-operator/shoot.yaml +++ b/webhosting-operator/shoot.yaml @@ -18,7 +18,7 @@ spec: nodeCIDRMaskSize: 20 kubeProxy: mode: IPTables - version: "1.26" + version: "1.27" verticalPodAutoscaler: enabled: true maintenance: