Files
infrastructure/clusters/cl01tl/manifests/stalwart/Deployment-stalwart-metrics.yaml

46 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: stalwart-metrics
labels:
app.kubernetes.io/controller: metrics
app.kubernetes.io/instance: stalwart
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: stalwart
helm.sh/chart: stalwart-4.6.2
namespace: stalwart
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/controller: metrics
app.kubernetes.io/name: stalwart
app.kubernetes.io/instance: stalwart
template:
metadata:
labels:
app.kubernetes.io/controller: metrics
app.kubernetes.io/instance: stalwart
app.kubernetes.io/name: stalwart
spec:
enableServiceLinks: false
serviceAccountName: default
automountServiceAccountToken: true
hostIPC: false
hostNetwork: false
hostPID: false
dnsPolicy: ClusterFirst
containers:
- args:
- --es.uri=https://elasticsearch-stalwart-es-http.tubearchivist:9200
- --es.ssl-skip-verify
image: quay.io/prometheuscommunity/elasticsearch-exporter:v1.10.0@sha256:a6a4d4403f670faf6a94b8c7f9adbca3ead91f26dd64e5ccf95fa69025dc6e58
name: main
resources:
requests:
cpu: 1m
memory: 10Mi