netflux-kubernetes/deploy/base/inflated/prometheus/charts/prometheus-pushgateway/templates/deployment.yaml

63 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2022-12-20 08:02:41 +00:00
---
# Source: prometheus/charts/prometheus-pushgateway/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
2023-07-16 06:22:33 +00:00
helm.sh/chart: prometheus-pushgateway-2.4.0
2022-12-20 08:02:41 +00:00
app.kubernetes.io/name: prometheus-pushgateway
app.kubernetes.io/instance: prometheus
2023-07-16 06:22:33 +00:00
app.kubernetes.io/version: "v1.6.0"
2022-12-20 08:02:41 +00:00
app.kubernetes.io/managed-by: Helm
name: prometheus-prometheus-pushgateway
2023-07-16 06:22:33 +00:00
namespace: default
2022-12-20 08:02:41 +00:00
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: prometheus-pushgateway
app.kubernetes.io/instance: prometheus
template:
metadata:
labels:
2023-07-16 06:22:33 +00:00
helm.sh/chart: prometheus-pushgateway-2.4.0
2022-12-20 08:02:41 +00:00
app.kubernetes.io/name: prometheus-pushgateway
app.kubernetes.io/instance: prometheus
2023-07-16 06:22:33 +00:00
app.kubernetes.io/version: "v1.6.0"
2022-12-20 08:02:41 +00:00
app.kubernetes.io/managed-by: Helm
spec:
serviceAccountName: prometheus-prometheus-pushgateway
containers:
- name: pushgateway
2023-07-16 06:22:33 +00:00
image: "quay.io/prometheus/pushgateway:v1.6.0"
2022-12-20 08:02:41 +00:00
imagePullPolicy: IfNotPresent
ports:
- name: metrics
containerPort: 9091
protocol: TCP
livenessProbe:
httpGet:
2023-07-16 06:22:33 +00:00
path: /-/healthy
2022-12-20 08:02:41 +00:00
port: 9091
initialDelaySeconds: 10
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /-/ready
port: 9091
initialDelaySeconds: 10
timeoutSeconds: 10
volumeMounts:
- name: storage-volume
mountPath: "/data"
subPath: ""
securityContext:
fsGroup: 65534
runAsNonRoot: true
runAsUser: 65534
volumes:
- name: storage-volume
emptyDir: {}