apiVersion: v1
kind: Service
metadata:
  name: iotdataprovider-ip
spec:
  type: ClusterIP
  selector:
    component: iotdataprovider
  ports:
    - name: api
      port: 3000 # port of the ClusterIP service
      targetPort: 3000 # port inside the container
      protocol: TCP