Moving code in the right file
This commit is contained in:
parent
f9f67f5fe8
commit
f85cc24458
@ -20,9 +20,9 @@ spec:
|
||||
nodePort: 30888
|
||||
|
||||
---
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Service – Frontend NodePort (accessible via localhost:30500)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# PersistentVolume – host-path volume for PostgreSQL data
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
@ -19,9 +18,9 @@ spec:
|
||||
path: /home/cytech/vigimeteo-db-data
|
||||
|
||||
---
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# PersistentVolumeClaim – claimed by the StatefulSet below
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
@ -38,9 +37,9 @@ spec:
|
||||
storage: 1Gi
|
||||
|
||||
---
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# StatefulSet – single PostgreSQL replica
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
@ -96,9 +95,9 @@ spec:
|
||||
name: vigimeteo-db-init
|
||||
|
||||
---
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# Headless Service – required by the StatefulSet
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user