-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple KIC instances in same namespace #1117
Comments
hello, they are configured as such: the ingress controller config is ( ingress:
controller:
ingressController:
ingressClass: kong-green
# see https://docs.konghq.com/kubernetes-ingress-controller/latest/reference/cli-arguments/
env:
ingress_class: kong-green similarly, for the blue instance, replace apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
name: kong-green
annotations:
konghq.com/gatewayclass-unmanaged: 'true'
spec:
controllerName: konghq.com/kong-green
---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: kong-green
spec:
gatewayClassName: kong-green
...
if you have different custom plugins in the kong instances, they will fail --> see #1103. So make sure you are exactly the same custom plugins in both kong instances. also, the good luck |
Many thanks @joran-fonjallaz, it works well for me.
|
Hi, thanks for your great work on KIC.
I have a problem when trying to install 2 KIC instances on the same namespace.
The first instance:
I install by command:
The values1.yaml files:
It works well.
The second instance:
Then I install by command:
The values2.yaml files:
Deployment/kong2-gateway logs the error below:
Confimap kong1-plugin-auth, kong2-plugin-auth already created before.
Does this error occur because 2 instances are running in the same namespace ? I researched and can not find it.
Do I have to separate 2 instances in 2 different namespaces ?
Any help will be appreciated,
Thank you.
The text was updated successfully, but these errors were encountered: