apiVersion: v1 kind: Service metadata: name: helloworld spec: ports: - name: web port: 80 targetPort: web selector: app: helloworld