prometheus: prepare for other thanos components
3 files changed, 21 insertions(+), 1 deletions(-) M monitoring/prometheus/deployment.yaml M monitoring/prometheus/kustomization.yaml A monitoring/prometheus/service.yaml
M monitoring/prometheus/deployment.yaml => monitoring/prometheus/deployment.yaml +5 -1
@@ 6,12 6,16 @@ spec: strategy: type: Recreate replicas: 1 selector: matchLabels: component: prometheus template: metadata: annotations: prometheus.xdavidwu.link/instance: main labels: metrics: metrics component: prometheus spec: containers: @@ - name: prometheus 36,7 40,7 @@ spec: mountPath: /prometheus - name: configs mountPath: /etc/prometheus - name: thanos-sidecar - name: sidecar image: quay.io/thanos/thanos:THANOS_VERSION args: - sidecar
M monitoring/prometheus/kustomization.yaml => monitoring/prometheus/kustomization.yaml +1 -0
@@ 12,6 12,7 @@ images: resources: - namespace.yaml - deployment.yaml - service.yaml - configmap.yaml - serviceaccount.yaml - clusterrole.yaml
A monitoring/prometheus/service.yaml => monitoring/prometheus/service.yaml +15 -0