Multiple workspace in


I have deploy kong in GKE and I am planning to use multiple workspace in GKE deployment so every time I run kubectl everything goes to the default workspace how to define so it goes to another workspace instead of the default?


The ingress controller currently only supports one workspace. To use multiple, you’ll need to deploy multiple controller instances that use the same Kong admin URL, but have different ingressController.ingressClass and ingressController.env.kong_workspace settings. Resources with a matching ingress class will then be created in that workspace.

Note that you’ll need to enable the admin API service (see this example), as the separate controller instances will not be in the same Pod as Kong. You’ll want to enable RBAC, create admins for the controller instances, and provide them credentials by setting ingressController.env.kong_admin_token).