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
CNDK2019-Rancher製品説明1128
Search
cheng
November 28, 2019
Technology
2
180
CNDK2019-Rancher製品説明1128
CNDK2019-Rancher製品説明1128
cheng
November 28, 2019
Tweet
Share
More Decks by cheng
See All by cheng
Rancher v2.8 & v2.9 Update情報
qiang1981cn
0
88
OSSでセキュリティをCI/CDパイプラインに透過的に取込む方法
qiang1981cn
0
170
Rancher v2.6.5 Update情報
qiang1981cn
0
370
NeuVector(Container Security) online meetup 06/30
qiang1981cn
0
350
Harvester 2022/01, オンラインミートアップ
qiang1981cn
0
210
Japan International Kubernetes Day
qiang1981cn
0
62
2021/01/20(水) はじめてのRancherオンラインミートアップ
qiang1981cn
0
320
"Rancherハンズオン with v2.5" ワークショップ 2020/12
qiang1981cn
0
360
Rancher Day 2020 - Rancher Update(racher v2.5))
qiang1981cn
0
64
Other Decks in Technology
See All in Technology
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.4k
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
320
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
120
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
120
クレカ・銀行連携機能における “状態”との向き合い方 / SmartBank Engineer LT Event
smartbank
2
100
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
160
組み込みアプリパフォーマンス格闘記 検索画面編
wataruhigasi
1
140
podman_update_2024-12
orimanabu
1
290
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
380
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
290
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
27
23k
20241218_今年はSLI/SLOの導入を頑張ってました!
zepprix
0
100
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.4k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Designing for humans not robots
tammielis
250
25k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Transcript
RancherͷϓϩμΫτͱϓϩδΣΫτղઆ
About me Jianqiang Cheng(ͪΜ) Field Engineer at Rancher Labs.
[email protected]
[email protected]
▪Favorite technologies: Rancher, Kubernetes, AWS, Jenkins. ▪Certifications:
3 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
4 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
5 What is Rancher 3BODIFSɺίϯςφཧͷϓϥοτϑΥʔϜΛఏڙ ͢ΔΦʔϓϯιʔεɾιϑτΣΞͰ͢ɻ
Rancher is delivering Kubernetes Everywhere Unified Cluster Operations Self Service
Kubernetes Environments Infrastructure GKE AKS EKS Any RKE RKE - User Interface - Service Catalog - CI/CD - Monitoring - Logging - Alerting Ops Dev - Provisioning - Auth/RBAC - Policy - Security - Capacity
App Catalog CI/CD Monitoring Logging Security RBAC & PSP Registry
Container Runtime Network & Storage Service Mesh Authentication Kubernetes What Rancher takes an SLA on Manage all this? … or this? What does Rancher cover? Rancher Certified Integrations
8 What is Rancher • Ͳ͜Ͱ,VCFSOFUFTΛσϓϩΠɻΦϯϓϨɺΫϥυ ͳͲͷڥΛލ͍ͰΫϥελͷཧ͕Ͱ͖Δ • ཧԼʹ͋Δͯ͢ͷΫϥελʹର͠ɺूதೝূɺΞΫ ηε੍ޚͳͲͷػೳΛఏڙ
• )FMNΛϕʔεͱͨ͠Χλϩάػೳ • 1SPNFUIFVTʢϞχλϦϯάʣɺ'MVFOUEʢϩάऔಘʣɺ *TUJPʢαʔϏεϝογϡʣͳͲͷσϑΥϧτࡌ ಛ
9 What is Rancher *5৫ͰɺRancher͕Ռׂͨ͢Λࣔ͢ྫ
10 Rancherͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v2.3.2 n 2020/03ʹϦϦʔε༧ఆ:v2.4 • ཧରΫϥελ ˠ
ͱϊʔυ ˠ ͷ૿Ճ • Rancher HAߏஙͷ؆қԽ • RKEΫϥελʔͷθϩ μϯλΠϜ ΞοϓάϨʔυ • ΫϥελʔͷηΩϡϦςΟεΩϟϯͱΞϥʔϜ௨
11 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
12 What is RKE RKEɺΫϥυɺΦϯϓϨϛεɺٴͼϩʔΧϧڥʹkubernetesΫϥελ Λ؆୯ʹσϓϩΠͰ͖ΔCLIπʔϧͰ͢ɻ
13 What is RKE ಛ • ରϊʔυʹ44)ଓͯ͠ϓϩϏδϣχϯάΛ࣮ࢪ • LVCFSOFUFTͷ֤छίϯϙʔωϯτ FUDEBQJTFSWFSͳ
Ͳ Λίϯςφͱͯ͠ىಈ • )"ͳΫϥελΛߏஙՄೳ
14 What is RKE ͍ํ $VTUPNͳͲͷΫϥελʔߏங࣌ʹɺཪͰ3,&Λར༻
15 What is RKE ͍ํ • ࣄલʹΫϥελʔ༻ͷϊʔυΛ༻ҙ • SLFఆٛϑΝΠϧΛ࡞ •
SLF VQ࣮ߦͰΫϥελʔߏங
16 What is RKE
17 RKEͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ:v0.3.2 n ࠓޙެࣜͷ,VCFSOFUFTͷόʔδϣϯΞοϓͷޙ͍ܗ ͰɺόʔδϣϯΞοϓͯ͠ߦ͘
18 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
19 What is k3s • k3sɺCNCFެࣜͷೝূ͖ͷܰྔͳKubernetesσΟετϦϏϡʔγϣ ϯͰ͢ɻ
20 What is k3s • ͕ߴ͍ (JU)VC4UBS
21 What is k3s k3sͷSoftware Stack
22 What is k3s ಛ • 40 MBόΠφϦɺ250 MBϝϞϦ༻ྔ •
KubernetesϚελʔɺKubeletɺContainerd͕ɺ όΠφϦ1ͭͰશ෦ೖΓ • ΑΓܰྔͳsqlite3ΛσϑΥϧτͷετϨʔδ MySQL, Postgres, etcdαϙʔτ • ΑΓܰྔͳContainerdΛσϑΥϧτͷϥϯλΠϜ • ରԠΞʔΩςΫνϟɺx86_64, ARMv7, ARM64
23 What is k3s ར༻γʔϯ Edge Dev ϩʔΧϧ։ൃڥɺΤοδσόΠεͳͲͷͱ͜Ζ • Edge
• IoT • Dev/Test • Single App Clusters • Embedded in Application
24 What is k3s • .BOBHFELT
Managed k3s In Cloud A learning playground, development or staging
cluster Much cheaper($5〜), quicker to launch(2min)
26 What is k3s ͍ํ • k3sόΠφϦͰΠϯετʔϧ αʔό্ཱ͕͛ k3s server
--disable-agent AgentϊʔυՃ k3s agent --server https://myserver:6443 --token • Docker$PNQPTF https://github.com/rancher/k3s/blob/master/docker-compose.yml https://github.com/rancher/k3s/blob/master/docker-compose-agent.yml • k3d(k3s in Docker) https://github.com/rancher/k3d
27 k3sͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v1.0.0 GA Kubernetes v1.16.3ରԠ n ࠓޙެࣜͷ,VCFSOFUFTͷόʔδϣϯΞοϓͷ
ޙ͍ܗͰɺόʔδϣϯΞοϓͯ͠ߦ͘
28 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
29 What is k3os • k3osɺkubernetesʹಛԽͨܰ͠ྔOSͰɺܰྔkubernetes σΟετϦϏϡʔδϣϯͰ͋Δ「k3s」ΛΈࠐΜͩ04Ͱ͢ɻ
30 What is k3os k3sͷSoftware Stack k3osͷSoftware Stack • k3sͱLinuxΛ1ͭʹͨ͠kubernetesʹಛԽͨ͠OSͰ͢ɻ
31 What is k3os ಛ • k3s࣮ߦʹಛԽͨ͠ϛχϚϜOS • ܰྔͷͨΊɺىಈ͕ૣ͍ •
UbuntuΧʔωϧΛϕʔε • k3sͱͷ౷߹ཧ • ରԠΞʔΩςΫνϟɺx86_64, ARM
32 k3osͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.7.1 k3s v1.0.0ରԠ n ࠓޙ࠷৽k3sͱlinuxόʔδϣϯ ػೳɺόάमਖ਼
ʹै͢ΔܗͰɺόʔδϣϯΞοϓͯ͠ߦ͘
33 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
34 What is Submariner • SubmarinerɺෳͷKubernetesΫϥελؒͷPodωοτϫʔΫ͓ΑͼService ωοτϫʔΫΛܨ͛ΔπʔϧͰ͢ɻ
35 What is Submariner ར༻γʔϯ • ϚϧνΫϥελʹσϓϩΠ͞Εɼ૬ޓ௨৴Λඞཁ ͢ΔϚΠΫϩαʔϏε • ཧతྖҬΛӽ͑ͨKubernetesͷσʔλϕʔε
ϨϓϦέʔγϣϯ • ΫϥελΛ·͙ͨαʔϏεϝογϡͷσϓϩΠ
36 What is Submariner • Broker:ҟͳΔΫϥελʔؒͷIPSec tunnelsΛཱ֬Ͱ͖ΔͨΊͷใަͤ͞Δ • GatewayNode :
IPSec tunnelsΛཱ֬ɺ֎෦ΫϥελʔͷΞΫηεGatewayNodeΛܦ༝
37 What is Submariner • طଘͷKubernetesΫϥελʹల։Մೳ • IPSecτϯωϧΛ༻ͨ͠҉߸ԽωοτϫʔΫଓ • ෳͷ,VCFSOFUFTΫϥελΛରͱͨ͠αʔϏεσΟε
ΧόϦΛఏڙ • CNIυϥΠόར༻ͷΫϥελʔͳΒɺରԠՄೳ
38 What is Submariner ҙࣄ߲ • ΫϥελؒͰҟͳΔΫϥελαʔϏεCIDRΛ༻ • ΫϥελʔͷϊʔυؒɺIPଓͰ͖Δ •
SubmarinerίϯϙωʔτσϓϩΠͷҝ、Helm v2.12.1 ඞཁ
39 Submarinerͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.0.3 n v0.0.1ͷPre-releaseஈ֊ͰɺޙଓͷRoadmap͕ෆ ໌
40 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
41 What is Longhorn Ҿ༻:https://speakerdeck.com/cyberblack28/cncf-sandbox-project-longhorn
42 What is Longhorn • LonghornɺϚΠΫϩαʔϏεͷߏΛج൫ͱͨ͠ࢄϒϩοΫετϨʔδ OSSͰ͢ɻ
43 What is Longhorn ˢ1ͭϘϦϡʔϜͰ3ͭϨϓϦΧΛ༻͢Δ߹ͷྫ ཪʹɺLonghorn͕1つͷίϯτϩʔϥʔPodͱ3ͭͷϨϓϦΧ༻PodΛ࡞͍ͯ͠·͢ɻ
44 What is Longhorn Πϯετʔϧํ๏ • RancherཧԼͷΫϥελʔ RancherΧλϩάը໘ͰɺϘλϯOneΫϦοΫ • ͦͷͨͷΫϥελʔ
kubectlʹΑΔΠϯετʔϧ kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml helmʹΑΔΠϯετʔϧ helm install ./longhorn/chart --name longhorn --namespace longhorn-system
45 What is Longhorn ಛ • KubernetesΫϥελʔͷσϓϩΠ͕؆୯ • ཧ༻ͷWebͷGUIΛఏڙ •
ϘϦϡʔϜͷεφοϓγϣοτόοΫΞοϓՄೳ(S3,NFS) • KubernetesΫϥελʔͷεέʔϧΞτ࣌ͷࣗಈରԠ • ϚΠΫϩαʔϏεͷߏͷҝɺোͷӨڹΛ࠷খݶ
46 Longhornͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.7.0
47 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
48 What is Rio • RioɺKubernetesϕʔεͷMicroPaaSͰ͢ɻ
49 What is Rio • ओͳಛ McrioPaaS = ܰྔ൛ͳPaaS n
PaaSతͳػೳ • ։ൃϏϧυ͔Βӡ༻ࢹػೳ·ͰΛΧόʔ • ϚϧνςφϯτʢෳͷΞϓϦʣରԠ • ΠϯϑϥΛҙࣝ͠ͳ͍ • Run everywhere(k8s) n ܰྔͰ͋Δ • KubernetesIstioͳͲͷΤίγεςϜΛΈ߹ΘͤͰ࡞ • ϞδϡϥʔΞʔΩςΫνϟͰɺෆཁͳػೳΛ֎ͤΔ • KubernetesͷطଘͷػೳΛมߋ͠ͳ͍ • ϩʔΧϧڥ k3s ͰՔಇͰ͖Δ
50 What is Rio • ৄࡉػೳ
51 What is Rio Πϯετʔϧํ๏ # Download the CLI (available
for macOS, Windows, Linux) $ curl -sfL https://get.rio.io | sh - # Setup your cluster for Rio $ rio install
52 What is Rio
53 Rioͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.6.0 (Beta) n ࠓޙ࠷৽k8sͱistioͳͲͷΤίʔγεςϜ ػೳɺ όάमਖ਼
ʹै͢ΔܗͰɺόʔδϣϯΞοϓͯ͠ ߦ͘
Thanks