Document/Make more settings configurable in PMM Docker
Description
How to test
How to document
Smart Checklist
Activity
Kenny Gryp March 10, 2017 at 2:47 PM
Currently in Managed Services we have this:
mysql
- name: install ssl container
docker_container:
name: pmm-server
image: percona/pmm-server:1.0.5
state: started
published_ports:
- "8080:80"
- "8443:443"
volumes_from: pmm-data
volumes:
- "/etc/rdba/.aws_credentials:/usr/share/grafana/.aws/credentials:ro"
- "{{ pmm_ssl_dir }}:/etc/nginx/ssl:ro"
env:
SERVER_USER: "{{ global_pmm_username }}"
SERVER_PASSWORD: "{{ global_pmm_password }}"
METRICS_RETENTION: "{{ pmm_retention }}"
We might add another volume to specify our own mysql configuration soon
Prometheus
For example, we need to be able to change Prometheus memory usage and this seems supported already (as soon as we need this we will add it to our managed services codebase)
Source: https://github.com/percona/pmm-server/blob/master/entrypoint.sh#L10-L19
However, I couldn't find this in the documentation
Consul
We don't need anything at this moment
Grafana
we currently only specify the aws credentials for cloudwatch support, that's good enough for us for now
Orchestrator.
We should be able to disable it
Roma Novikov March 10, 2017 at 2:30 PM
@Kenny Gryp we also have Consul, Orchestrator, Prometheus, Grafana inside docker . Do we need way to override their configs too ?
Because for pmm-admin we need option to override all our default configs
Kenny Gryp March 10, 2017 at 1:59 PM
we can use -v
to specify a file/path to overwrite mysql configuration variables
Details
Assignee
UnassignedUnassignedReporter
Kenny GrypKenny Gryp(Deactivated)Priority
MediumComponents
Needs QA
YesNeeds Doc
Yes
Details
Details
Assignee
Reporter
Priority
Components
Needs QA
Needs Doc
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

Related to PMM-633, we have many managed services clients that have a lot of servers. The default
my.cnf
is not sufficient for these clients and we need to be able to have a way to change this.While we can work around this in Managed Services, this is a good feature to have documented/built in. Maybe document to specify a
my.cnf
as mount volume?