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
40
既存 ClusterにRancher突っ込んでみた
mmorito
June 09, 2018
Tweet
Share
More Decks by mmorito
See All by mmorito
Road to SRE NEXT@広島
mmorito
0
240
Google Cloud によるDICOM管理
mmorito
0
27
JBUG広島#11
mmorito
0
350
データ分析やAIの "運用" について考える
mmorito
0
430
JP_Stripes in Setouchi #01
mmorito
0
140
Cloud Native Kansai #01
mmorito
0
1.2k
Cloud Native Sapporo #01
mmorito
0
390
GAE/Jで盛大に失敗する方法
mmorito
0
530
自社サービスにStripeを導入する話
mmorito
1
800
Other Decks in Programming
See All in Programming
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2.3k
AHC041解説
terryu16
0
550
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
190
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
140
定理証明プラットフォーム lapisla.net
abap34
1
670
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
230
Scaling your build logic
antalmonori
1
150
時計仕掛けのCompose
mkeeda
1
200
【PHP】破壊的バージョンアップと戦った話〜決断と説得
satoshi256kbyte
0
110
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.2k
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
360
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
310
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Scaling GitHub
holman
459
140k
Docker and Python
trallard
43
3.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Gamification - CAS2011
davidbonilla
80
5.1k
Building Your Own Lightsaber
phodgson
104
6.2k
Raft: Consensus for Rubyists
vanstee
137
6.8k
For a Future-Friendly Web
brad_frost
176
9.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.3k
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さわるには
\ そんなイベントあります /
ありがとうございました