apiVersion: v1 kind: Service metadata: name: hot-warm spec: ports: - name: p2p port: 10002 protocol: TCP targetPort: 10002 - name: rpc port: 10003 protocol: TCP targetPort: 10003 selector: app: hot-warm