strato-infra/flux/cluster/apps/test/service.yaml

13 lines
201 B
YAML
Raw Normal View History

2022-05-22 14:55:33 +02:00
apiVersion: v1
kind: Service
metadata:
name: whoami-deployment-service
2022-05-22 15:05:59 +02:00
namespace: test
2022-05-22 14:55:33 +02:00
spec:
selector:
app: whoami-deployment
ports:
- protocol: TCP
port: 80
2022-05-22 15:05:59 +02:00
targetPort: 80