mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 02:22:56 +02:00
Split deployment in 2 files
This commit is contained in:
@@ -16,14 +16,14 @@ spec:
|
|||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: lingo
|
name: lingo-api
|
||||||
port:
|
port:
|
||||||
number: 8000
|
number: 8000
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: lingo
|
name: lingo-frontend
|
||||||
port:
|
port:
|
||||||
number: 8001
|
number: 8001
|
||||||
tls:
|
tls:
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: lingo
|
|
||||||
name: lingo
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: "api"
|
|
||||||
port: 8000
|
|
||||||
targetPort: 8000
|
|
||||||
- name: "frontend"
|
|
||||||
port: 8001
|
|
||||||
targetPort: 8001
|
|
||||||
selector:
|
|
||||||
app: lingo
|
|
||||||
Reference in New Issue
Block a user