init commit
This commit is contained in:
@@ -0,0 +1,302 @@
|
||||
---
|
||||
"kind": "StatefulSet"
|
||||
"apiVersion": "apps/v1"
|
||||
"metadata":
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus"
|
||||
"namespace": "kube-mon"
|
||||
"labels":
|
||||
"app": "kube-prometheus-stack-prometheus"
|
||||
"app.kubernetes.io/instance": "kube-prometheus-stack-1761-prometheus"
|
||||
"app.kubernetes.io/managed-by": "prometheus-operator"
|
||||
"app.kubernetes.io/name": "prometheus"
|
||||
"app.kubernetes.io/part-of": "kube-prometheus-stack"
|
||||
"app.kubernetes.io/version": "79.0.1"
|
||||
"chart": "kube-prometheus-stack-79.0.1"
|
||||
"heritage": "Helm"
|
||||
"k8slens-edit-resource-version": "v1"
|
||||
"managed-by": "prometheus-operator"
|
||||
"operator.prometheus.io/mode": "server"
|
||||
"operator.prometheus.io/name": "kube-prometheus-stack-1761-prometheus"
|
||||
"operator.prometheus.io/shard": "0"
|
||||
"prometheus": "kube-prometheus-stack-1761-prometheus"
|
||||
"release": "kube-prometheus-stack-1761819498"
|
||||
"annotations":
|
||||
"meta.helm.sh/release-name": "kube-prometheus-stack-1761819498"
|
||||
"meta.helm.sh/release-namespace": "kube-mon"
|
||||
"prometheus-operator-input-hash": "5891682108210749018"
|
||||
"spec":
|
||||
"replicas": 1
|
||||
"selector":
|
||||
"matchLabels":
|
||||
"app.kubernetes.io/instance": "kube-prometheus-stack-1761-prometheus"
|
||||
"app.kubernetes.io/managed-by": "prometheus-operator"
|
||||
"app.kubernetes.io/name": "prometheus"
|
||||
"operator.prometheus.io/name": "kube-prometheus-stack-1761-prometheus"
|
||||
"operator.prometheus.io/shard": "0"
|
||||
"prometheus": "kube-prometheus-stack-1761-prometheus"
|
||||
"template":
|
||||
"metadata":
|
||||
"labels":
|
||||
"app.kubernetes.io/instance": "kube-prometheus-stack-1761-prometheus"
|
||||
"app.kubernetes.io/managed-by": "prometheus-operator"
|
||||
"app.kubernetes.io/name": "prometheus"
|
||||
"app.kubernetes.io/version": "3.7.2"
|
||||
"operator.prometheus.io/name": "kube-prometheus-stack-1761-prometheus"
|
||||
"operator.prometheus.io/shard": "0"
|
||||
"prometheus": "kube-prometheus-stack-1761-prometheus"
|
||||
"annotations":
|
||||
"kubectl.kubernetes.io/default-container": "prometheus"
|
||||
"spec":
|
||||
"volumes":
|
||||
-
|
||||
"name": "config"
|
||||
"secret":
|
||||
"secretName": "prometheus-kube-prometheus-stack-1761-prometheus"
|
||||
"defaultMode": 420
|
||||
-
|
||||
"name": "tls-assets"
|
||||
"projected":
|
||||
"sources":
|
||||
-
|
||||
"secret":
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-tls-assets-0"
|
||||
"defaultMode": 420
|
||||
-
|
||||
"name": "config-out"
|
||||
"emptyDir":
|
||||
"medium": "Memory"
|
||||
-
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"configMap":
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"defaultMode": 420
|
||||
-
|
||||
"name": "web-config"
|
||||
"secret":
|
||||
"secretName": "prometheus-kube-prometheus-stack-1761-prometheus-web-config"
|
||||
"defaultMode": 420
|
||||
"initContainers":
|
||||
-
|
||||
"name": "init-config-reloader"
|
||||
"image": "quay.io/prometheus-operator/prometheus-config-reloader:v0.86.1"
|
||||
"command":
|
||||
- "/bin/prometheus-config-reloader"
|
||||
"args":
|
||||
- "--watch-interval=0"
|
||||
- "--listen-address=:8081"
|
||||
- "--config-file=/etc/prometheus/config/prometheus.yaml.gz"
|
||||
- "--config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml"
|
||||
- "--watched-dir=/etc/prometheus/rules/prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"ports":
|
||||
-
|
||||
"name": "reloader-init"
|
||||
"containerPort": 8081
|
||||
"protocol": "TCP"
|
||||
"env":
|
||||
-
|
||||
"name": "POD_NAME"
|
||||
"valueFrom":
|
||||
"fieldRef":
|
||||
"apiVersion": "v1"
|
||||
"fieldPath": "metadata.name"
|
||||
-
|
||||
"name": "SHARD"
|
||||
"value": "0"
|
||||
"resources": {}
|
||||
"volumeMounts":
|
||||
-
|
||||
"name": "config"
|
||||
"mountPath": "/etc/prometheus/config"
|
||||
-
|
||||
"name": "config-out"
|
||||
"mountPath": "/etc/prometheus/config_out"
|
||||
-
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"mountPath": "/etc/prometheus/rules/prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"terminationMessagePath": "/dev/termination-log"
|
||||
"terminationMessagePolicy": "FallbackToLogsOnError"
|
||||
"imagePullPolicy": "IfNotPresent"
|
||||
"securityContext":
|
||||
"capabilities":
|
||||
"drop":
|
||||
- "ALL"
|
||||
"readOnlyRootFilesystem": true
|
||||
"allowPrivilegeEscalation": false
|
||||
"containers":
|
||||
-
|
||||
"name": "prometheus"
|
||||
"image": "quay.io/prometheus/prometheus:v3.7.2"
|
||||
"args":
|
||||
- "--config.file=/etc/prometheus/config_out/prometheus.env.yaml"
|
||||
- "--web.enable-lifecycle"
|
||||
- "--web.external-url=http://kube-prometheus-stack-1761-prometheus.kube-mon:9090"
|
||||
- "--web.route-prefix=/"
|
||||
- "--storage.tsdb.retention.time=10d"
|
||||
- "--storage.tsdb.path=/prometheus"
|
||||
- "--storage.tsdb.wal-compression"
|
||||
- "--web.config.file=/etc/prometheus/web_config/web-config.yaml"
|
||||
"ports":
|
||||
-
|
||||
"name": "http-web"
|
||||
"containerPort": 9090
|
||||
"protocol": "TCP"
|
||||
"resources": {}
|
||||
"volumeMounts":
|
||||
-
|
||||
"name": "config-out"
|
||||
"readOnly": true
|
||||
"mountPath": "/etc/prometheus/config_out"
|
||||
-
|
||||
"name": "tls-assets"
|
||||
"readOnly": true
|
||||
"mountPath": "/etc/prometheus/certs"
|
||||
-
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-db"
|
||||
"mountPath": "/prometheus"
|
||||
"subPath": "prometheus-db"
|
||||
-
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"mountPath": "/etc/prometheus/rules/prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
-
|
||||
"name": "web-config"
|
||||
"readOnly": true
|
||||
"mountPath": "/etc/prometheus/web_config/web-config.yaml"
|
||||
"subPath": "web-config.yaml"
|
||||
"livenessProbe":
|
||||
"httpGet":
|
||||
"path": "/-/healthy"
|
||||
"port": "http-web"
|
||||
"scheme": "HTTP"
|
||||
"timeoutSeconds": 3
|
||||
"periodSeconds": 5
|
||||
"successThreshold": 1
|
||||
"failureThreshold": 6
|
||||
"readinessProbe":
|
||||
"httpGet":
|
||||
"path": "/-/ready"
|
||||
"port": "http-web"
|
||||
"scheme": "HTTP"
|
||||
"timeoutSeconds": 3
|
||||
"periodSeconds": 5
|
||||
"successThreshold": 1
|
||||
"failureThreshold": 3
|
||||
"startupProbe":
|
||||
"httpGet":
|
||||
"path": "/-/ready"
|
||||
"port": "http-web"
|
||||
"scheme": "HTTP"
|
||||
"timeoutSeconds": 3
|
||||
"periodSeconds": 15
|
||||
"successThreshold": 1
|
||||
"failureThreshold": 60
|
||||
"terminationMessagePath": "/dev/termination-log"
|
||||
"terminationMessagePolicy": "FallbackToLogsOnError"
|
||||
"imagePullPolicy": "IfNotPresent"
|
||||
"securityContext":
|
||||
"capabilities":
|
||||
"drop":
|
||||
- "ALL"
|
||||
"readOnlyRootFilesystem": true
|
||||
"allowPrivilegeEscalation": false
|
||||
-
|
||||
"name": "config-reloader"
|
||||
"image": "quay.io/prometheus-operator/prometheus-config-reloader:v0.86.1"
|
||||
"command":
|
||||
- "/bin/prometheus-config-reloader"
|
||||
"args":
|
||||
- "--listen-address=:8080"
|
||||
- "--reload-url=http://127.0.0.1:9090/-/reload"
|
||||
- "--config-file=/etc/prometheus/config/prometheus.yaml.gz"
|
||||
- "--config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml"
|
||||
- "--watched-dir=/etc/prometheus/rules/prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"ports":
|
||||
-
|
||||
"name": "reloader-web"
|
||||
"containerPort": 8080
|
||||
"protocol": "TCP"
|
||||
"env":
|
||||
-
|
||||
"name": "POD_NAME"
|
||||
"valueFrom":
|
||||
"fieldRef":
|
||||
"apiVersion": "v1"
|
||||
"fieldPath": "metadata.name"
|
||||
-
|
||||
"name": "SHARD"
|
||||
"value": "0"
|
||||
"resources": {}
|
||||
"volumeMounts":
|
||||
-
|
||||
"name": "config"
|
||||
"mountPath": "/etc/prometheus/config"
|
||||
-
|
||||
"name": "config-out"
|
||||
"mountPath": "/etc/prometheus/config_out"
|
||||
-
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"mountPath": "/etc/prometheus/rules/prometheus-kube-prometheus-stack-1761-prometheus-rulefiles-0"
|
||||
"terminationMessagePath": "/dev/termination-log"
|
||||
"terminationMessagePolicy": "FallbackToLogsOnError"
|
||||
"imagePullPolicy": "IfNotPresent"
|
||||
"securityContext":
|
||||
"capabilities":
|
||||
"drop":
|
||||
- "ALL"
|
||||
"readOnlyRootFilesystem": true
|
||||
"allowPrivilegeEscalation": false
|
||||
"restartPolicy": "Always"
|
||||
"terminationGracePeriodSeconds": 600
|
||||
"dnsPolicy": "ClusterFirst"
|
||||
"serviceAccountName": "kube-prometheus-stack-1761-prometheus"
|
||||
"serviceAccount": "kube-prometheus-stack-1761-prometheus"
|
||||
"automountServiceAccountToken": true
|
||||
"shareProcessNamespace": false
|
||||
"securityContext":
|
||||
"runAsUser": 1000
|
||||
"runAsGroup": 2000
|
||||
"runAsNonRoot": true
|
||||
"fsGroup": 2000
|
||||
"seccompProfile":
|
||||
"type": "RuntimeDefault"
|
||||
"affinity":
|
||||
"podAntiAffinity":
|
||||
"preferredDuringSchedulingIgnoredDuringExecution":
|
||||
-
|
||||
"weight": 100
|
||||
"podAffinityTerm":
|
||||
"labelSelector":
|
||||
"matchExpressions":
|
||||
-
|
||||
"key": "app.kubernetes.io/name"
|
||||
"operator": "In"
|
||||
"values":
|
||||
- "prometheus"
|
||||
-
|
||||
"key": "app.kubernetes.io/instance"
|
||||
"operator": "In"
|
||||
"values":
|
||||
- "kube-prometheus-stack-1761-prometheus"
|
||||
"topologyKey": "kubernetes.io/hostname"
|
||||
"schedulerName": "default-scheduler"
|
||||
"volumeClaimTemplates":
|
||||
-
|
||||
"kind": "PersistentVolumeClaim"
|
||||
"apiVersion": "v1"
|
||||
"metadata":
|
||||
"name": "prometheus-kube-prometheus-stack-1761-prometheus-db"
|
||||
"spec":
|
||||
"accessModes":
|
||||
- "ReadWriteOnce"
|
||||
"resources":
|
||||
"requests":
|
||||
"storage": "50Gi"
|
||||
"storageClassName": "nfs-csi"
|
||||
"volumeMode": "Filesystem"
|
||||
"serviceName": "prometheus-operated"
|
||||
"podManagementPolicy": "Parallel"
|
||||
"updateStrategy":
|
||||
"type": "RollingUpdate"
|
||||
"revisionHistoryLimit": 10
|
||||
"persistentVolumeClaimRetentionPolicy":
|
||||
"whenDeleted": "Retain"
|
||||
"whenScaled": "Retain"
|
||||
Reference in New Issue
Block a user