Upgrade to Pro — share decks privately, control downloads, hide ads and more …

研究室サーバーとKubeflowで実践するNotebook as a Service

研究室サーバーとKubeflowで実践するNotebook as a Service

CloudNative Days Summer 2025
https://event.cloudnativedays.jp/cnds2025

Avatar for Azuma

Azuma

May 21, 2025
Tweet

More Decks by Azuma

Other Decks in Technology

Transcript

  1. 1 Self Introduction • 修士2年 • Go, Kubernetes, Vimが好き •

    研究室サーバーの管理人 Azuma @azuma_alvin @kitsuyaazuma
  2. 6 ユーザーがリソース指定 Self-Hosted NaaS on Kubernetes Kubeflow Notebooks JupyterHub (Z2JH)

    管理者がプロファイル定義 JupyterLabに加えて code-serverも標準サポート Jupyter Notebookと JupyterLabを標準サポート
  3. 8 Architecture #1 Profile (CR) Notebook (CR) Profile Controller Notebook

    Controller reconcile watch reconcile watch use virtualservice
  4. 9 Architecture #2 (Ingress Gateway) Gateway Virtual Service prefix: /

    ext_authz filter Virtual Service prefix: /jupyter Central Dashboard JupyterLab
  5. 11 Customization #1: marimo Custom Image marimo:JupyterLabの課題を解決するノートブック ✓ 再現性 ✓

    Gitとの相性 ✓ スクリプト再利用 ✓ パッケージ管理 ✓ Webアプリとして共有 ➤ Kubeflow Notebooksでもmarimoを利用したい
  6. Official Images 12 Customization #1: marimo Custom Image Base Jupyter

    code-server RStudio Conda Python Tidyverse PyTorch etc. marimo Custom Images Baseイメージを拡張してmarimoカスタムイメージを作成
  7. 15 Customization #2: ExternalDNS & cert-manager Before After DNSレコード更新&証明書管理の自動化 名前解決・証明書信頼

    (ユーザーセットアップが必要) ドメイン名でアクセスするだけ (ユーザーセットアップ不要)