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