--- # Source: loki-stack/charts/prometheus/templates/pushgateway-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: component: "pushgateway" app: prometheus release: loki chart: prometheus-9.3.1 heritage: Tiller name: loki-prometheus-pushgateway spec: selector: matchLabels: component: "pushgateway" app: prometheus release: loki replicas: 1 template: metadata: labels: component: "pushgateway" app: prometheus release: loki chart: prometheus-9.3.1 heritage: Tiller spec: serviceAccountName: loki-prometheus-pushgateway containers: - name: prometheus-pushgateway image: "prom/pushgateway:v0.8.0" imagePullPolicy: "IfNotPresent" args: ports: - containerPort: 9091 readinessProbe: httpGet: path: /#/status port: 9091 initialDelaySeconds: 10 timeoutSeconds: 10 resources: {} securityContext: runAsNonRoot: true runAsUser: 65534