Details

      Description

      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.

      FROM debian:buster-slim
      
      RUN apt-get update && \
         apt-get upgrade -qq && \
         apt-get install procps gnupg2 wget ca-certificates lsb-release -qq --no-install-recommends && \
         wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb && \
         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://admin:admin@pmm2.vitess:443 --force
      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.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  derekperkins Derek Perkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: