apiVersion: v1 kind: Service metadata: labels: app: app name: app spec: ports: - port: 8334 selector: app: app