influxdata / influxdata/influxdata-docker

memory warning in the custom built docker file.

Open
#846 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

telegraf waiting for reply
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.