I want to create multi tenants with keycloak realms, so for authservice I have to add multiple realms jwks url's etc. in configmap. This is working correctly with this. Only problem I have is when I create a new realm , I update a new entry in configmap and then i have to restart authservice pod to use the configmap changes. If I have 100+ realms, restarting authservice pod effect all the logins until it get stabilized and also a scaling concern here for 100+ realms and and may be having 100+ users.
I was basically looking for creating authservice configmap and pod for each realm separately so it scale easily and one realm won't impact other realm.
I want to create multi tenants with keycloak realms, so for authservice I have to add multiple realms jwks url's etc. in configmap. This is working correctly with this. Only problem I have is when I create a new realm , I update a new entry in configmap and then i have to restart authservice pod to use the configmap changes. If I have 100+ realms, restarting authservice pod effect all the logins until it get stabilized and also a scaling concern here for 100+ realms and and may be having 100+ users.
I was basically looking for creating authservice configmap and pod for each realm separately so it scale easily and one realm won't impact other realm.