elastic / elastic/logstash

Logstash docker images from 7.17.23 do not work on arm64 architecture kubernetes

Open
#17,408 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

Description of the problem including expected versus actual behavior:
arm64 containers published in Docker Hub cannot be used on arm64 machines due to statically compiled env2yaml for x86_64
https://hub.docker.com/_/logstash/tags

runtime error:
```
/usr/local/bin/docker-entrypoint: line 7: /usr/local/bin/env2yaml: cannot execute binary file: Exec format error
```

Use arm64 architecture machines
deploy logstash:7.17.23 on kubernetes

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Logstash 7.17.23 image, its /usr/local/bin/docker-entrypoint, and the env2yaml binary, then reproduce the deployment on an arm64 Kubernetes machine. Compare the binary architecture with the image architecture; done means the published arm64 image starts without the “cannot execute binary file” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.