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

14 lines
206 B
YAML

apiVersion: v1
kind: Service
metadata:
name: echoserver
namespace: echoserver
spec:
ports:
- port: 80
targetPort: 80
protocol: TCP
type: LoadBalancer
selector:
app: echoserver