Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
研究室サーバーとKubeflowで実践するNotebook as a Service
Search
Azuma
May 21, 2025
Technology
900
0
Share
研究室サーバーとKubeflowで実践するNotebook as a Service
CloudNative Days Summer 2025
https://event.cloudnativedays.jp/cnds2025
Azuma
May 21, 2025
More Decks by Azuma
See All by Azuma
Beyond Multiprocessing: A Real-World ML Workload Speedup with Python 3.13+ Free-Threading
kitsuya0828
1
1.9k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
2.9k
Other Decks in Technology
See All in Technology
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
6
350
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
180
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
0
160
oracle-to-databricks-migration-with-llm-and-dbt
casek
1
380
Ruby::Boxでできること、Refinementsでできること
joker1007
2
110
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
190
なぜハノーバーメッセに行くべきなのか 〜初参加だから語れること〜
tanakaseiya
0
190
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.8k
さきさん文庫の書籍ができるまで
sakiengineer
0
320
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
380
GoとSIMDとWasmの今。
askua
1
170
AI駆動開発でなんでもハンズオン環境をつくってみた
yoshimi0227
0
180
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
190
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
So, you think you're a good person
axbom
PRO
2
2k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
590
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Color Theory Basics | Prateek | Gurzu
gurzu
0
320
Transcript
Azuma (@azuma_alvin) CloudNative Days Summer 2025 研究室サーバーとKubeflowで実践する Notebook as a
Service
1 Self Introduction • 修士2年 • Go, Kubernetes, Vimが好き •
研究室サーバーの管理人 Azuma @azuma_alvin @kitsuyaazuma
学生、研究者、データサイエンティスト 「アイデアを迅速に検証・共有したい」 2
プラットフォームエンジニア 「リソースを最適化したい」 「必要最小限の権限を与えたい」 3
4 Notebook as a Service (NaaS) 複数ユーザーが環境構築を意識せず ブラウザ上から直接コードを実行・共有できる Self-Hosted Managed
Google Colab Amazon SageMaker (Studio) JupyterHub Kubeflow (Notebooks)
5 Lab × NaaS = ?? 新規メンバーの認知負荷を軽減 Container Engine Machine
Learning GPU Linux
6 ユーザーがリソース指定 Self-Hosted NaaS on Kubernetes Kubeflow Notebooks JupyterHub (Z2JH)
管理者がプロファイル定義 JupyterLabに加えて code-serverも標準サポート Jupyter Notebookと JupyterLabを標準サポート
7 Kubeflow Notebooks Overview /_/jupyter/new /notebook/{USERNAME}/{NOTEBOOK_NAME}/lab カスタムイメージやリソースを ユーザーが自由に指定
8 Architecture #1 Profile (CR) Notebook (CR) Profile Controller Notebook
Controller reconcile watch reconcile watch use virtualservice
9 Architecture #2 (Ingress Gateway) Gateway Virtual Service prefix: /
ext_authz filter Virtual Service prefix: /jupyter Central Dashboard JupyterLab
想定されるユーザーの声❶ 「Jupyterは再現性と保守性に欠ける」 10
11 Customization #1: marimo Custom Image marimo:JupyterLabの課題を解決するノートブック ✓ 再現性 ✓
Gitとの相性 ✓ スクリプト再利用 ✓ パッケージ管理 ✓ Webアプリとして共有 ➤ Kubeflow Notebooksでもmarimoを利用したい
Official Images 12 Customization #1: marimo Custom Image Base Jupyter
code-server RStudio Conda Python Tidyverse PyTorch etc. marimo Custom Images Baseイメージを拡張してmarimoカスタムイメージを作成
13 Customization #1: marimo Custom Image Kubeflow公式イメージの枠を超えてカスタマイズ可能 marimoカスタムイメージを選択 (※ イメージ名の直接入力も可能)
想定されるユーザーの声❷ 「アクセスから認証までが面倒」 14
15 Customization #2: ExternalDNS & cert-manager Before After DNSレコード更新&証明書管理の自動化 名前解決・証明書信頼
(ユーザーセットアップが必要) ドメイン名でアクセスするだけ (ユーザーセットアップ不要)
16 Customization #2: GitHub Authentication Before After ユーザー名・パスワードでログイン GitHub認証(Organizationメンバー) 管理者の運用負荷軽減
& ユーザー体験向上
研究室内で 𝜶 版としてリリース 🎉 機能追加&ドキュメント整備でユーザー体験の向上を目指す 17
18 Tech Blog 次世代notebook『marimo』入門(#13) https://alvinvin.hatenablog.jp/entry/13 研究室サーバーでKubernetesクラスタ構築(#14) https://alvinvin.hatenablog.jp/entry/14 KubeflowによるNaaS構築入門(#16) https://alvinvin.hatenablog.jp/entry/16
Let’s enjoy NaaS together!! 19 本発表はCNDS2025学生支援を受けさせていただきました。 さくらインターネット株式会社様のご支援に心より感謝いたします。