Skip to main content
Version: 25.3

Pipeline optimization: Kubernetes

This guide describes how to deploy the pipeline optimization service (referred to as groundswell in the configuration file) for Seqera Platform Enterprise on Kubernetes.

Prerequisites

Other than the basic requirements already listed in the Pipeline Optimization installation overview, you will need:

  • A Kubernetes cluster
  • kubectl installed locally

Procedure

  1. Download the groundswell manifest.

  2. Set TOWER_ENABLE_GROUNDSWELL=true in your configmap.yml.

    To use a custom URL, set GROUNDSWELL_SERVER_URL instead.

  3. Create the Groundswell database schema:

    CREATE DATABASE IF NOT EXISTS `swell`;
    CREATE USER 'swell'@'%' IDENTIFIED BY 'swell';
    GRANT ALL PRIVILEGES ON *.* TO 'swell'@'%';
    FLUSH PRIVILEGES;

    For managed database services (RDS, Cloud SQL, etc.):

    CREATE DATABASE IF NOT EXISTS `swell`;
    CREATE USER 'swell'@'%' IDENTIFIED BY 'swell';
    GRANT ALL PRIVILEGES ON `%`.* TO 'swell'@'%';
    FLUSH PRIVILEGES;
  4. Update the Groundswell ConfigMap (tower-groundswell-cfg) with your database credentials.

  5. Apply the manifests:

    kubectl apply -f configmap.yml
    kubectl apply -f groundswell.yml
  6. Restart the backend:

    kubectl rollout restart deployment/backend

The initContainers process waits for both databases to be ready before starting the migration and optimization service.

Verify

When pipeline optimization is active, pipelines with at least one successful run display a lightbulb icon in the Launchpad.

Configuration

See Pipeline optimization for additional configuration options.