Use Kubernetes Ingress with dynamic parameters to web API
Routing within the app should be handled by the app. So, there should be no need to define dynamic paths. Try this.
apiVersion: networking.k8s.io/v1kind: Ingressmetadata: name: ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: /spec: rules: - host: myhost.com http: paths: - path: / backend: service: name: myservice port: number: 80