diff --git a/monitor/prometheus/index.yaml b/monitor/prometheus/index.yaml index 1d734fb..0e14662 100644 --- a/monitor/prometheus/index.yaml +++ b/monitor/prometheus/index.yaml @@ -6,11 +6,61 @@ metadata: name: prometheus description: null options: + ingress-class: + default: traefik + examples: + - traefik + type: string + logLevel: + default: info + examples: + - info + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + enableAdminAPI: + default: false + examples: + - false + type: boolean + listenLocal: + default: false + examples: + - false + type: boolean issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string + shards: + default: 1 + examples: + - 1 + type: integer + retention: + default: 10d + examples: + - 10d + type: string + domain: + default: your-company + examples: + - your-company + type: string + sub-domain: + default: prometheus + examples: + - prometheus + type: string + app-group: + default: monitor + examples: + - monitor + type: string images: default: prometheus: @@ -50,61 +100,11 @@ options: type: string type: object type: object - domain: - default: your-company - examples: - - your-company - type: string - listenLocal: - default: false - examples: - - false - type: boolean - enableAdminAPI: - default: false - examples: - - false - type: boolean - sub-domain: - default: prometheus - examples: - - prometheus - type: string - shards: - default: 1 - examples: - - 1 - type: integer replicas: default: 1 examples: - 1 type: integer - ingress-class: - default: traefik - examples: - - traefik - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - logLevel: - default: info - examples: - - info - type: string - retention: - default: 10d - examples: - - 10d - type: string - app-group: - default: monitor - examples: - - monitor - type: string dependencies: - dist: null category: share diff --git a/monitor/prometheus/monitoring.coreos.com_v1_Prometheus_prometheus-community-kube-prometheus.yaml b/monitor/prometheus/monitoring.coreos.com_v1_Prometheus_prometheus-community-kube-prometheus.yaml index 671542d..594a1b7 100644 --- a/monitor/prometheus/monitoring.coreos.com_v1_Prometheus_prometheus-community-kube-prometheus.yaml +++ b/monitor/prometheus/monitoring.coreos.com_v1_Prometheus_prometheus-community-kube-prometheus.yaml @@ -15,6 +15,13 @@ metadata: release: "prometheus-community" heritage: "Helm" spec: + alerting: + alertmanagers: + - namespace: vynil-monitor + name: prometheus-community-kube-alertmanager + port: http-web + pathPrefix: "/" + apiVersion: v2 image: "quay.io/prometheus/prometheus:v2.49.1" version: v2.49.1 externalUrl: http://prometheus-community-kube-prometheus.vynil-monitor:9090 diff --git a/monitor/prometheus/v1_ServiceAccount_prometheus-community-kube-prometheus.yaml b/monitor/prometheus/v1_ServiceAccount_prometheus-community-kube-prometheus.yaml index 78e8332..f6db2f3 100644 --- a/monitor/prometheus/v1_ServiceAccount_prometheus-community-kube-prometheus.yaml +++ b/monitor/prometheus/v1_ServiceAccount_prometheus-community-kube-prometheus.yaml @@ -1,4 +1,3 @@ ---- # Source: kube-prometheus-stack/templates/prometheus/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount diff --git a/monitor/prometheus/v1_Service_prometheus-community-kube-alertmanager.yaml b/monitor/prometheus/v1_Service_prometheus-community-kube-alertmanager.yaml new file mode 100644 index 0000000..4c5920b --- /dev/null +++ b/monitor/prometheus/v1_Service_prometheus-community-kube-alertmanager.yaml @@ -0,0 +1,32 @@ +# Source: kube-prometheus-stack/templates/alertmanager/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: prometheus-community-kube-alertmanager + namespace: vynil-monitor + labels: + app: kube-prometheus-stack-alertmanager + self-monitor: "true" + + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/instance: prometheus-community + app.kubernetes.io/version: "56.0.3" + app.kubernetes.io/part-of: kube-prometheus-stack + chart: kube-prometheus-stack-56.0.3 + release: "prometheus-community" + heritage: "Helm" +spec: + ports: + - name: http-web + port: 9093 + targetPort: 9093 + protocol: TCP + - name: reloader-web + appProtocol: http + port: 8080 + targetPort: reloader-web + selector: + app.kubernetes.io/name: alertmanager + alertmanager: prometheus-community-kube-alertmanager + sessionAffinity: None + type: "ClusterIP" \ No newline at end of file