apiVersion: v1
kind: Service
metadata:
  name: cluster2-service
  labels:
    type: iotdb-set
    instance: cluster2
spec:
  type: NodePort
  ports:
    - port: 6667
      name: iotdb
    - port: 6567
      name: iotdb-cluster
    - port: 9003
      name: metaport
    - port: 40010
      name: dataservice
    - port: 40011
      name: heartbeat
  selector:
    type: iotdb-set
    instance: cluster2
