From 5e8b91d724e47cb77862280d2fc03dcdf601be15 Mon Sep 17 00:00:00 2001 From: Rafael Franzke Date: Tue, 7 May 2024 14:00:13 +0200 Subject: [PATCH 1/2] Adapt Prometheus rule and scrape config and Plutono dashboards --- .../templates/rbac.yaml | 9 +++++++ .../templates/{0helpers.tpl => _helpers.tpl} | 0 .../templates/configmap-dashboards.yaml | 12 +++++++++ .../templates/configmap-observability.yaml | 2 ++ .../templates/prometheusrule.yaml | 26 +++++++++++++++++++ .../templates/servicemonitor.yaml | 25 ++++++++++++++++++ .../shoot-cert-management-seed/values.yaml | 3 +++ example/controller-registration.yaml | 2 +- pkg/controller/actuator.go | 10 +++++++ 9 files changed, 88 insertions(+), 1 deletion(-) rename charts/internal/shoot-cert-management-seed/templates/{0helpers.tpl => _helpers.tpl} (100%) create mode 100644 charts/internal/shoot-cert-management-seed/templates/configmap-dashboards.yaml create mode 100644 charts/internal/shoot-cert-management-seed/templates/prometheusrule.yaml create mode 100644 charts/internal/shoot-cert-management-seed/templates/servicemonitor.yaml diff --git a/charts/gardener-extension-shoot-cert-service/templates/rbac.yaml b/charts/gardener-extension-shoot-cert-service/templates/rbac.yaml index 65529afce..cd5283df2 100644 --- a/charts/gardener-extension-shoot-cert-service/templates/rbac.yaml +++ b/charts/gardener-extension-shoot-cert-service/templates/rbac.yaml @@ -119,6 +119,15 @@ rules: - patch - update - delete +# TODO(rfranzke): Remove this after August 2024. +- apiGroups: + - apps + resources: + - statefulsets + verbs: + - get + - list + - watch --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/charts/internal/shoot-cert-management-seed/templates/0helpers.tpl b/charts/internal/shoot-cert-management-seed/templates/_helpers.tpl similarity index 100% rename from charts/internal/shoot-cert-management-seed/templates/0helpers.tpl rename to charts/internal/shoot-cert-management-seed/templates/_helpers.tpl diff --git a/charts/internal/shoot-cert-management-seed/templates/configmap-dashboards.yaml b/charts/internal/shoot-cert-management-seed/templates/configmap-dashboards.yaml new file mode 100644 index 000000000..2891d8846 --- /dev/null +++ b/charts/internal/shoot-cert-management-seed/templates/configmap-dashboards.yaml @@ -0,0 +1,12 @@ +{{- if .Values.gep19Monitoring }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: cert-controller-manager-dashboards + namespace: {{ .Release.Namespace }} + labels: + dashboard.monitoring.gardener.cloud/shoot: "true" +data: + cert-controller-manager-dashboard.json: |- +{{- .Files.Get "cert-dashboard.json" | nindent 4 }} +{{- end }} diff --git a/charts/internal/shoot-cert-management-seed/templates/configmap-observability.yaml b/charts/internal/shoot-cert-management-seed/templates/configmap-observability.yaml index c2fcfc695..0abef1b06 100644 --- a/charts/internal/shoot-cert-management-seed/templates/configmap-observability.yaml +++ b/charts/internal/shoot-cert-management-seed/templates/configmap-observability.yaml @@ -1,3 +1,4 @@ +{{- if not .Values.gep19Monitoring }} apiVersion: v1 kind: ConfigMap metadata: @@ -56,3 +57,4 @@ data: dashboard_users: | cert-controller-manager-dashboard.json: |- {{- .Files.Get "cert-dashboard.json" | nindent 6 }} +{{- end }} diff --git a/charts/internal/shoot-cert-management-seed/templates/prometheusrule.yaml b/charts/internal/shoot-cert-management-seed/templates/prometheusrule.yaml new file mode 100644 index 000000000..453216355 --- /dev/null +++ b/charts/internal/shoot-cert-management-seed/templates/prometheusrule.yaml @@ -0,0 +1,26 @@ +{{- if .Values.gep19Monitoring }} +{{- if gt .Values.configuration.certExpirationAlertDays 0.0 }} +apiVersion: monitoring.coreos.com/v1 +kind: PrometheusRule +metadata: + name: shoot-cert-controller-manager + namespace: {{ .Release.Namespace }} + labels: + prometheus: shoot +spec: + groups: + - name: cert-controller-manager.rules + rules: + - alert: SslCertificateWillExpireSoon + expr: ((cert_management_cert_object_expire > 0) - time()) / 86400 <= {{ .Values.configuration.certExpirationAlertDays }} + for: 30m + labels: + service: cert-controller-manager + severity: critical + type: seed + visibility: operator + annotations: + description: Certificate in namespace {{ .Release.Namespace }} will expire in less than {{ .Values.configuration.certExpirationAlertDays }} days. + summary: TLS certificate will expire in less than {{ .Values.configuration.certExpirationAlertDays }} days +{{- end }} +{{- end }} diff --git a/charts/internal/shoot-cert-management-seed/templates/servicemonitor.yaml b/charts/internal/shoot-cert-management-seed/templates/servicemonitor.yaml new file mode 100644 index 000000000..761647466 --- /dev/null +++ b/charts/internal/shoot-cert-management-seed/templates/servicemonitor.yaml @@ -0,0 +1,25 @@ +{{- if .Values.gep19Monitoring }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: shoot-cert-controller-manager + namespace: {{ .Release.Namespace }} + labels: + prometheus: shoot +spec: + selector: + matchLabels: + app.kubernetes.io/name: {{ include "cert-management.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + endpoints: + - port: metrics + relabelings: + - action: labelmap + regex: __meta_kubernetes_service_label_(.+) + metricRelabelings: + - sourceLabels: + - __name__ + action: keep + regex: ^(cert_management_.+)$ + honorLabels: false +{{- end }} diff --git a/charts/internal/shoot-cert-management-seed/values.yaml b/charts/internal/shoot-cert-management-seed/values.yaml index 21a26c901..3c654345f 100644 --- a/charts/internal/shoot-cert-management-seed/values.yaml +++ b/charts/internal/shoot-cert-management-seed/values.yaml @@ -86,3 +86,6 @@ additionalConfiguration: - --kubeconfig.disable-deploy-crds - --source.disable-deploy-crds - --target.disable-deploy-crds + +# TODO(rfranzke): Remove this field after August 2024. +gep19Monitoring: false diff --git a/example/controller-registration.yaml b/example/controller-registration.yaml index b6e389d76..4830d447d 100644 --- a/example/controller-registration.yaml +++ b/example/controller-registration.yaml @@ -5,7 +5,7 @@ metadata: name: extension-shoot-cert-service type: helm providerConfig: - chart: H4sIAAAAAAAAA+w9a3fbtpL9Wv0KrNIcJ25I2fKrq7Ppvaqspj6NH2u53u25uU0hEpZY83UJUo6a2/3tOwOAJMSHRCmJk7RGG5kCgcFgZjAzAAbQhEY281lksDcx87kT+AafBkFsWCyKDc6imWOxzhfvlHYgHR0ciL+Qin/F8+7e/m73oHt4iPm7RztHR1+Qg3drtllK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PqhVdZWR5mQvaRG9uVY7MZwv/6vhyxubY/KTIngy10s7ARUs3V4PTpGay2K8Qa6FRgBGGAP5e/C1HgOYUbQYuIlnNkua3pfDVbv8D3l/skt+4vnN2ufmKF0rU1AtZmp8LsamVODDsDh7iJ/3b2tdRSSy211FJLLUJ+ABiHBDUAoAAA values: image: tag: v1.44.0-dev diff --git a/pkg/controller/actuator.go b/pkg/controller/actuator.go index c970d7e21..21d4ac571 100644 --- a/pkg/controller/actuator.go +++ b/pkg/controller/actuator.go @@ -24,6 +24,7 @@ import ( kutil "github.com/gardener/gardener/pkg/utils/kubernetes" "github.com/gardener/gardener/pkg/utils/managedresources" "github.com/go-logr/logr" + appsv1 "k8s.io/api/apps/v1" autoscalingv1 "k8s.io/api/autoscaling/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -316,6 +317,15 @@ func (a *actuator) createSeedResources(ctx context.Context, certConfig *service. cfg["privateKeyDefaults"] = defaults } + // TODO(rfranzke): Delete this after August 2024. + gep19Monitoring := a.client.Get(ctx, client.ObjectKey{Name: "prometheus-shoot", Namespace: namespace}, &appsv1.StatefulSet{}) == nil + if gep19Monitoring { + if err := kutil.DeleteObject(ctx, a.client, &corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "cert-controller-manager-observability-config", Namespace: namespace}}); err != nil { + return fmt.Errorf("failed deleting cert-controller-manager-observability-config ConfigMap: %w", err) + } + } + certManagementConfig["gep19Monitoring"] = gep19Monitoring + certManagementConfig, err = chart.InjectImages(certManagementConfig, imagevector.ImageVector(), []string{v1alpha1.CertManagementImageName}) if err != nil { return fmt.Errorf("failed to find image version for %s: %v", v1alpha1.CertManagementImageName, err) From b809f0057d31b8ba862e0f2b40b666ba7e43a97c Mon Sep 17 00:00:00 2001 From: Rafael Franzke Date: Fri, 10 May 2024 07:48:05 +0200 Subject: [PATCH 2/2] Address PR review feedback --- .../templates/{_helpers.tpl => 0helpers.tpl} | 3 +++ 1 file changed, 3 insertions(+) rename charts/internal/shoot-cert-management-seed/templates/{_helpers.tpl => 0helpers.tpl} (82%) diff --git a/charts/internal/shoot-cert-management-seed/templates/_helpers.tpl b/charts/internal/shoot-cert-management-seed/templates/0helpers.tpl similarity index 82% rename from charts/internal/shoot-cert-management-seed/templates/_helpers.tpl rename to charts/internal/shoot-cert-management-seed/templates/0helpers.tpl index 3cbddde15..2b031dc02 100644 --- a/charts/internal/shoot-cert-management-seed/templates/_helpers.tpl +++ b/charts/internal/shoot-cert-management-seed/templates/0helpers.tpl @@ -1,3 +1,6 @@ +{{/* HINT: This file is intentionally NOT called _helpers.tpl (as usual) since this Helm chart is embedded via go embed. */}} +{{/* HINT: go embed does not support hidden files, hence, _helpers.tpl cannot be used as name. */}} + {{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart.