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
84
OSSでセキュリティをCI/CDパイプラインに透過的に取込む方法
qiang1981cn
0
160
Rancher v2.6.5 Update情報
qiang1981cn
0
360
NeuVector(Container Security) online meetup 06/30
qiang1981cn
0
330
Harvester 2022/01, オンラインミートアップ
qiang1981cn
0
200
Japan International Kubernetes Day
qiang1981cn
0
57
2021/01/20(水) はじめてのRancherオンラインミートアップ
qiang1981cn
0
310
"Rancherハンズオン with v2.5" ワークショップ 2020/12
qiang1981cn
0
350
Rancher Day 2020 - Rancher Update(racher v2.5))
qiang1981cn
0
63
Other Decks in Technology
See All in Technology
The Rise of LLMOps
asei
7
1.7k
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
660
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
TypeScript、上達の瞬間
sadnessojisan
46
13k
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
200
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
いざ、BSC討伐の旅
nikinusu
2
780
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
100
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
170
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
280
34k
Facilitating Awesome Meetings
lara
50
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Speed Design
sergeychernyshev
25
620
For a Future-Friendly Web
brad_frost
175
9.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
How GitHub (no longer) Works
holman
310
140k
BBQ
matthewcrist
85
9.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
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