From 1c06faf207a704c0b450060f106ddb23d2c823c5 Mon Sep 17 00:00:00 2001 From: paulfantom <pawel@krupa.net.pl> Date: Tue, 5 Jan 2021 16:39:49 +0100 Subject: [PATCH] manifests: regenerate --- manifests/blackbox-exporter-configuration.yaml | 5 +++++ manifests/blackbox-exporter-deployment.yaml | 17 +++++++++++++++-- manifests/blackbox-exporter-service.yaml | 6 +++++- manifests/blackbox-exporter-serviceMonitor.yaml | 6 +++++- 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/manifests/blackbox-exporter-configuration.yaml b/manifests/blackbox-exporter-configuration.yaml index 7af052c5..0f5b03eb 100644 --- a/manifests/blackbox-exporter-configuration.yaml +++ b/manifests/blackbox-exporter-configuration.yaml @@ -42,5 +42,10 @@ data: "preferred_ip_protocol": "ip4" kind: ConfigMap metadata: + labels: + app.kubernetes.io/component: exporter + app.kubernetes.io/name: blackbox-exporter + app.kubernetes.io/part-of: kube-prometheus + app.kubernetes.io/version: 0.18.0 name: blackbox-exporter-configuration namespace: monitoring diff --git a/manifests/blackbox-exporter-deployment.yaml b/manifests/blackbox-exporter-deployment.yaml index ca71dafb..9c0ec4c0 100644 --- a/manifests/blackbox-exporter-deployment.yaml +++ b/manifests/blackbox-exporter-deployment.yaml @@ -2,20 +2,26 @@ apiVersion: apps/v1 kind: Deployment metadata: labels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter - app.kubernetes.io/version: v0.18.0 + app.kubernetes.io/part-of: kube-prometheus + app.kubernetes.io/version: 0.18.0 name: blackbox-exporter namespace: monitoring spec: replicas: 1 selector: matchLabels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter + app.kubernetes.io/part-of: kube-prometheus template: metadata: labels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter - app.kubernetes.io/version: v0.18.0 + app.kubernetes.io/part-of: kube-prometheus + app.kubernetes.io/version: 0.18.0 spec: containers: - args: @@ -71,6 +77,13 @@ spec: ports: - containerPort: 9115 name: https + resources: + limits: + cpu: 20m + memory: 40Mi + requests: + cpu: 10m + memory: 20Mi securityContext: runAsGroup: 65532 runAsNonRoot: true diff --git a/manifests/blackbox-exporter-service.yaml b/manifests/blackbox-exporter-service.yaml index 5a693e2b..8b568e27 100644 --- a/manifests/blackbox-exporter-service.yaml +++ b/manifests/blackbox-exporter-service.yaml @@ -2,8 +2,10 @@ apiVersion: v1 kind: Service metadata: labels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter - app.kubernetes.io/version: v0.18.0 + app.kubernetes.io/part-of: kube-prometheus + app.kubernetes.io/version: 0.18.0 name: blackbox-exporter namespace: monitoring spec: @@ -15,4 +17,6 @@ spec: port: 19115 targetPort: http selector: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter + app.kubernetes.io/part-of: kube-prometheus diff --git a/manifests/blackbox-exporter-serviceMonitor.yaml b/manifests/blackbox-exporter-serviceMonitor.yaml index b4b78091..ab7b5038 100644 --- a/manifests/blackbox-exporter-serviceMonitor.yaml +++ b/manifests/blackbox-exporter-serviceMonitor.yaml @@ -2,8 +2,10 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter - app.kubernetes.io/version: v0.18.0 + app.kubernetes.io/part-of: kube-prometheus + app.kubernetes.io/version: 0.18.0 name: blackbox-exporter namespace: monitoring spec: @@ -17,4 +19,6 @@ spec: insecureSkipVerify: true selector: matchLabels: + app.kubernetes.io/component: exporter app.kubernetes.io/name: blackbox-exporter + app.kubernetes.io/part-of: kube-prometheus -- GitLab