# Mosip setup in GKE

**URL:** <https://community.mosip.io/t/mosip-setup-in-gke/1466>\
**Category:** General\
**Created:** [July 22, 2024, 10:19am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466 "2024-07-22T10:19:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 22, 2024, 10:19am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/1 "2024-07-22T10:19:45Z")

</div>

Hi Team ,

I want to setup mosip using gcp and gke , the versions of kubernetes compatible for mosip is 1.24 but gke stable version is 1.27 , there is no lower version than this , can you help and also provide the documentation and charts compatible with it. There are several issues i face when deploying it in 1.27 version in clamav, regclient aswell as ida , the issues relate to scaling , pods not being up , etc.

---

<div class="post-metadata">

**Author:** ![HarikrishnaReddy](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/harikrishnareddy/32/1184_2.png) [@HarikrishnaReddy](https://community.mosip.io/u/HarikrishnaReddy)\
**Post date:** [July 22, 2024, 10:39am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/2 "2024-07-22T10:39:27Z")

</div>

Hi @Arjun_Bose , thank you for your question.  
@syed.salman , please can you respond to the above question.

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 22, 2024, 10:56am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/3 "2024-07-22T10:56:11Z")

</div>

Yes please if someone can help on this.

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 22, 2024, 11:41am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/4 "2024-07-22T11:41:06Z")

</div>

@Arjun_Bose

Regarding the issues you have encountered, please follow the suggested actions outlined below:

**ClamAV:**  
We recommend redeploying ClamAV with an updated chart version.  
Please update the chart version to 3.1.0 in the install.sh script. In values.yaml, please comment out the tag line [mosip-infra/deployment/v3/external/antivirus/clamav/values.yaml at 0b735c43291d555816a000952b629b5bb37a7a3d · mosip/mosip-infra · GitHub](https://github.com/mosip/mosip-infra/blob/0b735c43291d555816a000952b629b5bb37a7a3d/deployment/v3/external/antivirus/clamav/values.yaml#L7C8-L7C14).

**IDA and RegClient:**  
We require additional information to provide a more detailed resolution for IDA and RegClient. Please provide the log files and error messages for these components so we can offer a comprehensive solution.

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 22, 2024, 11:46am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/5 "2024-07-22T11:46:11Z")

</div>

what about the compatibility factor , for example in the docs its mentioned to use kubernetes version 1.24 for mosip deployment but gke is offering the lowest version to be 1.27 , and for regclient the error i get is keystore password is incorrect.

Please can you provide me the charts for config-server, regclient and ida to use in gke for the same and the gke configurations to use for loadbalancing and autoscaling.

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 22, 2024, 12:51pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/6 "2024-07-22T12:51:41Z")

</div>

> [@Arjun\_Bose](#):
>
> eployment but gke is offering the lowest version to be 1.27 , and for regclient the error i get is keystore password is incorrect.

Recently, we have tried deploying MOSIP with v1.28.x Kubernetes version. Except for ClamAV other modules deployed successfully with the same helm charts. To resolve ClamAV, deploy with the version mentioned in the previous comment.

Regclient is failing due to an openssl version issue (i.e., 1.1.1x). We will be sharing the resolution for this issue.

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 22, 2024, 1:34pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/7 "2024-07-22T13:34:31Z")

</div>

Thank you so much , yes please do.

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 22, 2024, 2:30pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/8 "2024-07-22T14:30:31Z")

</div>

Dear @Arjun_Bose

Please deploy the regclient from the develop branch of [mosip-infra](https://github.com/mosip/mosip-infra/blob/0b735c43291d555816a000952b629b5bb37a7a3d/deployment/v3/mosip/regclient/install.sh#L29).

Before running the install script, update the Docker image in the `set` command and provide it in the `helm` command within the `install.sh` script:

```shell
--set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1"

```

For example:

```shell
helm -n $NS install regclient mosip/regclient \
  --set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1" \
  --set regclient.upgradeServerUrl=https://$REGCLIENT_HOST \
  --set regclient.healthCheckUrl=$HEALTH_URL \
  --set regclient.hostName=$INTERNAL_HOST \
  --set istio.host=$REGCLIENT_HOST \
  --wait \
  --version $CHART_VERSION

```

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 23, 2024, 9:25am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/9 "2024-07-23T09:25:42Z")

