# kubectl create -f hello-svc.yaml
apiVersion: v1
kind: Service
metadata:
  name: hello-svc2
spec:
  type: NodePort
  ports:
    - port: 80
      targetPort: 8080
      nodePort: 30000
  selector:
    app2: svc