mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
Split deployment in 2 files
This commit is contained in:
1 parent
03e357d17c
commit
4f09fbeb04
2 files changed
+26
No files matched your search
@@ -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