mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
monitoring(fix): pvc out of sync
This commit is contained in:
parent
ca942e35f5
commit
3e5591aa0c
3 changed files with 1 additions and 26 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: prometheus
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 10Gi
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
hostPath:
|
|
||||||
path: /data/prometheus
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: nginx-ingress
|
|
||||||
spec:
|
|
||||||
namespaceSelector:
|
|
||||||
matchNames:
|
|
||||||
- nginx-ingress
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: nginx-ingress
|
|
||||||
component: controller
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
interval: 30s
|
|
||||||
|
|
@ -5,6 +5,7 @@ victoria-metrics-k8s-stack:
|
||||||
|
|
||||||
vmsingle:
|
vmsingle:
|
||||||
spec:
|
spec:
|
||||||
|
removePvcAfterDelete: true
|
||||||
storage:
|
storage:
|
||||||
storageClassName: local-path
|
storageClassName: local-path
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue