Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Implementation:Kubeflow Pipelines Kustomize Build Apply

From Leeroopedia
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-emissary
  • platform-agnostic-pns
  • platform-agnostic-multi-user
  • platform-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
  • Cluster access (valid kubeconfig)
  • Choice of environment overlay (KFP_ENV)
Outputs All KFP resources deployed:
  • CRDs
  • Namespace
  • API server
  • UI
  • Persistence agent
  • Argo
  • MySQL
  • SeaweedFS

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