prometheus: prepare for rework
4 files changed, 47 insertions(+), 0 deletions(-) A monitoring/prometheus/configmap.yaml A monitoring/prometheus/deployment.yaml A monitoring/prometheus/kustomization.yaml A monitoring/prometheus/namespace.yaml
A monitoring/prometheus/configmap.yaml => monitoring/prometheus/configmap.yaml +8 -0
@@ 0,0 1,8 @@ apiVersion: v1 kind: ConfigMap metadata: name: configs data: prometheus.yml: | scrape_configs: # TODO
A monitoring/prometheus/deployment.yaml => monitoring/prometheus/deployment.yaml +20 -0
@@ 0,0 1,20 @@ apiVersion: apps/v1 kind: Deployment metadata: name: prometheus spec: strategy: type: Recreate replicas: 1 template: spec: containers: - name: prometheus image: quay.io/prometheus/prometheus:v3.1.0 volumeMounts: - name: configs mountPath: /etc/prometheus volumes: - name: configs configMap: name: configs
A monitoring/prometheus/kustomization.yaml => monitoring/prometheus/kustomization.yaml +12 -0
@@ 0,0 1,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: prometheus labels: - pairs: app: prometheus includeTemplates: true includeSelectors: true resources: - namespace.yaml - deployment.yaml - configmap.yaml
A monitoring/prometheus/namespace.yaml => monitoring/prometheus/namespace.yaml +7 -0