apiVersion: v1 kind: Service metadata: name: nginx namespace: test labels: app: nginx spec: ports: - port: 80 name: web clusterIP: None selector: app: nginx template: spec: nodeSelector: node.longhorn.io/create-default-disk: "true" # this is required to create a disk on the node