Deploy DHIS2 with Kubernetes

Hi,

Does anyone have any experience with deploying DHIS2 with Kubernetes?

We’re trying to test the WHO Covid19 Setup in the cloud but importing the data dump is proving difficult.

We’re using the Instant OpenHIE Kubernetes HMIS (DHIS2) package deployment. It’s purely the data import we are struggling with.

The branch is still in development - but seems to work well.

Hello Matt,

Were you able to setup on Kubernetes.?

I’m trying on Elastic Kubernetes Service but experienced some errors while deploying the pod.

Blockquote

main ERROR Null object returned for RollingFile in Appenders.

  • INFO 2021-05-13T13:41:39,375 System property dhis2.home not set (LogOnceLogger.java [main])
  • INFO 2021-05-13T13:41:39,789 Environment variable DHIS2_HOME points to /DHIS2_home (LogOnceLogger.java [main])
  • INFO 2021-05-13T13:41:39,791 Directory /DHIS2_home is not writeable (LogOnceLogger.java [main])
    13-May-2021 13:41:39.821 SEVERE [main] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/usr/local/tomcat/webapps/ROOT.war]
    java.lang.IllegalStateException: Error starting child

Blockquote

Note: I have setup /DHIS2_home dir on the container to have tomcat group permissions through deployment file. but still it shows Directory /DHIS2_home is not writeable

Any idea how this can be solved?

Thanks,
Josh.