golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/coordinator/module-proxy-service.yaml (about) 1 # Copyright 2022 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 apiVersion: v1 6 kind: Service 7 metadata: 8 namespace: prod 9 name: proxygolang-proxy 10 annotations: 11 cloud.google.com/load-balancer-type: "Internal" 12 spec: 13 type: NodePort 14 ports: 15 - name: proxygolang-proxy 16 port: 8123 17 targetPort: 8123 18 nodePort: 30157 19 protocol: TCP 20 selector: 21 app: coordinator 22 23 # TODO(bradfitz): migrate (destroy & recreate) symbolic-datum-552 to get it off legacy networking 24 # so we can use an internal LoadBalancer with a static internal IP instead, and then: 25 # 26 #spec: 27 # type: LoadBalancer 28 # loadBalancerIP: "10.240.0.we-cant-do-this-because-symbolic-datum-552-is-using-legacy-networking" 29 # loadBalancerSourceRanges: 30 # - "10.0.0.0/8" 31 # ports: 32 # - port: 8123 33 # targetPort: 8123 34 # selector: 35 # app: coordinator 36 # 37 # ... and update the 30157 in coordinator to be 8123.