Skip to content

Instantly share code, notes, and snippets.

@nerdalert
Created July 10, 2025 18:30
Show Gist options
  • Save nerdalert/fc2507aeaaf4c77ff836a90d42ce7c6a to your computer and use it in GitHub Desktop.
Save nerdalert/fc2507aeaaf4c77ff836a90d42ce7c6a to your computer and use it in GitHub Desktop.
$ kubectl get envoyfilter --all-namespaces -o yaml
apiVersion: v1
items:
- apiVersion: networking.istio.io/v1alpha3
  kind: EnvoyFilter
  metadata:
    creationTimestamp: "2025-07-10T05:32:40Z"
    generation: 1
    labels:
      kuadrant.io/auth: "true"
      kuadrant.io/managed: "true"
    name: kuadrant-auth-llm-d-inference-gateway
    namespace: llm-d
    ownerReferences:
    - apiVersion: gateway.networking.k8s.io/v1
      blockOwnerDeletion: true
      controller: true
      kind: Gateway
      name: llm-d-inference-gateway
      uid: 911d5d52-b1fd-4971-b9da-da616b920131
    resourceVersion: "964682"
    uid: 00ab6739-23cf-4a74-87d2-7b45d99f39a8
  spec:
    configPatches:
    - applyTo: CLUSTER
      match:
        cluster:
          service: authorino-authorino-authorization.kuadrant-system.svc.cluster.local
      patch:
        operation: ADD
        value:
          connect_timeout: 1s
          http2_protocol_options: {}
          lb_policy: ROUND_ROBIN
          load_assignment:
            cluster_name: kuadrant-auth-service
            endpoints:
            - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: authorino-authorino-authorization.kuadrant-system.svc.cluster.local
                      port_value: 50051
          name: kuadrant-auth-service
          type: STRICT_DNS
    targetRefs:
    - group: gateway.networking.k8s.io
      kind: Gateway
      name: llm-d-inference-gateway
- apiVersion: networking.istio.io/v1alpha3
  kind: EnvoyFilter
  metadata:
    creationTimestamp: "2025-07-10T05:32:40Z"
    generation: 1
    labels:
      kuadrant.io/managed: "true"
      kuadrant.io/ratelimit: "true"
    name: kuadrant-ratelimiting-llm-d-inference-gateway
    namespace: llm-d
    ownerReferences:
    - apiVersion: gateway.networking.k8s.io/v1
      blockOwnerDeletion: true
      controller: true
      kind: Gateway
      name: llm-d-inference-gateway
      uid: 911d5d52-b1fd-4971-b9da-da616b920131
    resourceVersion: "964678"
    uid: 5965b219-fd77-4ac4-b43e-b182a95fecc9
  spec:
    configPatches:
    - applyTo: CLUSTER
      match:
        cluster:
          service: limitador-limitador.kuadrant-system.svc.cluster.local
      patch:
        operation: ADD
        value:
          connect_timeout: 1s
          http2_protocol_options: {}
          lb_policy: ROUND_ROBIN
          load_assignment:
            cluster_name: kuadrant-ratelimit-service
            endpoints:
            - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: limitador-limitador.kuadrant-system.svc.cluster.local
                      port_value: 8081
          name: kuadrant-ratelimit-service
          type: STRICT_DNS
    targetRefs:
    - group: gateway.networking.k8s.io
      kind: Gateway
      name: llm-d-inference-gateway
kind: List
metadata:
  resourceVersion: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment