apiVersion: gateway.networking.k8s.io/v1alpha2
      kind: TCPRoute
      metadata:
        name: destination-port-matching-example
      spec:
        parentRefs:
        - name: my-mesh
          group: example.io
          kind: Mesh
          port: 8000
        rules:
        - backendRefs:
          - name: my-service
            port: 8080

      YAML language logo
      PortRouting

      Yml Files

      This code creates a TCPRoute object called destination-port-matching-example with the following fields:

      metadata: name: destination-port-matching-example

      spec: parentRefs:

      • name: my-mesh group: example.

      Shortcut: tcp.routeyml

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.