Installing the Kubeflow Dashboard: Central Dashboard, Profiles, and PodDefaults
Basic information
Section titled “Basic information”| Item | Value |
|---|---|
| Version | Not applicable (dashboard manifests from community-distribution release-26.03.1) |
| Official docs | Kubeflow Central Dashboard, Profiles |
| Upstream source | applications/dashboard |
Concepts and features
Section titled “Concepts and features”Despite the name, this step does not install only a single UI. It brings in the Central Dashboard that Kubeflow users see after login, the controller that reconciles Profile CRs, and the admission webhook that applies PodDefault when Notebook Pods are created. Only after this step finishes does the foundation exist for “which namespaces a logged-in user can see, and whether baseline settings can be injected into Notebooks in those namespaces”.
That combination is why this layer sits at the intersection of user experience and control-plane behavior. It is both a web app and a major part of the multi-tenancy implementation.
What the components establish
Section titled “What the components establish”- Central Dashboard: the Kubeflow web app that owns the
/path. It provides menu links and quick links, and callsprofiles-kfamto display the list of namespaces the user can access. - Profile controller / KFAM: the
ProfileCRD and controller. It reconciles Profiles into user namespaces, RoleBindings, default ServiceAccounts, Istio AuthorizationPolicies, and so on. KFAM is the service the Dashboard uses to look up and manage namespace membership. It is not a separate Deployment: it runs as a second container (kfam) inside theprofiles-deploymentPod, andprofiles-kfamexists only as the Service in front of it. - PodDefaults webhook: the
PodDefaultCRD and a mutating admission webhook. It injects baseline settings such as env, volumes, and volumeMounts into Notebook Pods based on selectors.
The dashboard is not just a static menu. When it needs to know which namespaces a logged-in user may see, it goes through KFAM rather than inventing its own access model. The PodDefault mechanism lets operators declare reusable Pod fragments, which is especially useful for notebook-oriented workflows where many user Pods need the same baseline configuration without repeating it in every manifest.
Role in Kubeflow
Section titled “Role in Kubeflow”Background
Section titled “Background”Profile is the center of Kubeflow multi-tenancy. Users do not operate on the whole cluster directly; they create resources such as Notebooks, Pipelines, and InferenceServices in their own Profile namespace. The Dashboard shows these namespaces in the UI, and the Profile controller creates the actual namespaces and permissions. The PodDefaults webhook injects the additional settings that make up the Notebook UX at Pod creation time.
Key contributions
Section titled “Key contributions”- User entry page: routes the root path (
/) to the Central Dashboard. Apps such as Notebooks, Pipelines, Katib, KServe, and Model Registry are then reached through the dashboard menu. - Profile lifecycle foundation: installs the
profiles.kubeflow.orgCRD and controller, preparing to reconcile the example Profile (kubeflow-user-example-com) in the next step. - Namespace membership API: the Dashboard checks the current user’s (
kubeflow-userid) namespace access through theprofiles-kfamservice. - Notebook default injection: installs the
poddefaults.kubeflow.orgCRD and mutating webhook so that user-selectable baseline settings can be injected into Notebook Pods.
Without this layer, there is no real central landing page, there is no controller to turn Profile resources into namespaces and permissions, and notebook-style configuration injection is missing. This component is where Kubeflow starts to feel like a usable platform rather than a collection of controllers.
Deployment structure
Section titled “Deployment structure”Overlay composition
Section titled “Overlay composition”overlays/dev/kubeflow/overlays/dashboard references applications/dashboard/overlays/istio as is. The dev overlay has no patches of its own.
overlays/dev/kubeflow/overlays/dashboard -> applications/dashboard/overlays/istio -> centraldashboard/overlays/kserve -> poddefaults-webhooks/overlays/cert-manager -> profile-controller/overlays/kubeflow-pssapplications/dashboard/overlays/istio patches the dashboard-config ConfigMap to configure the Kubeflow menu. The Notebooks, TensorBoards, Volumes, Katib, KServe Endpoints, Model Registry, and Pipelines links are defined here.
Subcomponent composition
Section titled “Subcomponent composition”| Subcomponent | Overlay | Main role |
|---|---|---|
| Central Dashboard | centraldashboard/overlays/kserve | / VirtualService, dashboard Deployment/Service, menu ConfigMap |
| PodDefaults webhook | poddefaults-webhooks/overlays/cert-manager | PodDefault CRD, webhook Deployment, Certificate/Issuer, MutatingWebhookConfiguration |
| Profile controller | profile-controller/overlays/kubeflow-pss | Profile CRD, profiles-deployment, profiles-kfam, default Profile namespace labels |
Profile namespace labels
Section titled “Profile namespace labels”The kubeflow-pss overlay provides, as a ConfigMap, the label set to attach to Profile namespaces.
| Label | Value | Meaning |
|---|---|---|
app.kubernetes.io/part-of | kubeflow-profile | Identifies Profile namespaces |
katib.kubeflow.org/metrics-collector-injection | enabled | Katib metrics collector injection |
pipelines.kubeflow.org/enabled | true | Enables the KFP multi-user namespace |
serving.kubeflow.org/inferenceservice | enabled | Namespace that uses KServe InferenceService |
pod-security.kubernetes.io/enforce | baseline | PodSecurity level for Profile namespaces |
Those labels prepare user namespaces for later Kubeflow subsystems.
Note that the Profile controller does not overwrite labels that already exist. To change a label value on a namespace that was already created, you must remove the label and add it again. This repository’s example Profile overlay corrects the PodSecurity label with a separate retrying Job. The details are covered in the next 08-user-profile document.
Deployment view
Section titled “Deployment view”Resource Placement
Section titled “Resource Placement”| Namespace | Resource | Name | Purpose |
|---|---|---|---|
kubeflow | Deployment + Service | centraldashboard | Central Dashboard UI (port 8082) |
kubeflow | VirtualService | centraldashboard | Routes / requests on kubeflow-gateway to the Central Dashboard service |
kubeflow | ConfigMap | dashboard-config | Menu link, quick link, and iframe settings |
kubeflow | Deployment | profiles-deployment | Profile controller. The Pod runs two containers, manager and kfam |
kubeflow | Service | profiles-kfam | Namespace membership API exposing the kfam container of the profiles-deployment Pod. There is no separate Deployment |
| (cluster) | CRD | profiles.kubeflow.org | Profile custom resource |
kubeflow | Deployment + Service | poddefaults-webhook-deployment, poddefaults-webhook-service | PodDefault mutating webhook |
| (cluster) | CRD | poddefaults.kubeflow.org | PodDefault custom resource |
kubeflow | Certificate + Issuer | poddefaults-webhook-cert, poddefaults-webhook-selfsigned-issuer | Webhook server certificate |
| (cluster) | MutatingWebhookConfiguration | poddefaults-webhook-mutating-webhook-configuration | Applies PodDefault at Pod creation |
Diagram
Section titled “Diagram”PlantUML source:
Dependencies and interactions
Section titled “Dependencies and interactions”Prerequisites / downstream
Section titled “Prerequisites / downstream”- Prerequisites:
kubeflow-namespace,cert-manager,istio,oauth2-proxy,dex,kubeflow-istio-resources,kubeflow-roles. - Downstream:
08-user-profile(applies the Profile CR), and components that depend on the dashboard menu and Profile namespaces, such as Notebooks, Pipelines, Katib, KServe, and Model Registry. - Broader downstream consumers include any feature that expects a profile namespace to exist and be visible to the user.
Runtime interactions
Section titled “Runtime interactions”A browser request passes through the auth flow and reaches the Dashboard carrying the kubeflow-userid header. The Dashboard uses that identity to query profiles-kfam for namespace membership. The Profile controller watches Profile CRs and, when a new Profile appears, reconciles its namespace and default permissions asynchronously. When a Notebook Pod is created, the PodDefaults webhook looks up PodDefault resources in the same namespace and injects the settings that match the selector.
This is why the dashboard layer affects far more than the homepage UI.
Key resources
Section titled “Key resources”centraldashboardDeployment/Service/VirtualService: the Kubeflow root UI.dashboard-configdefines the menu and quick links.profiles.kubeflow.orgCRD +profiles-deployment: the center of Profile namespace reconciliation. The example Profile applied in the next step is materialized into a namespace by this controller.profiles-kfamService/VirtualService/AuthorizationPolicy: the Profile membership management API used by the Dashboard. The actual process is thekfamcontainer of theprofiles-deploymentPod, andprofiles-kfamexists only as the Service pointing to that container.poddefaults.kubeflow.orgCRD + webhook: the admission path that injects baseline settings into Notebook Pods.poddefaults-webhook-cert: the TLS certificate issued by cert-manager and used by the webhook.caBundleinjection is handled by cert-manager/cainjector.- These are the resources to inspect when this layer is unhealthy. Operational focus per resource:
centraldashboardfor the root UI and configured links,profiles-deploymentfor Profile reconciliation and the KFAM container,profiles-kfamfor the namespace membership API,poddefaults-webhookfor admission mutation, anddashboard-configfor menu and quick-link configuration. - Overall relationship: Dashboard uses Profiles/KFAM, which back the Profile namespaces; PodDefaults mutates notebook Pods.
References
Section titled “References”- Overlay:
overlays/dev/kubeflow/overlays/dashboard - Upstream overlay:
applications/dashboard/overlays/istio - Related documents: