Add service and route

This commit is contained in:
Benjamin Affolter
2021-11-11 16:23:16 +01:00
parent 2a5ae82830
commit bfb5b385d2
2 changed files with 24 additions and 0 deletions

12
example-app/service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: simple-example
spec:
ports:
- port: 5000
protocol: TCP
targetPort: 5000
selector:
app: simple-example
type: ClusterIP