apiVersion: v1
kind: Service
metadata:
  name: flume-slave01
spec:
  selector:
    app: flume-slave01
  ports:
  - name: "10080"
    port: 10080
    targetPort: 80
  - name: "44444"
    port: 44444
    targetPort: 44444
  type: NodePort