Add service config

This commit is contained in:
Jimmy 2022-02-09 13:43:17 +13:00
parent 1fb2dcf040
commit dd0b70e779
2 changed files with 24 additions and 0 deletions

12
ingress/web-service.yaml Normal file
View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: web
labels:
run: web
spec:
ports:
- port: 8080
protocol: TCP
selector:
run: web

12
ingress/web2-service.yaml Normal file
View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: web2
labels:
run: web2
spec:
ports:
- port: 8080
protocol: TCP
selector:
run: web2