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
4.1k
12
Share
とある30秒で構築できる Full Kubernetes + Istio 環境
Microk8s + Istio pluginの紹介
Demo のリンクは↓
https://asciinema.org/a/b0zbC7GXeChpOd8mw8HW4VUnf
Wenhan Shi
April 22, 2019
More Decks by Wenhan Shi
See All by Wenhan Shi
「静的解析」だけで終わらせない。 SonarQube の最新機能 × AIで エンジニアの開発生産性を本気で上げる方法
xibuka
2
600
Kong Konnectで マイクロサービスを統括!
xibuka
0
220
Kongではじめる APIマネジメント入門編
xibuka
0
490
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
61
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
470
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
280
Kong の最新情報
xibuka
0
210
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
820
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
290
Other Decks in Programming
See All in Programming
KagglerがMixSeekを触ってみた
morim
0
360
OTP を自動で入力する裏技
megabitsenmzq
0
130
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
120
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
存在論的プログラミング: 時間と存在を記述する
koriym
5
750
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.2k
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
1
230
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
660
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
110
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
320
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
So, you think you're a good person
axbom
PRO
2
2k
Designing for Performance
lara
611
70k
How to Talk to Developers About Accessibility
jct
2
170
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
950
Navigating Weather and Climate Data
rabernat
0
160
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
160
Designing Experiences People Love
moore
143
24k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
84
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
90
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
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