Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
container base orchestration
Search
gk9187
September 25, 2018
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
container base orchestration
gk9187
September 25, 2018
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Code Review Best Practice
trishagee
74
20k
Accessibility Awareness
sabderemane
1
250
Are puppies a ranking factor?
jonoalderson
2
4.1k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Faster Mobile Websites
deanohume
310
32k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
The SEO identity crisis: Don't let AI make you average
varn
0
590
How to Talk to Developers About Accessibility
jct
2
580
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Unsuck your backbone
ammeep
672
58k
Transcript
kubernetesについて勉強した @gk9187 2018/9/25
None
コンテナベースオーケストレーション? コンテナ…docker、LXC、… それらをオーケストレーションするツール
なぜコンテナ? なるはやでリリースしたい! CI/CDを整備しよう 開発環境、テスト環境、ステージング、プロダクションが「同じ環 境」で動かす管理が大変 chef? chefの勉強コストと管理が大変 快適に開発をしたい 環境構築は?
アプリケーションが何であろうと、あるいはインフラ(仮想化やク ラウドなどのシステム基盤)が何であろうと、対象となるアプリケ ーションがどこでも正しく動作することを目指します。 コンテナ・ベース・オーケストレーション Docker/Kubernetesで 作るクラウド時代のシステム基盤 株式会社 翔泳社. Kindle 版.
主なウマミ プロセスを隔離するだけなので起動がはやい(数秒) 作ったイメージをもってきて動かすだけでいいしイメージも軽量 centos7の公式イメージが139MB(2018.8.27現在) https://hub.docker.com/r/openshift/base‑centos7/tags/
kubernetes
コンテナ(docker)をプロダクションで使おうとするといろいろ考慮 すべきことが出てくる ネットワークはどうするか デプロイはどうするか ドメインはどうするか 死活監視 etc...
Kubernetesはコンテナに対応したアプリケーションクラスタ環境 上へ自動的にデプロイするためのオープンソースのフレームワーク です。 引用元:コンテナ・ベース・オーケストレーション Docker/Kubernetesで作るクラウド時代のシステム基盤 株式会社 翔泳社. Kindle 版.
googleのエンジニアが「10年間」のコンテナ運用での運用経験 を誰でも利用可能なプラットフォームとして提供できるようにし た。 gmailとかyoutubeなどを運用していた知識が詰められている 大規模なシステムを運用するめに課題となるポイントが考慮されてい る 現在CNCF(Cloud native Computing foundation)のプロジェク
トとしてオープンソース化されている
とりあえず本書を読んでみて動くところをするとよさそう
の前に抑えておいたほうがよさそうな用語を…
用語 クラスタ サーバ全体のまとまり。kksクラスタとかsskクラスタとかそんな感じ。 namespace クラスタ内のリソースをグルーピングする。リソース名がnamespaceご とに作ることができる pod 複数のコンテナと複数のボリュームが入る。デプロイの最小単位になる。 ラベルをつけることができる。
service podに対するアクセスを分散させる。portを指定したり、 ラベルで絞って podを指定する。L4 ロードバランサに相当する機能。 ingress Pod に対する HTTP トラフィックの負荷分散、外部から到達可能な
URL の提供、ホスト名ベースのバーチャルホスト、TLS 終端などの機能を提供
mini kubeだとローカルのvm上でも動かせるので本書を片手に読むと概 要をつかむのによさそう
None