</div>

Thank you so much.

The ida issue which I was facing was as follows\_

the ida issue which I was facing was

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘utilities’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosip.openid.issuers’ in value “${mosip.openid.issuers}”  
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:379) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1348) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:578) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869) ~[spring-context-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) ~[spring-boot-2.0.2.RELEASE.jar!/:2.0.2.RELEASE]  
at io.mosip.mimoto.MimotoServiceApplication.main(MimotoServiceApplication.java:73) ~[classes!/:0.10.0]  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]  
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]  
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) ~[mimoto.jar:0.10.0]  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) ~[mimoto.jar:0.10.0]  
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) ~[mimoto.jar:0.10.0]  
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) ~[mimoto.jar:0.10.0]  
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘mosip.openid.issuers’ in value “${mosip.openid.issuers}”  
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) ~[spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) ~[spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) ~[spring-core-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) ~[spring-context-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1086) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373) ~[spring-beans-5.0.6.RELEASE.jar!/:5.0.6.RELEASE]  
… 25 common frames omitted

The error you encountered is due to Spring not being able to resolve the placeholder `${mosip.openid.issuers}`.

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 26, 2024, 5:53am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/10 "2024-07-26T05:53:36Z")

</div>

Dear @Arjun_Bose

Could you please provide additional details regarding the issue mentioned above:

- Which version of IDA is currently deployed?
- Could you share the link to the GitHub repository for MOSIP configuration properties?
- Upon reviewing our `mosip/mosip-config` repository, I have found that the property `mosip.openid.issuers` exists only in the Mimoto properties and not in the IDA properties. Could you please check if this property was added by mistake?

Thank you.

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 29, 2024, 11:53am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/11 "2024-07-29T11:53:47Z")

</div>

hi i was able to resolve the keystore password issue in regclient but now in the logs this is coming

Started with args  
initialized variables  
created mosip-application.properties  
java.io.FileNotFoundException: registration-services-1.2.1-SNAPSHOT.jar (No such file or directory)  
at java.base/java.io.FileInputStream.open0(Native Method)  
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)  
at java.base/java.io.FileInputStream.(FileInputStream.java:157)  
at jdk.jartool/sun.tools.jar.Main.run(Main.java:360)  
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1681)

please can you help

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 29, 2024, 3:39pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/12 "2024-07-29T15:39:44Z")

</div>

please can you suggest some way around on this @syed.salman @HarikrishnaReddy

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 30, 2024, 9:49am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/13 "2024-07-30T09:49:14Z")

</div>

please can you revert on this , little urgent @syed.salman @HarikrishnaReddy@sanchi-singh24

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 30, 2024, 10:37am UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/14 "2024-07-30T10:37:18Z")

</div>

This is the exact issue im facing when trying to deploy ida-keygen

