Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-10391

Migrate system DCs to Deployments

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • RHOAM Sprint 50, RHOAM Sprint 51, RHOAM Sprint 52

      WHY
      Now that DeploymentConfigs are deprecated, we need to convert the system DCs to Deployments.

      WHAT

      • system-app
        NOTE: the system-app DeploymentConfig makes use of lifecycle hooks to bootstrap the system database. Unfortunately, Deployments don't support lifecycle hooks so we will need a different mechanism to provide the equivalent functionality. We can't use a sidecar or init container because if the 3scale instance has multiple system-app replicas, they will all try to bootstrap the system database at the same time which could potentially cause problems. Some potential solutions include creating a Job CR that runs once or a separate Deployment that bootstraps the DB and then dies.
      • system-sidekiq
      • system-searchd

      HOW

      1. Create the new Deployments
      2. Perform any component specific migration steps such as linking existing PVCs, user defined env vars, user defined requests/limits, etc.
      3. Verify that the new Deployment is healthy
      4. Delete the corresponding DeploymentConfig

            Unassigned Unassigned
            ckyrillo@redhat.com Carl Kyrillos
            Matej Dujava Matej Dujava
            Carl Kyrillos Carl Kyrillos
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: