Files
argocd-gitops/manifests/metrics-server/deployment.yaml
2025-12-10 15:54:52 +01:00

37 lines
928 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-metrics-server
spec:
selector:
matchLabels:
app: argocd-metrics-server
strategy:
type: Recreate
template:
metadata:
labels:
app: argocd-metrics-server
spec:
containers:
- image: quay.io/argoprojlabs/argocd-extension-metrics:latest
imagePullPolicy: IfNotPresent
args:
- '-enableTLS=false'
name: argocd-metrics-server
ports:
- containerPort: 9003
name: metrics
protocol: TCP
resources:
requests:
cpu: 100m
memory: 100Mi
volumeMounts:
- name: config-volume
mountPath: /app/config.json
subPath: config.json
volumes:
- name: config-volume
configMap:
name: argocd-metrics-server-configmap