{“@timestamp”:“2024-07-30T10:32:06.327Z”,“@version”:“1”,“message”:“sessionId - - - Fetching Key Policy for keyPolicyName(Cache): IDA\_VCI\_EXCHANGE”,“logger\_name”:“io.mosip.kernel.keymanagerservice.helper.KeymanagerDBHelper”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.329Z”,“@version”:“1”,“message”:“sessionId - keyPolicy - Optional.empty - Key Policy not found for this application Id. Key/CSR generation not allowed.”,“logger\_name”:“io.mosip.kernel.keymanagerservice.helper.KeymanagerDBHelper”,“thread\_name”:“main”,“level”:“ERROR”,“level\_value”:40000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.338Z”,“@version”:“1”,“message”:“\n\nError starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.”,“logger\_name”:“org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.348Z”,“@version”:“1”,“message”:“Application run failed”,“logger\_name”:“org.springframework.boot.SpringApplication”,“thread\_name”:“main”,“level”:“ERROR”,“level\_value”:40000,“stack\_trace”:“java.lang.IllegalStateException: Failed to execute CommandLineRunner\n\tat org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800)\n\tat org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:781)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:335)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)\n\tat io.mosip.kernel.keygenerator.KeysGeneratorApplication.main(KeysGeneratorApplication.java:23)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\n\tat org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:593)\nCaused by: io.mosip.kernel.keymanagerservice.exception.InvalidApplicationIdException: KER-KMS-002 → ApplicationId not found in Key Policy. Key/CSR generation not allowed.\n\tat io.mosip.kernel.keymanagerservice.helper.KeymanagerDBHelper.getKeyPolicy(KeymanagerDBHelper.java:257)\n\tat io.mosip.kernel.keymanagerservice.service.impl.KeymanagerServiceImpl.generateMasterKey(KeymanagerServiceImpl.java:488)\n\tat io.mosip.kernel.keymanagerservice.service.impl.KeymanagerServiceImpl$$FastClassBySpringCGLIB$$37c188ac.invoke()\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\n\tat io.mosip.kernel.keymanagerservice.service.impl.KeymanagerServiceImpl$$EnhancerBySpringCGLIB$$2569ef23.generateMasterKey()\n\tat io.mosip.kernel.keygenerator.generator.KeysGenerator.generateMasterKey(KeysGenerator.java:195)\n\tat io.mosip.kernel.keygenerator.generator.KeysGenerator.lambda$generateKeys$0(KeysGenerator.java:120)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1541)\n\tat io.mosip.kernel.keygenerator.generator.KeysGenerator.generateKeys(KeysGenerator.java:100)\n\tat io.mosip.kernel.keygenerator.KeysGeneratorApplication.run(KeysGeneratorApplication.java:31)\n\tat org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:797)\n\t… 13 common frames omitted\n”,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.350Z”,“@version”:“1”,“message”:“Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@1040be71: startup date [Tue Jul 30 10:31:52 UTC 2024]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5b239d7d”,“logger\_name”:“org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.354Z”,“@version”:“1”,“message”:“Unregistering JMX-exposed beans on shutdown”,“logger\_name”:“org.springframework.jmx.export.annotation.AnnotationMBeanExporter”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.355Z”,“@version”:“1”,“message”:“Unregistering JMX-exposed beans”,“logger\_name”:“org.springframework.jmx.export.annotation.AnnotationMBeanExporter”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.360Z”,“@version”:“1”,“message”:“Closing JPA EntityManagerFactory for persistence unit ‘hibernate’”,“logger\_name”:“org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.362Z”,“@version”:“1”,“message”:“HikariPool-1 - Shutdown initiated…”,“logger\_name”:“com.zaxxer.hikari.HikariDataSource”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}  
{“@timestamp”:“2024-07-30T10:32:06.365Z”,“@version”:“1”,“message”:“HikariPool-1 - Shutdown completed.”,“logger\_name”:“com.zaxxer.hikari.HikariDataSource”,“thread\_name”:“main”,“level”:“INFO”,“level\_value”:20000,“appName”:“keys-generator”}

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 30, 2024, 12:25pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/15 "2024-07-30T12:25:14Z")

</div>

@Arjun_Bose

Could you please provide more info on this,  
Which version of the regclient was deployed and what manual changes have you performed for the regclient deployment?

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 30, 2024, 12:30pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/16 "2024-07-30T12:30:44Z")

</div>

@Arjun_Bose

Which version of IDA are you trying to deploy?  
What is the postgres-init DB’s deployed?

Could you please provide the tables mentioned below:

- IDA db —\> `key_policy_def` table
- IDA db —\> `key_alias` table

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 30, 2024, 12:57pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/17 "2024-07-30T12:57:04Z")

</div>

have deployed reegclient as mentioned by you above

