apiVersion: v1
kind: Service
metadata:
  name: iris-example
  namespace: default
spec:
  ports:
  - name: http
    protocol: TCP
    port: 8080
    targetPort: 8080
  type: NodePort
  selector:
    app: iris-example
