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
Rails on Kubernetes on Rancher on OpenStack
Search
Ryo Takaishi
July 14, 2017
Technology
1
1.2k
Rails on Kubernetes on Rancher on OpenStack
Ryo Takaishi
July 14, 2017
Tweet
Share
More Decks by Ryo Takaishi
See All by Ryo Takaishi
スロークエリとの戦いの軌跡2024 / ゆるSRE勉強会 #10
takaishi
1
800
AWSを使ったカンファレンスの 配信アーキテクチャ - 吉祥寺.pm37
takaishi
2
540
どうやればインシデント対応能力を鍛えられるのか? / SRE Kaigi 2025
takaishi
13
12k
Podcastを3年半続ける技術と得た物 / ya8-2024
takaishi
5
1.9k
入門!ClusterAPI 〜 k8s クラスターも k8s API で管理したい 〜 / k8s_meetup_31
takaishi
3
4.7k
CloudNativeへの道 リーダーシップとフォロワーシップ / 201911-cndjp13
takaishi
2
950
ClusterAPI v1alpha1 → v1alpha2 / k8s_meetup_23
takaishi
1
1.6k
実録!CloudNativeを 目指した230日 / cloud-native-days-tokyo-2019
takaishi
2
2.6k
Consul Connect and Kubernetes Integration / cloud native meetup tokyo 7
takaishi
2
2.3k
Other Decks in Technology
See All in Technology
2025年 面白の現在地 / Where Omoshiro Stands Today: 2025
acidlemon
0
260
How We Built a Secure Sandbox Platform for AI
flatt_security
1
110
LINEスキマニ/LINEバイトにおけるバックエンド開発
lycorptech_jp
PRO
0
350
DDD x Microservice Architecture : Findy Architecture Conf 2025
syobochim
12
3.4k
アジャイル社内普及ご近所さんマップを作ろう / Let's create an agile neighborhood map
psj59129
1
140
Error.prototype.stack の今と未来
progfay
1
200
技術広報のOKRで生み出す 開発組織への価値 〜 カンファレンス協賛を通して育む学びの文化 〜 / Creating Value for Development Organisations Through Technical Communications OKRs — Nurturing a Culture of Learning Through Conference Sponsorship —
pauli
5
500
大規模モノレポの秩序管理 失速しない多言語化フロントエンドの運用 / JSConf JP 2025
shoota
0
320
持続可能なアクセシビリティ開発
azukiazusa1
6
290
OSだってコンテナしたい❗Image Modeが切り拓くLinux OS運用の新時代
tsukaman
0
120
Javaコミュニティの歩き方 ~参加から貢献まで、すべて教えます~
tabatad
0
140
現地速報!Microsoft Ignite 2025 M365 Copilotアップデートレポート
kasada
2
1.5k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
36
7k
It's Worth the Effort
3n
187
29k
GraphQLとの向き合い方2022年版
quramy
49
14k
Agile that works and the tools we love
rasmusluckow
331
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
940
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
The Cult of Friendly URLs
andyhume
79
6.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Transcript
Rails on Kubernetes on Rancher on OpenStack @r_takaishi / GMO
PEPABO inc. 2017-07-13
ソフトウェアエンジニア 技術部 インフラグループ https://repl.info/ ⾼⽯諒 @r_takaishi
カレーがマイブーム
本題
Rails on Kubernetes on Rancher on OpenStack をした話
動機
なんでやろうと思ったのか • ⾃社サービスをKubernetesで動かすのを試したい • GCE, AWS, Azure等で試す? • ⼀番慣れているのがプライベートクラウドのOpenStack環境 •
3⽉頃にRancherのOpenStackDriverを試していた • 慣れている環境を使おう • Kubernetesの構築はRancherにおまかせ • 試すなら問題ないだろう
使⽤したソフトウェアのバージョン • 基盤 • OpenStack:Mitaka • Kubernetes⽤の各サーバ • Ubuntu:16.04 •
Docker:1.12.6 • Rancher:1.6.2 • Kubernetes:1.5.4 • Railsのビルド⽤サーバ • Docker:17.03.1-ce
検証環境の構成です #VJME %PDLFS 3FHJTUSZ 3BODIFS 3BODIFS 3BODIFS Push Pull ,VCFSOFUFT
こうやって作りました
こうやって作りました
動かしている光景
やってみた感想 • Rancherのクラスタができたら後はかなり楽 • なんかいい感じにやってくれて最⾼ • 外部からコンテナとの接続もRancherでできる • Kubernetes Loadbalancer
• マウスでポチポチするだけで設定できて便利だった • FloatingIPへのリクエストをコンテナに流す
やってみて感じた課題 • TerraformでのRancher構築が⾃動化できていない • k8s envの作成とホスト登録⽤URL取得を⼿動でやっている… • TFにRancher Provider なるものを発⾒
• environment, host, registry, stack等を管理できるようだ
続く…
終