Kubernetes Services

If you are running Gloo in a Kubernetes cluster, it is possible to directly specify Kubernetes Services as routing destinations. The kube destination type has two required fields:

The following configuration will forward all requests to /petstore to port 8080 on the Kubernetes service named petstore in the default namespace.

routes:
- matchers:
   - prefix: /petstore
  routeAction:
    single:
      kube:
        ref:
          name: petstore
          namespace: default
        port: 8080