Skip to content

memory warning in the custom built docker file. #846

@Dinesh558

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions