From 89f6969ed8b1600cae1721a8b6aa2a81e6c64078 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Mon, 15 Dec 2025 18:55:17 +0000 Subject: [PATCH] chore: Update manifests after change --- ...sReplication-redis-replication-harbor.yaml | 18 +++++++++------ .../RedisSentinel-redis-sentinel-harbor.yaml | 12 +++++++--- ...rviceMonitor-redis-replication-harbor.yaml | 7 ++++-- .../ServiceMonitor-redis-sentinel-harbor.yaml | 22 +++++++++++++++++++ 4 files changed, 47 insertions(+), 12 deletions(-) create mode 100644 clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-sentinel-harbor.yaml diff --git a/clusters/cl01tl/manifests/harbor/RedisReplication-redis-replication-harbor.yaml b/clusters/cl01tl/manifests/harbor/RedisReplication-redis-replication-harbor.yaml index 06ec59a81..9901260f6 100644 --- a/clusters/cl01tl/manifests/harbor/RedisReplication-redis-replication-harbor.yaml +++ b/clusters/cl01tl/manifests/harbor/RedisReplication-redis-replication-harbor.yaml @@ -4,29 +4,33 @@ metadata: name: redis-replication-harbor namespace: harbor labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-harbor app.kubernetes.io/instance: harbor app.kubernetes.io/part-of: harbor spec: clusterSize: 3 podSecurityContext: - runAsUser: 1000 fsGroup: 1000 + runAsUser: 1000 kubernetesConfig: - image: quay.io/opstree/redis:v8.4.0 + image: "quay.io/opstree/redis:v8.4.0" imagePullPolicy: IfNotPresent resources: requests: - cpu: 50m - memory: 128Mi + cpu: 10m + memory: 32Mi storage: volumeClaimTemplate: spec: - storageClassName: ceph-block - accessModes: ["ReadWriteOnce"] + accessModes: + - ReadWriteOnce resources: requests: storage: 1Gi + storageClassName: ceph-block redisExporter: enabled: true - image: quay.io/opstree/redis-exporter:v1.80.1 + image: "quay.io/opstree/redis-exporter:v1.80.1" diff --git a/clusters/cl01tl/manifests/harbor/RedisSentinel-redis-sentinel-harbor.yaml b/clusters/cl01tl/manifests/harbor/RedisSentinel-redis-sentinel-harbor.yaml index 973437957..357d0627f 100644 --- a/clusters/cl01tl/manifests/harbor/RedisSentinel-redis-sentinel-harbor.yaml +++ b/clusters/cl01tl/manifests/harbor/RedisSentinel-redis-sentinel-harbor.yaml @@ -4,20 +4,26 @@ metadata: name: redis-sentinel-harbor namespace: harbor labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-sentinel-harbor app.kubernetes.io/instance: harbor app.kubernetes.io/part-of: harbor spec: clusterSize: 3 podSecurityContext: - runAsUser: 1000 fsGroup: 1000 + runAsUser: 1000 redisSentinelConfig: redisReplicationName: redis-replication-harbor kubernetesConfig: - image: quay.io/opstree/redis-sentinel:v8.4.0 + image: "quay.io/opstree/redis-sentinel:v8.4.0" imagePullPolicy: IfNotPresent resources: requests: cpu: 10m - memory: 128Mi + memory: 32Mi + redisExporter: + enabled: true + image: "quay.io/opstree/redis-exporter:v1.80.1" diff --git a/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-replication-harbor.yaml b/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-replication-harbor.yaml index 5e75f00fb..e7b984602 100644 --- a/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-replication-harbor.yaml +++ b/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-replication-harbor.yaml @@ -4,15 +4,18 @@ metadata: name: redis-replication-harbor namespace: harbor labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis-replication-harbor app.kubernetes.io/instance: harbor app.kubernetes.io/part-of: harbor - redis-operator: "true" - env: production spec: selector: matchLabels: + app: redis-replication-harbor redis_setup_type: replication + role: replication endpoints: - port: redis-exporter interval: 30s diff --git a/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-sentinel-harbor.yaml b/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-sentinel-harbor.yaml new file mode 100644 index 000000000..e16bcb64d --- /dev/null +++ b/clusters/cl01tl/manifests/harbor/ServiceMonitor-redis-sentinel-harbor.yaml @@ -0,0 +1,22 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: redis-sentinel-harbor + namespace: harbor + labels: + helm.sh/chart: redis-replication-0.5.0 + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: redis-sentinel-harbor + app.kubernetes.io/instance: harbor + app.kubernetes.io/part-of: harbor +spec: + selector: + matchLabels: + app: redis-sentinel-harbor + redis_setup_type: sentinel + role: sentinel + endpoints: + - port: sentinel-client + interval: 30s + scrapeTimeout: 10s -- 2.49.1