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:
@@ -16,14 +16,14 @@ spec:
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: lingo
|
||||
name: lingo-api
|
||||
port:
|
||||
number: 8000
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: lingo
|
||||
name: lingo-frontend
|
||||
port:
|
||||
number: 8001
|
||||
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