apiVersion: v1
kind: Service
metadata:
  name: kitty-nodeport
spec:
  type: NodePort
  selector:
    app: kitty
  ports:
    # By default and for convenience, the `targetPort` is set to the same value as the `port` field.
    - port: 5000
      targetPort: 5000
