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
0
96
研究室サーバーとKubeflowで実践するNotebook as a Service
CloudNative Days Summer 2025
https://event.cloudnativedays.jp/cnds2025
Azuma
May 21, 2025
Tweet
Share
More Decks by Azuma
See All by Azuma
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
1.5k
Other Decks in Technology
See All in Technology
VLMサービスを用いた請求書データ化検証 / SaaSxML_Session_1
sansan_randd
0
170
興味の胞子を育て 業務と技術に広がる”きのこ力”
fumiyasac0921
0
510
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
430
AI エンジニアの立場からみた、AI コーディング時代の開発の品質向上の取り組みと妄想
soh9834
8
630
Perlアプリケーションで トレースを実装するまでの 工夫と苦労話
masayoshi
1
320
データエンジニアがクラシルでやりたいことの現在地
gappy50
3
810
【CEDEC2025】『ウマ娘 プリティーダービー』における映像制作のさらなる高品質化へ!~ 豊富な素材出力と制作フローの改善を実現するツールについて~
cygames
PRO
0
150
Microsoft Clarityでインサイトを見つけよう
nakasho
0
110
[MIRU25] NaiLIA: Multimodal Retrieval of Nail Designs Based on Dense Intent Descriptions
keio_smilab
PRO
1
170
反脆弱性(アンチフラジャイル)とデータ基盤構築
cuebic9bic
2
130
Power Automate のパフォーマンス改善レシピ / Power Automate Performance Improvement Recipes
karamem0
0
280
クマ×共生 HACKATHON - 熊対策を『特別な行動」から「生活の一部」に -
pharaohkj
0
270
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Scaling GitHub
holman
461
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1k
Facilitating Awesome Meetings
lara
54
6.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
770
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学生支援を受けさせていただきました。 さくらインターネット株式会社様のご支援に心より感謝いたします。