I\'m struggling with Kubernetes\' service without a selector. The cluster is installed on AWS with the kops. I have a deployment with 3 nginx pods exposing port 80:
correct the service definition as below
apiVersion: v1 kind: Service metadata: name: dummy-svc labels: app: nginx spec: ports: - protocol: TCP port: 80 targetPort: 80 selector: app: nginx