Add K8s deployment files, restructure to backend/frontend
This commit is contained in:
13
k8s/frontend/service.yaml
Normal file
13
k8s/frontend/service.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: todo-frontend
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: todo-frontend
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
nodePort: 30080
|
||||
Reference in New Issue
Block a user