apiVersion: v1 kind: Service metadata: name: nginx-mycelium namespace: default labels: app: nginx-mycelium network: mycelium spec: type: NodePort ports: - name: http port: 80 targetPort: 80 nodePort: 30090 protocol: TCP selector: app: nginx-mycelium --- apiVersion: v1 kind: Service metadata: name: nginx-mycelium-cluster namespace: default labels: app: nginx-mycelium type: cluster spec: type: ClusterIP ports: - name: http port: 80 targetPort: 80 protocol: TCP selector: app: nginx-mycelium