influxdata / influxdata/influxdata-docker
memory warning in the custom built docker file.
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 364
- Forks
- 255
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 7
Description
We are deploying telegraf on kubernetes cluster. We have written scripts to get metrics, scripts need few packages to be installed so using below shared Dockerfile image. When the custom image deployed, we are seeing the warning message in logs. How to increase the memory limit?
If this is not the ideal way, please share recommended process to install packages in the base image.
_W! Insufficient lockable memory 64kb when 84kb is required. Please increase the limit for Telegraf in your Operating System!_
Dockerfile
```
FROM telegraf:1.37-alpine
RUN apk add --no-cache coreutils curl
ENTRYPOINT ["/entrypoint.sh"]
CMD ["telegraf"]
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Dockerfile in the issue and the deployment logs containing the lockable-memory warning. Check how the custom image and its Kubernetes deployment configure the relevant limit, and determine whether installing coreutils and curl is supported this way. Done means identifying a documented, reproducible configuration or recommended installation process.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100