I'm trying to run the pmm client in a sidecar container to mysql inside Kubernetes. I've already been doing this with 1.x, and I'm trying to upgrade to 2.x. This is what my Dockerfile looks like for the client.
RUN apt-get update && \
apt-get upgrade -qq && \
apt-get install procps gnupg2 wget ca-certificates lsb-release -qq --no-install-recommends && \
wget https: dpkg -i percona-release_latest.generic_all.deb && \
apt-get update && \
apt-get install pmm2-client && \
rm percona-release_latest.generic_all.deb && \
apt-get purge gnupg2 wget lsb-release -qq && \
apt-get autoremove -qq && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
When I try to run pmm-admin config like normal, this is the error I get.
pmm-admin config --server-insecure-tls --server-url=https:Checking local pmm-agent status...
pmm-agent is not running. Please re-run `pmm-agent setup` with --config-file flag.
I can't find any documentation about config files on the site. How do I get this set up? I'm planning to migrate the public Vitess helm charts to use this once I get it working.