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
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
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
120
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
500
Wantedly での Datadog 活用事例
bgpat
2
690
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
210
APIとはなにか
mikanichinose
0
110
コンテナセキュリティのためのLandlock入門
nullpo_head
2
330
Server-Side Engineer of LINE Sukimani
lycorp_recruit_jp
0
360
Storage Browser for Amazon S3
miu_crescent
1
290
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
180
Qiita埋め込み用スライド
naoki_0531
0
5.3k
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.6k
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
27
23k
Featured
See All Featured
Producing Creativity
orderedlist
PRO
342
39k
Mobile First: as difficult as doing things right
swwweet
222
9k
A designer walks into a library…
pauljervisheath
205
24k
How STYLIGHT went responsive
nonsquared
96
5.2k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Optimising Largest Contentful Paint
csswizardry
33
3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
GitHub's CSS Performance
jonrohan
1031
460k
We Have a Design System, Now What?
morganepeng
51
7.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
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