Please deploy the regclient from the develop branch of [mosip-infra](https://github.com/mosip/mosip-infra/blob/0b735c43291d555816a000952b629b5bb37a7a3d/deployment/v3/mosip/regclient/install.sh#L29).

Before running the install script, update the Docker image in the `set` command and provide it in the `helm` command within the `install.sh` script:

```auto
--set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1"

```

For example:

```auto
helm -n $NS install regclient mosip/regclient \
  --set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1" \
  --set regclient.upgradeServerUrl=https://$REGCLIENT_HOST \
  --set regclient.healthCheckUrl=$HEALTH_URL \
  --set regclient.hostName=$INTERNAL_HOST \
  --set istio.host=$REGCLIENT_HOST \
  --wait \
  --version $CHART_VERSION

```

---

<div class="post-metadata">

**Author:** ![Arjun\_Bose](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/arjun_bose/32/897_2.png) [@Arjun\_Bose](https://community.mosip.io/u/Arjun_Bose)\
**Post date:** [July 30, 2024, 1:00pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/18 "2024-07-30T13:00:06Z")

</div>

this is the postgres init db

Please deploy the regclient from the develop branch of [mosip-infra](https://github.com/mosip/mosip-infra/blob/0b735c43291d555816a000952b629b5bb37a7a3d/deployment/v3/mosip/regclient/install.sh#L29).

Before running the install script, update the Docker image in the `set` command and provide it in the `helm` command within the `install.sh` script:

```auto
--set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1"

```

For example:

```auto
helm -n $NS install regclient mosip/regclient \
  --set image.repository="mosipid/registration-client" --set image.tag="1.2.0.1" \
  --set regclient.upgradeServerUrl=https://$REGCLIENT_HOST \
  --set regclient.healthCheckUrl=$HEALTH_URL \
  --set regclient.hostName=$INTERNAL_HOST \
  --set istio.host=$REGCLIENT_HOST \
  --wait \
  --version $CHART_VERSION

```

this is the version of ida

ll.sh  
#!/bin/bash

# Installs all ida helm charts

## Usage: ./install.sh [kubeconfig]

if [$# -ge 1] ; then  
export KUBECONFIG=$1  
fi

NS=ida  
CHART\_VERSION=12.0.1-B3  
KEYGEN\_CHART\_VERSION=12.0.1-B2

echo Create $NS namespace  
kubectl create ns $NS

function installing\_ida() {  
echo Istio label  
kubectl label ns $NS istio-injection=enabled --overwrite  
helm repo update

where will i get these

- IDA db —\> `key_policy_def` table
- IDA db —\> `key_alias` table?
-

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 30, 2024, 1:14pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/19 "2024-07-30T13:14:55Z")

</div>

> [@Arjun\_Bose](#):
>
> and charts compatible with it. There are several issues i face when deploying it in 1.27 version in clamav, regclient aswell as ida , the issues relate to scaling , pods not being up , etc.

Dear @Arjun_Bose

We have to update the regclient jar version in the regclient deployment.  
Please use the command below to update it.

```auto
kubectl -n regclient edit deploy regclient

```

```auto
....
....
      containers:
        - env:
            - name: client_version_env
              value: 1,2.0.1

```

---

<div class="post-metadata">

**Author:** ![syed.salman](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/syed.salman/32/25_2.png) [@syed.salman](https://community.mosip.io/u/syed.salman)\
**Post date:** [July 30, 2024, 1:25pm UTC](https://community.mosip.io/t/mosip-setup-in-gke/1466/20 "2024-07-30T13:25:02Z")

</div>

Dear @Arjun_Bose

please install the PG admin 4 —\> login to MOSIP’s postgres server ----\>

1. ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/f/fe1df988501c588e9ea83c7cc2b3e9c161c3acee.png)
2. ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/d/d5a5272e8628f6f57f7f139c076da90c7e5cbbab.png)
3. ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/f/f905ac1665c78d94427ddd62367327830fc5592a.png)

You can get the password from Kubernetes secret under the postgres namespace

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/e/e5c947a1b2408d972998ef704d27d44d1177b4b7.png)

please share the mentioned tables to debug the issue

[Next page](https://community.mosip.io/t/mosip-setup-in-gke/1466.md?page=2)
