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
RancherDay-Rancher製品説明.pdf
Search
cheng
July 24, 2019
Technology
1
420
RancherDay-Rancher製品説明.pdf
RancherDay-Rancher全製品説明
cheng
July 24, 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
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
430
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
150
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
330
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
260
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
300
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
540
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
180
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
10
1.1k
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Building Your Own Lightsaber
phodgson
103
6.1k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Designing for humans not robots
tammielis
250
25k
Teambox: Starting and Learning
jrom
133
8.8k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Transcript
RancherͷશϓϩμΫτղઆ
About me Jianqiang Cheng(ちん) Field Engineer at Rancher Labs. Slack:slack.rancher.jp
Email:
[email protected]
▪Favorite technologies: Rancher, Kubernetes, Docker, AWS, Jenkins. ▪Certifications: AWS Certified Solutions Architect – Professional Certified Kubernetes Administrator Certified Kubernetes Application Developer
3 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
4 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
5 What is Rancher 3BODIFSɺίϯςφཧͷϓϥοτϑΥʔϜΛఏڙ͢ΔΦʔϓϯιʔεɾ ιϑτΣΞͰ͢ɻ
6 What is Rancher • Ͳ͜Ͱ,VCFSOFUFTΛσϓϩΠɻΦϯϓϨɺΫϥυ ͳͲͷڥΛލ͍ͰΫϥελͷཧ͕Ͱ͖Δ • ཧԼʹ͋Δͯ͢ͷΫϥελʹର͠ɺूதೝূɺΞΫ ηε੍ޚͳͲͷػೳΛఏڙ
• )FMNΛϕʔεͱͨ͠Χλϩάػೳ • 1SPNFUIFVTʢϞχλϦϯάʣɺ'MVFOUEʢϩάऔಘʣɺ *TUJPʢαʔϏεϝογϡʣͳͲͷσϑΥϧτࡌ ಛ
7 What is Rancher *5৫ͰɺRancher͕Ռׂͨ͢Λࣔ͢ྫ
8 Rancherͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v2.2.6 n 2019/09ʹϦϦʔε༧ఆ:v2.3 • Windows GA
Support • ΫϥελʔͷςϯϓϨʔτػೳ • ΫϥελʔͷηΩϡϦςΟεΩϟϯ • Istioػೳ αʔϏεϝογϡ ΛσϑΥϧτࡌ • ΫϥελʔͷϫʔΧʔͷϊʔυͷࣗಈҡ࣋
9 Demo Time n v2.2 Ϋϥελʔߏஙͱཧ ϢʔβʔೝূɺΞΫηε੍ޚ ΧλϩάػೳʹΑΔΞϓϦσϓϩΠ ӡ༻ࢹͱΞϥʔτ௨ɺϩάऔಘͱసૹ CI/CD
n v2.3 Istioػೳ
10 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
11 What is RKE RKEɺΫϥυɺΦϯϓϨϛεɺٴͼϩʔΧϧڥʹkubernetesΫϥελ Λ؆୯ʹσϓϩΠͰ͖ΔCLIπʔϧͰ͢ɻ
12 What is RKE ಛ • ରϊʔυʹ44)ଓͯ͠ϓϩϏδϣχϯάΛ࣮ࢪ • LVCFSOFUFTͷ֤छίϯϙʔωϯτ FUDEBQJTFSWFSͳ
Ͳ Λίϯςφͱͯ͠ىಈ • )"ͳΫϥελΛߏஙՄೳ
13 What is RKE ͍ํ $VTUPNͳͲͷΫϥελʔߏங࣌ʹɺཪͰ3,&Λར༻
14 What is RKE ͍ํ • ࣄલʹΫϥελʔ༻ͷϊʔυΛ༻ҙ • SLFఆٛϑΝΠϧΛ࡞ •
SLF VQ࣮ߦͰΫϥελʔߏங
15 What is RKE
16 RKEͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ:v0.2.6 n ࠓޙެࣜͷ,VCFSOFUFTͷόʔδϣϯΞοϓͷޙ͍ܗ ͰɺόʔδϣϯΞοϓͯ͠ߦ͘
17 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
18 What is k3s • k3sɺCNCFެࣜͷೝূ͖ͷܰྔͳKubernetesσΟετϦϏϡʔγϣ ϯͰ͢ɻ
19 What is k3s • ͕ߴ͍ (JU)VC4UBS
20 What is k3s • .BOBHFELT
21 What is k3s ಛ • 40 MBόΠφϦɺ250 MBϝϞϦ༻ྔ •
KubernetesϚελʔɺKubeletɺContainerd͕ɺ όΠφϦ1ͭͰશ෦ೖΓ • ΑΓܰྔͳsqlite3ΛσϑΥϧτͷετϨʔδ .Z42- 1PTUHSFT FUDEαϙʔτ • ΑΓܰྔͳContainerdΛσϑΥϧτͷϥϯλΠϜ • ରԠΞʔΩςΫνϟɺx86_64, ARMv7, ARM64
22 What is k3s k3sͷSoftware Stack
23 What is k3s ར༻γʔϯ Edge Dev ϩʔΧϧ։ൃڥɺΤοδσόΠεͳͲͷͱ͜Ζ • Edge
• IoT • Dev/Test • Single App Clusters • Embedded in Application
24 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
25 k3sͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.7.0 n ࠓޙͷόʔδϣϯΞοϓ ։ൃঢ়گʹΑΓɺ࣌༰͕มߋՄೳ • v0.8
In 2019/08:HAv1.5(external sql db and manually configured LB), k8s 1.15... • v0.9 In 2019/09:HAv2 (KINE, embedded etcd support)
26 Demo Time n k3dͰϩʔΧϧڥʹkubernetesΫϥελʔΛߏங લఏ݅ • ϩʔΧϧڥʹɺDocker DesktopΛΠϯετʔϧ •
ϩʔΧϧڥʹɺk3dόΠφϦΛΠϯετʔϧ खॱ • ϩʔΧϧڥͰɺRancherΛ্ཱ͛ • ϩʔΧϧڥͰɺk3dͰk3sΫϥελʔ (1master+3worker)Λߏங • ϩʔΧϧͷRancher͔Βɺk3sΫϥελʔΛΠϯ ϙʔτ
27 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
28 What is RancherOS • RancherOSɺDockerίϯςφΛՔಇͤ͞Δ͜ͱʹಛԽͨ͠ϛχϚϜ -JOVYσΟετϦϏϡʔγϣϯͰ͢ɻ
29 What is RancherOS ಛ • DockerίϯςφΛՔಇͤ͞Δ͜ͱʹಛԽ • αΠζʢ100M ʣ͕খ͘͞ىಈ͕ૣ͍
• OSͷ͕ͯ͢DockerίϯςφʹΑͬͯཧ • initγεςϜDockerίϯςφΛར༻
30 What is RancherOS Πϯετʔϧํ๏ • ISOΠϝʔδ͔Βىಈ • σΟεΫʹΠϯετʔϧͯ͠ىಈ •
֤छΫϥυϓϩόΠμʢAWSͳͲʣ͕ఏڙ͢ΔΠϝʔ δΛར༻
31 RancherOSͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ:v1.5.0 Linux: 4.14.85 Docker docker-18.06.1-ce by default
n ࠓޙ࠷৽%PDLFSόʔδϣϯ ػೳɺόάमਖ਼ ʹै͢ ΔܗͰɺόʔδϣϯΞοϓͯ͠ߦ͘
32 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
33 What is k3os • k3osɺkubernetesʹಛԽͨܰ͠ྔOSͰɺܰྔkubernetes σΟετϦϏϡʔδϣϯͰ͋Δ「k3s」ΛΈࠐΜͩ04Ͱ͢ɻ
34 What is k3os k3sͷSoftware Stack k3osͷSoftware Stack • k3sͱLinuxΛ1ͭʹͨ͠kubernetesʹಛԽͨ͠OSͰ͢ɻ
35 What is k3os ಛ • k3s࣮ߦʹಛԽͨ͠ϛχϚϜOS • ܰྔͷͨΊɺىಈ͕ૣ͍ •
UbuntuΧʔωϧΛϕʔε • k3sͱͷ౷߹ཧ • ରԠΞʔΩςΫνϟɺx86_64, ARM
36 k3osͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.2.1 n ࠓޙ࠷৽k3sͱlinuxόʔδϣϯ ػೳɺόάमਖ਼ ʹै͢ΔܗͰɺόʔδϣϯΞοϓͯ͠ߦ͘
37 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
38 What is Submariner • SubmarinerɺෳͷKubernetesΫϥελؒͷPodωοτϫʔΫ͓ΑͼService ωοτϫʔΫΛܨ͛ΔπʔϧͰ͢ɻ
39 What is Submariner ར༻γʔϯ • ϚϧνΫϥελʹσϓϩΠ͞Εɼ૬ޓ௨৴Λඞཁ ͢ΔϚΠΫϩαʔϏε • ཧతྖҬΛӽ͑ͨKubernetesͷσʔλϕʔε
ϨϓϦέʔγϣϯ • ΫϥελΛ·͙ͨαʔϏεϝογϡͷσϓϩΠ
40 What is Submariner • Broker:ҟͳΔΫϥελʔؒͷIPSec tunnelsΛཱ֬Ͱ͖ΔͨΊͷใަͤ͞Δ • GatewayNode :
IPSec tunnelsΛཱ֬ɺ֎෦ΫϥελʔͷΞΫηεGatewayNodeΛܦ༝
41 What is Submariner • طଘͷKubernetesΫϥελʹల։Մೳ • IPSecτϯωϧΛ༻ͨ͠҉߸ԽωοτϫʔΫଓ • ෳͷ,VCFSOFUFTΫϥελΛରͱͨ͠αʔϏεσΟε
ΧόϦΛఏڙ • CNIυϥΠόར༻ͷΫϥελʔͳΒɺରԠՄೳ
42 What is Submariner ҙࣄ߲ • ΫϥελؒͰҟͳΔΫϥελαʔϏεCIDRΛ༻ • ΫϥελʔͷϊʔυؒɺIPଓͰ͖Δ •
SubmarinerίϯϙωʔτσϓϩΠͷҝ、Helm v2.12.1 ඞཁ
43 Submarinerͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.0.1 n v0.0.1ͷPre-releaseஈ֊ͰɺޙଓͷRoadmap͕ෆ ໌
44 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
45 What is Longhorn • LonghornɺϚΠΫϩαʔϏεͷߏΛج൫ͱͨ͠ࢄϒϩοΫετϨʔδ OSSͰ͢ɻ
46 What is Longhorn ˢ1ͭϘϦϡʔϜͰ3ͭϨϓϦΧΛ༻͢Δ߹ͷྫ ཪʹɺLonghorn͕1つͷίϯτϩʔϥʔPodͱ3ͭͷϨϓϦΧ༻PodΛ࡞͍ͯ͠·͢ɻ
47 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
48 What is Longhorn ಛ • KubernetesΫϥελʔͷσϓϩΠ͕؆୯ • ཧ༻ͷWebͷGUIΛఏڙ •
ϘϦϡʔϜͷεφοϓγϣοτόοΫΞοϓՄೳ(S3,NFS) • KubernetesΫϥελʔͷεέʔϧΞτ࣌ͷࣗಈରԠ • ϚΠΫϩαʔϏεͷߏͷҝɺোͷӨڹΛ࠷খݶ
49 Longhornͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.5.0 n ࠓޙ
50 Rancher LabsϓϩμΫτͱϓϩδΣΫτ
51 What is Rio • RioɺkubernetesͷҝͷMcrioPaasͰ͢ɻ
52 What is Rio • ओͳಛ McrioPaas = ܰྔ൛ͳPass n
Paasతͳػೳ • Pipeline͔Βӡ༻ࢹػೳ·ͰΛΧόʔ • ϚϧνςφϯτʢෳͷΞϓϦʣରԠ • ΠϯϑϥΛҙࣝ͠ͳ͍ • Run everywhere(k8s) n ܰྔͰ͋Δ • KubernetesIstioͳͲͷΤίγεςϜΛΈ߹ΘͤͰ࡞ • ϞδϡϥʔΞʔΩςΫνϟͰɺෆཁͳػೳΛ֎ͤΔ • KubernetesͷطଘͷػೳΛมߋ͠ͳ͍ • ϩʔΧϧڥ k3s ͰՔಇͰ͖Δ
53 What is Rio • ৄࡉػೳ
54 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
55 What is Rio
56 Rioͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v0.2.0 n ࠓޙ࠷৽k8sͱistioͳͲͷΤίʔγεςϜ ػೳɺ όάमਖ਼ ʹै͢ΔܗͰɺόʔδϣϯΞοϓͯ͠
ߦ͘
Thanks