Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-3019

Kubernetes-compatible PMM Server Docker image

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      We need a separate container  for this. 

       

      We should make PMM Server Docker image Kubernetes-compatible.

      1. Use /readyz API for Docker HEALTHCHECK – moved to PMM-3019.
      2. Do not use root user anywhere inside container – except for in-place updates:
        1. Remove logrotate; use logging to stdout/stderr and supervisord for managing log files;
        2. Remove crond and all cron jobs;
        3. Use pmm user for nginx; listen in ports > 1023 – moved to PMM-4996;
        4. Start programs as pmm user;
        5. Start supervisord itself as pmm user;
        6. There may be more unexpected problems.
      3. In-place updates for non-k8s environments should not be broken.

      (Comments below refer to the work done for PMM 1.x. See also previous discussion on PMM-354)

       

       

      QA:  run usual automation, check there is no  root inside

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                mykola.marzhan Mykola Marzhan
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 4 days, 7 hours, 5 minutes
                    4d 7h 5m