Temporal servers are not coming up

2022/08/25 17:41:10 Loading config; env=docker,zone=,configDir=config
2022/08/25 17:41:10 Loading config files=[config/docker.yaml]

Unable to load configuration: config file corrupted: Persistence.DefaultStore: zero value, Persistence.NumHistoryShards: zero value.

Hey @raj_chinni

Can you show how you are creating your server container? Is it via docker compose or via docker run command?

Iā€™m deploying in EKS with helm chart and the version is 1.17.1 and using postgres and Elastic Search.

looks to be a configmap issue, corrected it and it is loading now.

1 Like

@raj_chinni What did you change in the configmap to get this working? cc @Peter.Sullivan

I think its numHistoryShards in configMap or its value in values.yaml.

persistence:
  numHistoryShards: {{ $.Values.server.config.numHistoryShards }}
  datastores:
    {{- with $.Values.server.config.persistence.additionalStores }}
    {{- toYaml . | nindent 8 }}
    {{- end }

What did you change it to I changed it to the default of 4 but it still gave the same thing