
apiVersion: v1
kind: Service
metadata:
  name: hdfs-namenode
  labels:
    app: hdfs
    component: namenode
spec:
  clusterIP: None
  ports:
  - port: 9870
    name: web
  selector:
    app: hdfs
    component: namenode
