30 lines
671 B
YAML
30 lines
671 B
YAML
# ==========================
|
|
# BACKEND PATCH
|
|
# ==========================
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: backend-app-syifa
|
|
spec:
|
|
replicas: 2
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: backend
|
|
image: docker.io/syifamaulidya/backend-app:staging # <-- Jenkins nanti ganti otomatis ke vX
|
|
|
|
---
|
|
# ==========================
|
|
# FRONTEND PATCH
|
|
# ==========================
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: frontend-app-syifa
|
|
spec:
|
|
replicas: 2
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: frontend
|
|
image: docker.io/syifamaulidya/frontend-app:staging # <-- Jenkins juga ganti otomatis |