apiVersion: v1 kind: Service metadata: name: mywebapp spec: ports: - port: 80 protocol: TCP name: flask type: NodePort