Frontend deployment

This commit is contained in:
2024-04-11 18:00:03 +03:00
parent 8786b8c1d2
commit 84cd414759
5 changed files with 48 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ metadata:
labels:
app: {{ .Release.Name }}-backend
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: {{ .Release.Name }}-backend

View File

@@ -0,0 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-frontend-deployment
labels:
app: {{ .Release.Name }}-frontend
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-frontend
template:
metadata:
labels:
app: {{ .Release.Name }}-frontend
spec:
containers:
- name: {{ .Release.Name }}-frontend
image: ghcr.io/nullptroma/liquid-frontend
imagePullPolicy: Always
ports:
- containerPort: 8000
imagePullSecrets:
- name: github-registry