separate service

This commit is contained in:
ducoterra
2020-04-20 09:47:25 -04:00
parent 4f18562459
commit 804ca70101
3 changed files with 25 additions and 26 deletions

17
custom/service.yaml Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: traefik
spec:
type: LoadBalancer
selector:
app: traefik
ports:
- protocol: TCP
port: 9080
name: web
targetPort: 9080
- protocol: TCP
port: 9443
name: websecure
targetPort: 9443