k8s-clusters/home/manifests/echoserver/service.yaml

14 lines
206 B
YAML
Raw Normal View History

2022-07-05 15:53:37 -05:00
apiVersion: v1
kind: Service
metadata:
name: echoserver
namespace: echoserver
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
type: LoadBalancer
selector:
app: echoserver