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