github.com/annchain/OG@v0.0.9/deployment/service.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 name: ogblockdb-ex-0 5 spec: 6 type: NodePort 7 ports: 8 - port: 8000 9 nodePort: 32200 10 name: rpc 11 - port: 8002 12 nodePort: 32202 13 name: websocket 14 - port: 8003 15 nodePort: 32203 16 name: profiling 17 selector: 18 statefulset.kubernetes.io/pod-name: ogblockdb-0 19 20 apiVersion: v1 21 kind: Service 22 metadata: 23 name: ogblockdb-0 24 spec: 25 ports: 26 - port: 8001 27 selector: 28 statefulset.kubernetes.io/pod-name: ogblockdb-0