-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I have tried to deploy the Batch Processing Gateway using the Helm chart in EKS cluster but i have hit an error saying gzip: /app/app-config.gz: not in gzip format.
1/ Built a new docker image for (x86 arch) from Dockerfile in main branch and pushed the image to public ECR repo. public.ecr.aws/r1l5w1y9/batch-processing-gateway . Here is the values.yaml
2/ Generated a bpg config yaml file and converted this file to base64 encoded string and added this string to encodedConfig in Helm chart values.yaml
3/ This deployment also uses AWS S3 bucket and PostgresRDS with IRSA configured for BPG service account added to bpg and bpg-helper deployments
Here is the Terraform code snippet for the deployment
I can see the output of ConfigMap value for bpg but the pod is still throwing that config is not found.
Please advise if i am missing anything
Errors
I am seeing the following error from BPG and BPG-helper pods.
gzip: /app/app-config.gz: not in gzip format
14:34:33.217 [main] INFO com.apple.spark.BPGApplication - Starting server, version: 1.1, revision:
io.dropwizard.configuration.ConfigurationParsingException: /etc/app_config/app-config.yaml has an error:
* Configuration at /etc/app_config/app-config.yaml must not be empty
at io.dropwizard.configuration.ConfigurationParsingException$Builder.build(ConfigurationParsingException.java:278)
at io.dropwizard.configuration.BaseConfigurationFactory.build(BaseConfigurationFactory.java:87)
at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:139)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at com.apple.spark.BPGApplication.main(BPGApplication.java:87)
