Implementation:Kubeflow Pipelines Kustomize Build Apply
Appearance
| Sources | Kubeflow Pipelines, Kustomize |
|---|---|
| Domains | Infrastructure, Deployment |
| Last Updated | 2026-02-13 |
Overview
External Tool Doc for rendering and applying KFP Kubernetes manifests using kustomize build piped to kubectl apply.
Description
The deployment process uses two-phase application: first cluster-scoped resources (CRDs, namespace, cluster RBAC), then namespace-scoped resources via environment-specific overlays. Available environments:
platform-agnostic(default, MySQL)platform-agnostic-emissaryplatform-agnostic-pnsplatform-agnostic-multi-userplatform-agnostic-postgresql
Usage
Run after cluster preparation. Choose KFP_ENV based on target platform.
Code Reference
Source Location: Repository: kubeflow/pipelines
| File | Lines |
|---|---|
manifests/kustomize/README.md |
L20-24 |
manifests/kustomize/cluster-scoped-resources/kustomization.yaml |
L1-27 |
manifests/kustomize/env/platform-agnostic/kustomization.yaml |
L1-22 |
Commands:
# Phase 1: Cluster-scoped resources
kustomize build cluster-scoped-resources/ | kubectl apply -f -
kubectl wait crd/applications.app.k8s.io --for condition=established --timeout=60s
# Phase 2: Namespace-scoped resources
KFP_ENV=platform-agnostic
kustomize build "env/${KFP_ENV}/" | kubectl apply -f -
Tools Required: kustomize, kubectl
I/O Contract
| Direction | Details |
|---|---|
| Inputs |
|
| Outputs | All KFP resources deployed:
|
Usage Examples
Full deployment sequence:
KFP_ENV=platform-agnostic
kustomize build cluster-scoped-resources/ | kubectl apply -f -
kubectl wait crd/applications.app.k8s.io --for condition=established --timeout=60s
kustomize build "env/${KFP_ENV}/" | kubectl apply -f -
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment