-
I install by executing the below commands
I then deploy the application I want to scale along with a I tried to install the add-on into multiple namespaces but that fails with the below error message
What's the way to go about this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems like the answer is to create another service which points to the keda proxy in the other namespace. Such a service would be of type ExternalName since it's referencing a service running in a different namespace. While Nginx does support this, Traefik doesn't which for some people might be a deal breaker. Yet another solution which I haven't tried would be to use Gateway API rather than a regular Ingress since that can reference services in other namespaces by default. However The Gateway API isn't bundled with most Kubernetes distributions by default so that's something most users would have to install manually. |
Beta Was this translation helpful? Give feedback.
It seems like the answer is to create another service which points to the keda proxy in the other namespace. Such a service would be of type ExternalName since it's referencing a service running in a different namespace. While Nginx does support this, Traefik doesn't which for some people might be a deal breaker.
Yet another solution which I haven't tried would be to use Gateway API rather than a regular Ingress since that can reference services in other namespaces by default. However The Gateway API isn't bundled with most Kubernetes distributions by default so that's something most users would have to install manually.