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
とある30秒で構築できる Full Kubernetes + Istio 環境
Search
Wenhan Shi
April 22, 2019
Programming
12
4k
とある30秒で構築できる Full Kubernetes + Istio 環境
Microk8s + Istio pluginの紹介
Demo のリンクは↓
https://asciinema.org/a/b0zbC7GXeChpOd8mw8HW4VUnf
Wenhan Shi
April 22, 2019
Tweet
Share
More Decks by Wenhan Shi
See All by Wenhan Shi
Kong Konnectで マイクロサービスを統括!
xibuka
0
150
Kongではじめる APIマネジメント入門編
xibuka
0
330
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
44
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
390
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
220
Kong の最新情報
xibuka
0
150
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
690
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
210
Kong Summit 2022まとめおよび最新製品情報
xibuka
0
150
Other Decks in Programming
See All in Programming
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
2
10k
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
260
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
2
13k
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
170
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
150
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
130
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
290
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
150
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
100
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
130
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
2
830
20250704_教育事業におけるアジャイルなデータ基盤構築
hanon52_
5
800
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Invisible Side of Design
smashingmag
301
51k
We Have a Design System, Now What?
morganepeng
53
7.7k
GitHub's CSS Performance
jonrohan
1031
460k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Building an army of robots
kneath
306
45k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Transcript
とある30秒で構築できる Full Kubernetes + Istio 環境 Wenhan Shi Senior Technical
Account Manager | Canonical Japan K.K. 22th April 2019
[email protected]
[email protected]
jp.ubuntu.com
Who am I • 日立製作所 ◦ RHEL サポート ◦ Linux
Software/ SSD Firmware 開発 • Red Hat 株式会社 ◦ GlusterFS, OpenShift サポート • Canonical Japan 株式会社 ◦ Ubuntu, OpenStack サポート ◦ Japan採用担当
30s以内に構築するには? • 手元のノートPCで十分 • Kubernetes環境構築、1コマンド • Istio有効化
$ sudo snap install microk8s --classic $ microk8s.enable istio
Demo Install microk8s Deploy DNS https://asciinema.org/a/b0zbC7GXeChpOd8mw8HW4VUnf Deploy Istio
$ sudo snap install microk8s --classic $ microk8s.enable istio
Snap A universal app store for All Linux and IoT
https://snapcraft.io/ Application Application OS Package Shared Library Device Driver Classic Snap Kernel
Snap A universal app store for All Linux and IoT
https://snapcraft.io/
Create a Snap app
Where people are using your snap app
Measure growth of your app
$ sudo snap install microk8s --classic $ microk8s.enable istio
microk8s -- https://microk8s.io/ • 開発者向け、アプリ感覚のFull kubenetes環境 ◦ 60 30 秒以内に構築完了可能
◦ Upstreamと同じバイナリ ◦ Daily build、beta、stable が選択可能 ▪ 新リリース後、数時間で利用可能 ◦ 新機能がbuilt-in、enable/disableで利用可能 ◦ Upgradeも1コマンド、もしくは自動的 ◦ GPGPU Passthrough, CUDA利用可能
microk8s -- https://microk8s.io/ • インストール時、--channelオプションでバージョン選択 ◦ 常に最新バージョン ▪ snap install
microk8s --classic ◦ バージョン指定 ▪ --channel=1.14/stable (現時点 1.1[43210]が可能) ◦ リリースネーム(*) ▪ */stable: Upstreamリリースから1週間程度 ▪ */beta, */candidate: Upstreamリリースから数時間程度 ▪ */edge: Upstream/microk8sのpatch更新 (*)do not relate to Kubernetes release names.
microk8s -- https://microk8s.io/ • 利用時、下記コマンドでバージョンを切り替え # snap refreh --channel=<X>/<Y> microk8s
• バージョンの一覧 # snap info microk8s ... channels: stable: v1.14.1 2019-04-18 (522) 214MB classic candidate: v1.14.1 2019-04-15 (522) 214MB classic beta: v1.14.1 2019-04-15 (522) 214MB classic edge: v1.14.1 2019-04-19 (542) 217MB classic 1.14/stable: v1.14.1 2019-04-18 (521) 214MB classic 1.14/candidate: v1.14.1 2019-04-15 (521) 214MB classic 1.14/beta: v1.14.1 2019-04-15 (521) 214MB classic 1.14/edge: v1.14.1 2019-04-19 (541) 217MB classic 1.13/stable: v1.13.4 2019-04-17 (438) 229MB classic 1.13/candidate: v1.13.5 2019-04-19 (526) 237MB classic … 1.11/edge: v1.11.9 2019-04-20 (545) 258MB classic 1.10/stable: v1.10.13 2019-02-25 (411) 200MB classic 1.10/candidate: v1.10.13 2019-02-18 (411) 200MB classic 1.10/beta: v1.10.13 2019-02-18 (411) 200MB classic 1.10/edge: v1.10.13 2019-04-04 (506) 208MB classic
$ sudo snap install microk8s --classic $ microk8s.enable istio
microk8s Addons • $ microk8s.enable * ◦ dns: kubedns ◦
dashboard: grafana influxdb ◦ storage: persistent storage ◦ ingress: load-balancer ◦ gpu: NVIDIA GPU(s) ◦ istio: service mash ◦ registry: Docker local register(need storage) ◦ metrics-server: cluster monitor ◦ prometheus: cluster monitor ◦ jaeger: Distributed Tracing System ◦ fluentd: data collector
minikube vs microk8s runs as a VM runs directly on
your machine need some configuration install/remove like a application Some plugins installed by default Barebone Linux, Mac, Windows Linux Only
Thank you
[email protected]
jp.ubuntu.com
we’re hiring ... https://www.canonical.com/careers/all-vacancies
None