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

PMM on kubernetes with rootfull image [Technical Preview]

Details

    • New Feature
    • Status: Done
    • High
    • Resolution: Done
    • None
    • 2.29.0
    • PMM Server
    • None

    Description

      User story:

      As the user I would like to be able to run PMM on k8s.

       

      During PMM-9466 investigation it was concluded that we need at least couple of phases to deliver deployment of PMM on k8s. This is Phase 1 to limit the scope to the rootfull image and make it work on k8s.

       

      UI/UX:

      No changes to UI required.

       

      Acceptance criteria:

      PMM could be deployed (and upgraded) on k8s with one command.

      Upgrade button on UI is always disabled.

      Helm chart with following parameters

      • Image
      • How to expose
        • ClusterIP, NodePort, e.t.c.
      • Resources
        • Limits/Requests
      • Admin password
      • Currently existed environment variables

       

      Good to have, but not mandatory

      • Support change of admin password via env variable

       

      Out of scope:

      Rootless image. Openshift. See PMM-3019

      Node metrics for PMM Server.

       

      Suggested implementation:

       

      Empty /srv due to fresh mounted volume

      • Init container, just copy files: 16 sec to start
      • maybe pmm-init script as interface to init the volume
      • we already have ansible job that runs always, so we can create needed dir structure there

       

      How to test:

      Test at least on GKE, EKS and minikube.

      PMM should be able to monitor services inside k8s it is running as well as outside of it. 

       

      Details:

      https://docs.google.com/document/d/16Y5K6BwMVfj_WYyVgBSnNGM9o5dEE03HCTRLqH0uyZ4/edit#

      PMM-9466

       

      Attachments

        Issue Links

          Activity

            People

              denys.kondratenko Denys Kondratenko
              denys.kondratenko Denys Kondratenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist