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,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: lingo-api
|
||||||
|
name: lingo-api
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "api"
|
||||||
|
port: 8000
|
||||||
|
targetPort: 8000
|
||||||
|
selector:
|
||||||
|
app: lingo-api
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: lingo-frontend
|
||||||
|
name: lingo-frontend
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: "frontend"
|
||||||
|
port: 8001
|
||||||
|
targetPort: 8001
|
||||||
|
selector:
|
||||||
|
app: lingo-frontend
|
||||||
Reference in New Issue
Block a user