--- # Source: prometheus/templates/pushgateway/deploy.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: component: "pushgateway" app: prometheus release: prometheus chart: prometheus-15.8.6 heritage: Helm name: prometheus-pushgateway namespace: default spec: selector: matchLabels: component: "pushgateway" app: prometheus release: prometheus replicas: 1 template: metadata: labels: component: "pushgateway" app: prometheus release: prometheus chart: prometheus-15.8.6 heritage: Helm spec: serviceAccountName: prometheus-pushgateway containers: - name: prometheus-pushgateway image: "prom/pushgateway:v1.4.2" imagePullPolicy: "IfNotPresent" args: ports: - containerPort: 9091 livenessProbe: httpGet: path: /-/healthy port: 9091 initialDelaySeconds: 10 timeoutSeconds: 10 readinessProbe: httpGet: path: /-/ready port: 9091 initialDelaySeconds: 10 timeoutSeconds: 10 resources: {} securityContext: runAsNonRoot: true runAsUser: 65534