Create a Data Science Pipelines Application
This guide shows how to create a DataSciencePipelinesApplication (DSPA) — one isolated Kubeflow Pipelines v2 stack in a namespace — and then use it from the kfp Python SDK.
You can create a DSPA in two ways:
kubectl— apply aDataSciencePipelinesApplicationmanifest.- Alauda Console UI — from Administrator → Marketplace → OperatorHub → Data Science Pipelines Operator → All instances → Create.
Both create the same resource; use whichever fits your workflow.
TOC
Prerequisites1. Choose a database and object storage2. Create the DSPAMethod A — usingkubectlMethod B — using the Alauda Console UI3. Verify the DSPA is ready4. Use the pipeline stack (KFP v2 SDK)Clean upPrerequisites
- The Data Science Pipelines Operator is installed and its CSV reports
Succeeded— see Installation. kubectlaccess to the target cluster (for the CLI method and for verification).- A target project namespace for the pipeline stack (this guide uses
data-science-project).
1. Choose a database and object storage
Each DSPA needs a database (pipeline metadata) and an S3-compatible object store (pipeline artifacts). You have two options:
-
Managed (simplest) — let the operator deploy a MariaDB and a MinIO for you inside the DSPA namespace. Good for a quick start or a self-contained project.
WARNINGThe managed MariaDB and MinIO are intended for development and testing only (they are single-instance, with no backup or HA). Use external backends for production.
-
External — point the DSPA at your own MySQL and S3-compatible store. Recommended for production (you control backup, HA, and sizing).
For an external setup, create the credential secrets first:
2. Create the DSPA
Method A — using kubectl
Managed backends (quick start): the operator deploys MariaDB + MinIO.
External backends (production): point at your own MySQL and S3.
Save as dspa.yaml and apply:
Method B — using the Alauda Console UI
- In the Administrator view, go to Marketplace → OperatorHub.
- From the Cluster dropdown at the top, select the target cluster.
- Open the installed Data Science Pipelines Operator.
- Switch to the All instances tab and click Create (choose DataSciencePipelinesApplication if prompted).
- Fill in the form, or switch to YAML view and paste one of the manifests from Method A. Set Namespace to your project namespace (for example
data-science-project). - Click Create.
The instance now appears under All instances; its status reflects the DSPA's readiness (see the next step).
3. Verify the DSPA is ready
You should see Ready=True and the ds-pipeline-* pods (APIServer, persistence agent, scheduled-workflow, workflow controller, MLMD) Running.
4. Use the pipeline stack (KFP v2 SDK)
The DSPA's APIServer is reachable in-cluster at http://ds-pipeline-<name>.<namespace>.svc:8888 — here http://ds-pipeline-sample.data-science-project.svc:8888. Compile and upload a pipeline with the kfp Python SDK (from a pod or a machine that can reach that Service):
If you installed the operator with EXTERNAL_ROUTE_PROVIDER=virtualservice, the DSPA's status.components.apiServer.externalUrl also gives an external path through the shared Istio gateway.
Clean up
Deleting the DSPA removes the pipeline stack it created. With managed backends, the managed MariaDB/MinIO (and their data) are removed too; external backends are left untouched.