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
3.8k
とある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ではじめる APIマネジメント入門編
xibuka
0
47
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
14
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
130
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
96
Kong の最新情報
xibuka
0
94
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
520
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
120
Kong Summit 2022まとめおよび最新製品情報
xibuka
0
120
[Kong Gateway]Product Overview, Strategy, and Roadmap Update
xibuka
0
250
Other Decks in Programming
See All in Programming
CSC307 Lecture 02
javiergs
PRO
0
260
良いテストコードのために悪いテストコードを理解する - 不安定なテスト編: iOSアプリ開発ユニットテストの場合
yimajo
17
4.2k
コンテナと文字列の中間インタフェースspanとstring_view
faithandbrave
1
200
ソートできるUUID v7をJavaで使うときの話
yoshiori
7
5.1k
2024年版 Kotlin サーバーサイドプログラミング実践開発
n_takehata
3
880
C++ MIX #11 これどう読むの...?
5mingame2
0
190
dockerの豆知識を沢山話す
mal0961
2
220
about #67401 //go:linkname
andpad
1
18k
スクラムチームに入れないという選択: フルサイクルチームにおける開発者のステップアップ / Why We Don’t Add Newbies to Our Scrum Team
yuk4w4
3
1.4k
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
1
840
ChecksでアプリコンプライアンスとAIの安全性をシンプルに - セッション紹介
takakitojo
0
190
How to send distibuted traces to Datadog using build own OpenTelemetry-Lambda distribution
aereal
3
100
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
246
12k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Code Reviewing Like a Champion
maltzj
516
39k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
15
8.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
661
120k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Optimizing for Happiness
mojombo
372
69k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.6k
Building Adaptive Systems
keathley
33
2k
The Pragmatic Product Professional
lauravandoore
28
6k
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