# KodeKloud: Courses Kubeflow ## Kubeflow ### Course Introduction - [Course: Kubeflow](https://notes.kodekloud.com/docs/Kubeflow/index.md): Introduction to Kubeflow for building, scaling, and operating production ML workflows on Kubernetes, covering pipelines, notebooks, automated tuning, serving, installation, and multi-tenant deployment. - [Course Introduction](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/Course-Introduction/page.md): Introduction to Kubeflow for building, scaling, and operating production ML workflows on Kubernetes, covering pipelines, notebooks, automated tuning, serving, installation, and multi-tenant deployment. - [Who This Course Is for](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/Who-This-Course-Is-for/page.md): Course introducing Kubeflow and Kubernetes for building, deploying, and operating reproducible production ML workflows, aimed at ML engineers, software engineers, data scientists, and platform teams. - [What You Will Build in This Course](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/What-You-Will-Build-in-This-Course/page.md): Building and operating an end-to-end Kubeflow ML platform covering notebooks, pipelines, Katib tuning, KServe deployment, and multi-user collaboration. - [What Is MLOps](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/What-Is-MLOps/page.md): Explains MLOps principles, lifecycle stages, and how Kubeflow on Kubernetes supports reproducible, automated, and production-ready machine learning workflows. - [Problems With Traditional ML Workflows](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/Problems-With-Traditional-ML-Workflows/page.md): Explains limitations of traditional ML workflows and advocates MLOps practices for automation, reproducibility, monitoring, collaboration, versioning, and continuous retraining to run models reliably in production - [Kubeflow Ecosystem](https://notes.kodekloud.com/docs/Kubeflow/Course-Introduction/Kubeflow-Ecosystem/page.md): Overview of Kubeflow components and how they integrate to support the end-to-end ML lifecycle ### Fundamentals of Kubeflow - [Kubeflow Introduction](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Kubeflow-Introduction/page.md): Overview of Kubeflow as a Kubernetes-based platform that standardizes, automates, and scales reproducible end-to-end machine learning pipelines, experiments, training, and model serving. - [Benefits of Kubeflow](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Benefits-of-Kubeflow/page.md): Overview of Kubeflow benefits including containerized reproducible pipelines, scalable Kubernetes training and serving, model registry, managed notebooks, KServe deployment, and cross environment portability - [Kubeflow Architecture](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Kubeflow-Architecture/page.md): Overview of Kubeflow architecture on Kubernetes explaining layered infrastructure, CRDs and controllers, pipelines, notebooks, training, Katib, KServe, networking, storage, and ML lifecycle integration. - [Installing Kubeflow](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Installing-Kubeflow/page.md): Guide for installing Kubeflow on Kubernetes covering prerequisites, kustomize deploy with retry loop, readiness checks, accessing the web UI, and installing the Pipelines Python SDK - [Demo Installing Kubeflow](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Demo-Installing-Kubeflow/page.md): Step-by-step walkthrough for installing Kubeflow on Kubernetes clusters using kind or managed services, covering prerequisites, manifests, kustomize builds, apply loops, and post installation verification. - [Demo What Was Installed](https://notes.kodekloud.com/docs/Kubeflow/Fundamentals-of-Kubeflow/Demo-What-Was-Installed/page.md): Guide to inspecting a Kubeflow installation, listing deployed CRDs, namespaces, Istio and Kubeflow resources, and kubectl commands to explore deployed components ### Working With Kubeflow - [Section Introduction](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Section-Introduction/page.md): Explains Kubeflow Pipelines and Notebooks for building, orchestrating, and reproducing end-to-end containerized ML workflows on Kubernetes. - [Demo Accessing UI](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Accessing-UI/page.md): Guide to accessing Kubeflow Central Dashboard from a workstation using kubectl port forward, inspecting Kubernetes services, and overview of dashboard features like notebooks and pipelines - [Kubeflow Pipelines](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Kubeflow-Pipelines/page.md): Kubeflow Pipelines automates end to end ML workflows on Kubernetes by running Python authored components as isolated pods, compiling pipelines to YAML for reproducible orchestration. - [Demo Creating Our First Pipeline](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Creating-Our-First-Pipeline/page.md): Guide to building, compiling, uploading, and running a simple Kubeflow Pipeline with KFP v2 DSL, demonstrating parallel versus serial task execution and inspecting runs and pods - [Pipeline Parameters](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Pipeline-Parameters/page.md): Explains how to define and use pipeline parameters in Kubeflow Pipelines to run reusable ML pipelines with runtime-configurable hyperparameters and defaults via UI or SDK - [Demo Pipeline Parameters](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Pipeline-Parameters/page.md): Guide showing how to add runtime pipeline parameters in Kubeflow Pipelines to pass hyperparameters like epochs and learning rate to components for flexible experiments. - [Customizing Component Image](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Customizing-Component-Image/page.md): How to control container images and dependencies for Kubeflow Pipelines components, tradeoffs of runtime installs, and when to build custom images - [Demo Customizing Component Image](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Customizing-Component-Image/page.md): Demonstrates creating and running a Kubeflow Pipeline component locally, installing missing Python packages in the component image to train a DecisionTree on the Iris dataset - [Passing Data Between Components](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Passing-Data-Between-Components/page.md): Guide to passing data between Kubeflow pipeline components using parameters for small scalars and artifacts for file-based large outputs, with examples and best practices - [Demo Passing Data Between Components Parameters](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Passing-Data-Between-Components-Parameters/page.md): Shows how to pass scalar parameters between Kubeflow Pipelines components using a train_model returning accuracy and evaluate_model consuming it, plus compilation, UI inspection, and best practices. - [Demo Passing Data Between Components Artifacts](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Passing-Data-Between-Components-Artifacts/page.md): Guide demonstrating passing files and structured data between Kubeflow Pipelines components using artifacts, with an example pipeline that transfers CSV datasets, a pickled model, and logged metrics. - [Pipeline Control Flow](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Pipeline-Control-Flow/page.md): Explains Kubeflow Pipelines control flow patterns including conditional If Else and ParallelFor with Collected for decision making, model promotion, and parallel hyperparameter sweeps. - [Demo Pipeline Control Flow](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Pipeline-Control-Flow/page.md): Demonstrates running a component in parallel across learning rates, collecting outputs, and selecting the best learning rate based on aggregated accuracies - [Notebooks](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Notebooks/page.md): Running Jupyter and other IDEs on Kubeflow to develop and run notebooks using cluster CPUs GPUs shared storage and reproducible containerized environments for collaboration and scalable experiments - [Demo Section Project](https://notes.kodekloud.com/docs/Kubeflow/Working-With-Kubeflow/Demo-Section-Project/page.md): Compact Kubeflow Pipelines example that loads breast cancer data, preprocesses it, trains and evaluates a logistic regression, logs metrics, and runs a parallel hyperparameter sweep. ### KServe and Katib - [Section Introduction](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Section-Introduction/page.md): How to productionize machine learning using Kubernetes with KServe for scalable model serving and Katib for automated hyperparameter optimization - [The Iris Dataset](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/The-Iris-Dataset/page.md): Overview of the Iris dataset, its four numeric features and three species classification task, with a scikit-learn example for loading, splitting, preprocessing, training, and evaluation. - [What Is KServe](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/What-Is-KServe/page.md): Overview of KServe, a Kubernetes native model serving platform that automates deployment, autoscaling, traffic control, and observability for diverse ML and generative AI models. - [Installing KServe](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Installing-KServe/page.md): Guide to installing KServe on a local Minikube Kubernetes cluster, including prerequisites, cert-manager and Helm setup, and verification of CRDs and controller - [Deploying Iris Trained Model on KServe](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Deploying-Iris-Trained-Model-on-KServe/page.md): Guide to train, serialize and upload a scikit-learn Iris model and deploy it as a KServe InferenceService on Kubernetes for scalable inference. - [Demo Deploying Iris Trained Model on KServe](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Demo-Deploying-Iris-Trained-Model-on-KServe/page.md): Step-by-step guide to run KServe on a local Kind cluster and deploy a pre-trained scikit-learn Iris model, creating an InferenceService and testing via kubectl port-forward and curl. - [What Is Katib](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/What-Is-Katib/page.md): Explanation of Katib, a Kubernetes native open source system that automates and scales hyperparameter optimization to accelerate ML model tuning and reduce manual experimentation. - [Installing Katib](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Installing-Katib/page.md): Guide to installing and verifying Katib on Kubernetes, deploying manifests to run hyperparameter tuning, accessing the Katib UI, and troubleshooting common installation issues. - [Understanding RandomForest Regressor](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Understanding-RandomForest-Regressor/page.md): Overview of Random Forest regression, explaining regression tasks, ensemble decision trees, operation, hyperparameters, use cases, and practical tips for training and evaluation - [What Are Hyperparameters](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/What-Are-Hyperparameters/page.md): Overview of hyperparameters, their effects on model performance and resources, and practical tuning methods and tips with Random Forest parameter examples. - [Why Update the Random Forest Program](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Why-Update-the-Random-Forest-Program/page.md): Explains converting hard-coded Random Forest hyperparameters into command-line configurable arguments using argparse to enable automated tuning tools like Katib. - [A Katib Experiment](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/A-Katib-Experiment/page.md): Overview of Katib Experiments on Kubernetes for automated hyperparameter tuning, defining search space, objective, search algorithm, and trial templates to run and manage parallel trials - [Demo Running Experiments on Katib](https://notes.kodekloud.com/docs/Kubeflow/KServe-and-Katib/Demo-Running-Experiments-on-Katib/page.md): Guide demonstrating how to run a Katib Experiment using a BusyBox trial to emit and optimize a score metric, including YAML, namespace setup, applying the experiment, and troubleshooting ### Profiles and Multi-Tenancy - [Section Introduction](https://notes.kodekloud.com/docs/Kubeflow/Profiles-and-Multi-Tenancy/Section-Introduction/page.md): Explains how Kubeflow uses external authentication, RBAC, and Profiles to provide secure multi-user isolation and per-user namespaces on Kubernetes - [Authentication in Kubernetes](https://notes.kodekloud.com/docs/Kubeflow/Profiles-and-Multi-Tenancy/Authentication-in-Kubernetes/page.md): Explains Kubernetes authentication, external identity providers, token validation, common methods like OIDC, LDAP, TLS and Dex usage for demos and Kubeflow authentication. - [Kubeflow Profiles](https://notes.kodekloud.com/docs/Kubeflow/Profiles-and-Multi-Tenancy/Kubeflow-Profiles/page.md): Explains Kubeflow Profiles, workspace isolation by mapping to Kubernetes namespaces, and RBAC role bindings for creating, granting, and verifying team and user access - [Demo Adding Users in Dex](https://notes.kodekloud.com/docs/Kubeflow/Profiles-and-Multi-Tenancy/Demo-Adding-Users-in-Dex/page.md): Guide to add local static users to Dex for Kubeflow by editing the Dex ConfigMap staticPasswords, generating bcrypt password hashes, and restarting Dex for testing authentication. - [Demo Profiles](https://notes.kodekloud.com/docs/Kubeflow/Profiles-and-Multi-Tenancy/Demo-Profiles/page.md): Guide to using Kubeflow Profiles, creating and managing profile namespaces, assigning editor contributors, and configuring Kubernetes RBAC plus Istio AuthorizationPolicy for view only access ### Bringing It All Together - [Summary Fundamentals of Kubeflow](https://notes.kodekloud.com/docs/Kubeflow/Bringing-It-All-Together/Summary-Fundamentals-of-Kubeflow/page.md): Overview of Kubeflow basics for building, running, tuning, and serving reproducible ML workflows on Kubernetes, including pipelines, KServe, Katib, authentication, and multiuser setup