apiVersion: v1
kind: Service
metadata:
  name: my-first-service
spec:
  selector: 
    component: nginx
  ports:
  - protocol: TCP
    port: 80
    targetPort: 80
    nodePort: 30000
  type: NodePort
