Skip to content

memory warning in the custom built docker file. #846

Description

@Dinesh558

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"]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions