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
既存 ClusterにRancher突っ込んでみた
Search
mmorito
June 09, 2018
Programming
0
31
既存 ClusterにRancher突っ込んでみた
mmorito
June 09, 2018
Tweet
Share
More Decks by mmorito
See All by mmorito
JBUG広島#11
mmorito
0
250
データ分析やAIの "運用" について考える
mmorito
0
390
JP_Stripes in Setouchi #01
mmorito
0
120
Cloud Native Kansai #01
mmorito
0
1.1k
Cloud Native Sapporo #01
mmorito
0
320
GAE/Jで盛大に失敗する方法
mmorito
0
410
自社サービスにStripeを導入する話
mmorito
1
760
Introduction of Firebase
mmorito
0
770
コンテナ管理とサーバーレス on GoogleCloud
mmorito
0
96
Other Decks in Programming
See All in Programming
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
18k
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
260
Anthropic Cookbook のおすすめレシピ
schroneko
7
870
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
ONE WEDGE_company_guide
1wedge_one
0
460
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
コードレビューで学ぶ!Kotlinオブジェクト指向デザインパターン
akkie76
2
200
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
900
Node.js v22 で変わること
yosuke_furukawa
PRO
4
1k
ScalarDBを用いたマイクロサービスにおけるデータ管理 (Database Engineering Meetup #2)
scalar
0
110
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
31
46k
Designing for humans not robots
tammielis
248
25k
Scaling GitHub
holman
457
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
990
Adopting Sorbet at Scale
ufuk
68
8.6k
Being A Developer After 40
akosma
57
580k
What the flash - Photography Introduction
edds
64
11k
Web Components: a chance to create the future
zenorocha
305
41k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Ruby is Unlike a Banana
tanoku
96
10k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
Transcript
既存のClusterにRancher突っ込んでみた Rancher Meetup #02 in Hiroshima
森藤 敏之 - @mmorito_0318 所属 - 株式会社エムネス - 遠隔画像診断センター - 医療支援サービス「LOOKREC」
イベント / 勉強会 - GCPUG 広島支部 admin - その他 趣味 - アイドルの応援
エムネスのk8sの使い方 医用画像ファイルの変換処理
DICOMファイルとは - DICOMファイル(.dcm) - CT、MR CR - 画像データとその他メタ情報のデータセット - 1検査が平均300枚くらいで構成される身体のスライス画像
- 致命的な欠点: 自分が合計何枚か知らない 500KB 30MB 目標3分以内
DEMO
None
では早速 このClusterにRancher入れてみよう
Rancher 2.0 構築 - Cloud Shell の起動 - コマンド実行 $>
sudo docker run -d --restart=unless-stopped -p 8000:80 -p 8080:443 rancher/rancher ※Cloud shell の制約により、portを 8000 と 8080 に変更
None
\ あえなく失敗 /
None
既存のクラスタに向けてimportコマンドを実行 ご丁寧に、証明書に関するエラーが発生した時のコマンド も用意してくれてる
$> gcloud container --project $PROJECT_ID clusters get-credentials $CLUSTER $> curl
--insecure -sfL https://35.200.70.187/v3/import/tmvw22jr68rr9lvq8spjpkcp78jl6j8wmj6hq45gbs5gxptnhj42xs.yaml | kubectl apply -f - GKEクラスタのcredentialを取得する 指定されたコマンドを実行する しばらく待つとクラスタを認識して画面が切り替わる
コンテナ - DICOM変換: 10 - NDPI変換: 1 - kube-system: 8
- cattle-system: 2 (cattle-cluster-agent、cattle-node-agent)
地味に嬉しかったこと 画面からkubectlコマンド叩ける
とはいえ クラウドのコンテナサービスもKubernetes の知識も必要だ Rancherさわるには
\ そんなイベントあります /
ありがとうございました