12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- ---
- # Source: loki-stack/charts/prometheus/templates/kube-state-metrics-deployment.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- component: "kube-state-metrics"
- app: prometheus
- release: loki
- chart: prometheus-9.3.1
- heritage: Tiller
- name: loki-prometheus-kube-state-metrics
- spec:
- selector:
- matchLabels:
- component: "kube-state-metrics"
- app: prometheus
- release: loki
- replicas: 1
- template:
- metadata:
- labels:
- component: "kube-state-metrics"
- app: prometheus
- release: loki
- chart: prometheus-9.3.1
- heritage: Tiller
- spec:
- serviceAccountName: loki-prometheus-kube-state-metrics
- containers:
- - name: prometheus-kube-state-metrics
- image: "quay.io/coreos/kube-state-metrics:v1.6.0"
- imagePullPolicy: "IfNotPresent"
- ports:
- - name: metrics
- containerPort: 8080
- resources:
- {}
-
- securityContext:
- runAsNonRoot: true
- runAsUser: 65534
-
|