---
title: "Discussion on \"Brownfield Kubeflow on RKE2: Swapping Dex & SeaweedFS for Keycloak & Ceph RGW\" | Hashnode"
description: "Discussion on \"Brownfield Kubeflow on RKE2: Swapping Dex & SeaweedFS for Keycloak & Ceph RGW\". Upstream Kubeflow assumes a greenfield cluster and ships its own Dex, SeaweedFS and MySQL, with its own oauth2-proxy in front. My homelab already had better versions of most of those. This is the brow"
url: "https://hashnode.com/posts/brownfield-kubeflow-rke2-keycloak-ceph-cnpg/6ad3c522ea2a6916603a307c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Brownfield Kubeflow on RKE2: Swapping Dex & SeaweedFS for Keycloak & Ceph RGW](https://georgeezejiofor.com/brownfield-kubeflow-rke2-keycloak-ceph-cnpg?utm_source=hashnode&utm_medium=feed)

Upstream Kubeflow assumes a greenfield cluster and ships its own Dex, SeaweedFS and MySQL, with its own oauth2-proxy in front. My homelab already had better versions of most of those. This is the brow

Oct 17 · 50 min read · georgeezejiofor.com  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#devops](https://hashnode.com/tag/devops)
-   [#machinelearning](https://hashnode.com/tag/machinelearning)
-   [#mlops](https://hashnode.com/tag/mlops)
-   [#kubeflow](https://hashnode.com/tag/kubeflow)
-   [#keycloak](https://hashnode.com/tag/keycloak)
-   [#oauth2-proxy](https://hashnode.com/tag/oauth2-proxy)
-   [#kubernetes-architecture](https://hashnode.com/tag/kubernetes-architecture)
-   [#devsecops](https://hashnode.com/tag/devsecops)
-   [#data-science](https://hashnode.com/tag/data-science)
-   [#databases](https://hashnode.com/tag/databases)
-   [#istio](https://hashnode.com/tag/istio)
-   [#kserve](https://hashnode.com/tag/kserve)
-   [#katib](https://hashnode.com/tag/katib)
-   [#dex](https://hashnode.com/tag/dex)
-   [#ceph](https://hashnode.com/tag/ceph)
-   [#seaweedfs](https://hashnode.com/tag/seaweedfs)
-   [#minio](https://hashnode.com/tag/minio)
-   [#s3](https://hashnode.com/tag/s3)
-   [#cnpg](https://hashnode.com/tag/cnpg)
-   [#technical-writing-1](https://hashnode.com/tag/technical-writing-1)
-   [#blog](https://hashnode.com/tag/blog)
-   [#platform-engineering](https://hashnode.com/tag/platform-engineering)
-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-tools](https://hashnode.com/tag/ai-tools)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#ai-agent](https://hashnode.com/tag/ai-agent)
-   [#aitools](https://hashnode.com/tag/aitools)
-   [#ml](https://hashnode.com/tag/ml)
-   [#mlflow](https://hashnode.com/tag/mlflow)
-   [#developer](https://hashnode.com/tag/developer)
-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#devops-journey](https://hashnode.com/tag/devops-journey)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#devopscommunity](https://hashnode.com/tag/devopscommunity)

## Written by

[George Ezejiofor](https://hashnode.com/@georgeezejiofor)

@georgeezejiofor · London, United Kingdom

  
[View profile](https://hashnode.com/@georgeezejiofor)

Director & AI/ML Platform / MLOps Engineer at GeoCloudTech | Kubestronaut | Kubernetes, DevSecOps and MLOps for regulated industries

I'm an AI/ML Platform and MLOps Engineer and a Kubestronaut, with 13+ years in IT and 5+ in DevOps and DevSecOps. Through my consultancy, GeoCloudTech, I design secure, highly available Kubernetes platforms for regulated industries, on cloud and on-premises. What I build: - Kubernetes platforms: RKE2, AKS, EKS, GKE - MLOps: Kubeflow, KServe, MLflow, NVIDIA GPU Operator - DevSecOps: Vault, Kyverno, KubeArmor, Trivy, signed supply chains with Tekton and Cosign - GitOps and automation: Argo CD, Flux, Terraform, Ansible - Storage and identity: Rook Ceph, CloudNativePG, Keycloak - Observability and networking: Prometheus, OpenTelemetry, Cilium, Istio Most of what I publish comes from my multi-datacentre homelab: RKE2 on Proxmox, run through GitOps. My rule: build it, break it, understand it, then harden it. Every article is a real build, traps included. Certifications: Kubestronaut (CKA, CKAD, CKS, KCNA, KCSA), HashiCorp Terraform Associate.

## Responses 2

Markdown supported · ⌘↵ to post

[Yunus Emre Vurgun](https://hashnode.com/@yunusemrevurgun)

[Oct 18](https://hashnode.com/posts/brownfield-kubeflow-rke2-keycloak-ceph-cnpg/6ad3c522ea2a6916603a307c/comment/6ad4abd1de3724cee95dfe60)

Swapping in Keycloak and Ceph RGW instead of the bundled Dex and SeaweedFS is the realistic path for most existing clusters, so it is good to see it written up end to end. One thing worth pinning down for anyone repeating this: the Kubeflow Pipelines artifact store config and the KServe storage-initializer secret both need the RGW endpoint, region and path-style addressing set consistently, or runs succeed while model serving silently fails to pull artifacts. Running a tiny pipeline that writes an artifact and then serves it is a quick end-to-end smoke test after every upgrade.

[George Ezejiofor](https://hashnode.com/@georgeezejiofor)

[Oct 18](https://hashnode.com/posts/brownfield-kubeflow-rke2-keycloak-ceph-cnpg/6ad3c522ea2a6916603a307c/comment/6ad4abd1de3724cee95dfe60#reply-6ad4cdf1ea2bd5b9f372fbff)

Thanks, and yes, that's exactly the trap. On the Pipelines side it bit me twice. The kfp-launcher config needs an explicit providers block for S3, or artifact uploads quietly go nowhere, and region is mandatory even though RGW doesn't care about regions. Then every component has to use the same endpoint (the public RGW hostname on 443, not the in-cluster service on 80), or some steps write where others can't read.

The smoke test you describe runs every day here, not just after upgrades. The daily pipeline trains the model, writes it to RGW, rolls it out to KServe as a canary, and sends a burst of real requests at it before promoting. If KServe can't pull the artifact, that step fails and the old model keeps serving. The same pipeline also turned up a KServe-specific one: any extra .json file next to model.bst in the model folder crashes the XGBoost server at load, so the model folder holds only the model.
