mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Split deployment in 2 files
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: lingo
|
||||
name: lingo
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lingo
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lingo
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/rubenhensen/lingo-api:master
|
||||
name: lingo-api
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
restartPolicy: Always
|
||||
@@ -17,18 +17,6 @@ spec:
|
||||
app: lingo
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/rubenhensen/lingo-api:master
|
||||
name: lingo-api
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
- image: ghcr.io/rubenhensen/lingo-frontend:master
|
||||
name: lingo-frontend
|
||||
ports:
|
||||
Reference in New Issue
Block a user