Can't run client inside a container

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.

When I try to run pmm-admin config like normal, this is the error I get.

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.

How to test

None

How to document

None

Smart Checklist

Activity

Alexey Palazhchenko December 26, 2020 at 3:30 PM

Lalit Choudhary December 17, 2019 at 8:51 AM

Also, pmm documentation should include pmm installation on Kubernetes once it available. 

Alexey Palazhchenko October 30, 2019 at 6:25 PM
Edited

pmm-agent configuration file should exist, but it can be empty – pmm-admin config updates it with given values and reloads pmm-agent.

Additionally, you may consider using .tar.gz with binaries instead of RPMs. You can download it from https://www.percona.com/downloads/pmm2/ (select Linux - Generic).

Lastly, we plan to provide a better experience for Kubernetes users. See https://jira.percona.com/browse/PMM-4759.

Derek Perkins October 24, 2019 at 4:32 PM

> So it looks like you need to start agent with config file path

I understand that, but there is no config file, and there is no documentation on what that file contains.

Roma Novikov October 24, 2019 at 3:56 PM

pls see "pmm-agent --help" for more details / flags
pmm-admin for pmm2 is some kind of "proxy" .

So it looks like you need to start agent with config file path

Done

Details

Assignee

Reporter

Priority

Components

Affects versions

Environment

GKE 1.14.7

Smart Checklist

Created October 23, 2019 at 5:12 PM
Updated March 6, 2024 at 5:18 AM
Resolved December 26, 2020 at 3:30 PM