github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/k8s/local/flow-network-service.yml (about)

     1  # Headless Service, for internal cluster access by other pods
     2  apiVersion: v1
     3  kind: Service
     4  
     5  metadata:
     6    name: flow-test-network-v1
     7    namespace: flow
     8  
     9    labels:
    10      app: flow-test-net
    11      env: local
    12      owner: Kan
    13      version: v1
    14  
    15  spec:
    16    type: ClusterIP
    17    selector:
    18      app: flow-test-net
    19      env: local
    20      version: v1
    21    clusterIP: None
    22    ports:
    23      - name: http
    24        protocol: TCP
    25        port: 8080
    26        targetPort: http # reference to the name of the port in your container config
    27      - name: grpc
    28        protocol: TCP
    29        port: 3569
    30        targetPort: grpc # reference to the name of the port in your container config