github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/cache/k8s/plz-cache-svc.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Service 4 metadata: 5 name: plz-cache 6 labels: 7 project: please 8 app: rpc-cache 9 annotations: 10 prometheus.io/scrape: "true" 11 prometheus.io/port: "13434" 12 spec: 13 clusterIP: None 14 ports: 15 - name: grpc 16 port: 7677 17 targetPort: grpc 18 - name: http 19 port: 7678 20 targetPort: http 21 - name: prometheus 22 port: 13434 23 targetPort: prometheus 24 selector: 25 app: rpc-cache