Hi Team, Trying to expose the frontend via k8s AP...
# general
k
Hi Team, Trying to expose the frontend via k8s API G/W using HttpRoute. The k8s API G/W uses
istio
GatewayClass. The HttpRoute is as below.
Copy code
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: signoz-fe
  namespace: test-platform
spec:
  parentRefs:
  - name: test-gateway
    namespace: istio-ingress
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /signoz
    filters:
    - type: URLRewrite
      urlRewrite:
        path:
          type: ReplacePrefixMatch
          replacePrefixMatch: /
    backendRefs:
    - name: signoz-frontend
      port: 3301