gke-deploy/deployer/testing/configs/directory-with-application/service.yaml (14 lines of code) (raw):
apiVersion: v1
kind: Service
metadata:
labels:
app: test-app
name: test-app
spec:
ports:
- port: 80
protocol: TCP
targetPort: 8080
selector:
app: test-app
type: LoadBalancer