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
希望のRancher〜コンテナをアウフヘーベン〜/ranchermeetup-20171006
Search
Kunihiro Morita
October 06, 2017
Technology
0
270
希望のRancher〜コンテナをアウフヘーベン〜/ranchermeetup-20171006
Rancher Meetup #02 in Fukuoka の資料です。 #ranchermeetup
Kunihiro Morita
October 06, 2017
Tweet
Share
More Decks by Kunihiro Morita
See All by Kunihiro Morita
絵で覚える AWS 全 (?) サービス入門 〜 できるAWSカルタ 〜/jawsug-20191019
morita92hiro
1
2.3k
決戦用MSセンチネル/alterbooth-20190606
morita92hiro
1
240
勝手にAlibaba Cloud White Beltシリーズ Elastic Compute Service(ECS)/alieaters-20190301
morita92hiro
0
390
夏休みで差がつく!Ansible/ansiblejp-20180803
morita92hiro
2
2.6k
いまからDockerで始めるGitLab CE/gitlabjp-20170919
morita92hiro
1
1.3k
月額10円から作るServerless Website〜Azure編〜/serverlessfukuoka-20170825
morita92hiro
8
16k
コンテナ運用いきのこるには/ranchermeetup-20170807
morita92hiro
1
560
AWS Summit Tokyoをお探しですか?/jawsug-20170713
morita92hiro
0
160
ブラウザだけでインフラ操作?〜これさえあれば、何もいらない。〜/fukuazu-20170622
morita92hiro
1
890
Other Decks in Technology
See All in Technology
Automated Promptingを目指すその前に / Before we can aim for Automated Prompting
rkaga
0
100
ネット広告に未来はあるか?「3rd Party Cookie廃止とPrivacy Sandboxの効果検証の裏側」 / third-party-cookie-privacy
cyberagentdevelopers
PRO
1
120
君は隠しイベントを見つけれるか?
mujyun
0
250
【若手エンジニア応援LT会】AWS Security Hubの活用に苦労した話
kazushi_ohata
0
150
物価高なラスベガスでの過ごし方
zakky
0
320
話題のGraphRAG、その可能性と課題を理解する
hide212131
4
1.4k
で、ValhallaのValue Classってどうなったの?
skrb
1
660
初心者に Vue.js を 教えるには
tsukuha
5
380
来年もre:Invent2024 に行きたいあなたへ - “集中”と“つながり”で楽しむ -
ny7760
0
430
Vueで Webコンポーネントを作って Reactで使う / 20241030-cloudsign-vuefes_after_night
bengo4com
4
2.5k
Amazon_CloudWatch_ログ異常検出_導入ガイド
tsujiba
4
1.4k
GitHub Universe: Evaluating RAG apps in GitHub Actions
pamelafox
0
170
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
45
6.6k
Making Projects Easy
brettharned
115
5.9k
Adopting Sorbet at Scale
ufuk
73
9k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.6k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Transcript
رͷRancher ʙίϯςφΛΞϑϔʔϕϯʙ #ranchermeetup 201710/6 Rancher Meetup #02 in Fukuoka 1
Ξϑϔʔϕϯ খࣄͷ๛ऱҠసΛΊ͙ΔൃݴͰͱͳͬͨʮΞϑϔʔϕ ϯʯɻࣄϔʔήϧ͕ఏএͨ͠ʮࢭ༲ʯΛݴ͍ͬͯͨͱࢥ͍·͢ ͕ɺΞϑϔʔϕϯେؗһؚΊେͷυΠπਓʹͱͬͯࢸͬͯ ී௨ͷಈࢺͰ͢ɻҙຯʮ্࣋ͪ͛Δɾर্͍͛Δʯɻࠒ৭ʑͳͷ ΛΞϑϔʔϕϯͯ͠·͢ɻ — υΠπେؗ https://twitter.com/GermanyinJapan/status/ 879186586033725440
201710/6 Rancher Meetup #02 in Fukuoka 2
ηογϣϯ֓ཁ Rancherॳ৺ऀͰ͢ɻRancherͰίϯ ςφΛΞϑϔʔϕϯʢσϓϩΠʣͨ͠ ͍رΛ๊͍͍ͯ·͢ɻ৮Εͳ͕Β͜Ε ศརɺग़དྷͨΒྑ͍ͳͷؾ͖ٕͮ ज़తཪ͚͕ͳ͍ͷؚ͕·Ε·͢ɻ ಉձʹ͍ΔRancher͍ࡾݡऀͷ ਅ৺ϑΟʔυόοΫͰΓཱͪ·͢ɻ 201710/6 Rancher
Meetup #02 in Fukuoka 3
@yamamoto_febc Ͳ͏͍͏ͱ͜ΖͰ͑ͦ͏ͱࢥ͔ͬͨͳΜ͍ͯ͏ɺͨ͠ͳΉաఔͦͷ ͷ͕݁ߏؾʹͳͬͯ·͢wͦͷลͰൃදͲ͏Ͱ͢ʁ 201710/6 Rancher Meetup #02 in Fukuoka 4
@FoxBoxsnet ͦͷลɺ͏͠ʹ͏ؾ͚ͮͳ͍ͷͰɺཉ͍͠Ͱ͢Ͷ!! Rancherྺଟ 1,000͙࣌ؒΒ͍Ͱ͕͢ɺؾ͚ͮͯͳ͍෦ଟʑ͋ ΔͷͰ͓ؾʹͳ͞Βͣɻ 201710/6 Rancher Meetup #02 in
Fukuoka 5
kill -9 me 201710/6 Rancher Meetup #02 in Fukuoka 6
ా༟ גࣜձࣾΦϧλʔϒʔε ιϦϡʔγϣϯΞʔΩςΫτ @morita92hiro http://hawaku.hateblo.jp 201710/6 Rancher Meetup #02 in
Fukuoka 7
ͨ͠ͳΉաఔ » Rancher ϋϯζΦϯ #03 & ϞΫϞΫษڧձ #071 <- ࢼͨ͠
» Rancher JP - ࢿྉҰཡ - connpass2 <-શ෦ݟͨ » Rancher JP - YouTube3 <-΄΅ݟͨ » Rancher Documentation4 <- ੵΈຊ New 4 http://rancher.com/docs/rancher/latest/en/ 3 https://www.youtube.com/channel/UCkczjoJXD_jRffogLZ-ilLg/videos 2 https://rancherjp.connpass.com/presentation/ 1 https://www.slideshare.net/secret/VndQ9YHIjIA1a 201710/6 Rancher Meetup #02 in Fukuoka 8
Ͳ͏͍͏ͱ͜ΖͰ͑ͦ͏ʁ » ෳͷΦʔέετϨʔγϣϯπʔϧͷཧ » ෳͷύϒϦοΫΫϥυར༻ΦϯϓϨͱͷϋΠϒϦου » ϚΠΫϩαʔϏε, APIج൫, OpenFaaSͳͲFaaSج൫ »
ԾϚγϯ͕ඵ՝ۚ࣌ɻϗετཧʹྑ͍Έ͕͋Ε 201710/6 Rancher Meetup #02 in Fukuoka 9
ࢼͯ͠Έͨ » Azure্ʹ࡞ͬͯΈͨ » ߏஙࢿྉઌͷϋϯζΦϯࢿྉQiitaͳͲ๛ʹ͋Δ » Rancher Server / Agentͷߏங؆୯
» ࠓճ1ܥΛ৮ͬͯΈͨ » ߏஙRancher JPࢿྉQiitaΛړΕग़ͯ͘Δ » ߏஙͬ͘͟ΓΘ͔ͬͨ 201710/6 Rancher Meetup #02 in Fukuoka 10
Α͋͘Δέʔε ίϯςφ de WordPress 201710/6 Rancher Meetup #02 in Fukuoka
11
Dockerͩͱ 1. docker-compose.yml࡞ » WordPressͷLAMPίϯςφ » σʔλӬଓ » ϙʔτϚοϐϯά 2.
docker-compose up 3. 201710/6 Rancher Meetup #02 in Fukuoka 12
Rancherͩͱ 1. Χλϩά͔ΒWordPressબ 2. » ఆٛࡁΈΧλϩά͔ΒબͿ͚ͩͰ؆୯ʢDC/OSͬΆ͍ʣ » Wordpressͷଞʹ GitLab
/ PrometheusΛࢼͨ͠ » ؆୯ʹىಈͨ͠ » Χλϩά࡞Մೳ 201710/6 Rancher Meetup #02 in Fukuoka 13
؆୯ͩΑͶ γϯάϧϗετ 201710/6 Rancher Meetup #02 in Fukuoka 14
ӡ༻ઢ Ϛϧνϗετ 201710/6 Rancher Meetup #02 in Fukuoka 15
ѹతใগͳ͞ ӡ༻ɾࢹɾՄ༻ੑ 201710/6 Rancher Meetup #02 in Fukuoka 16
WordPressՄ༻ੑઃܭ » LB + PHP̎ + MySQL(Active/Standby) » WordpressϑΝΠϧͷϗετؒσʔλಉظ »
NFSRsyncͰಉظɻࣗલNFSSPOFɻ » MySQLͷՄ༻ੑ ӡ༻ਏ͍ 201710/6 Rancher Meetup #02 in Fukuoka 17
ϚωʔδυαʔϏε͏ » AWS EFS, S3Azure File Storage, BloBͳͲϚωʔδυετϨʔδ » AWS
RDSAzure Database MySQLͳͲϚωʔδυDB ӡ༻ָ 201710/6 Rancher Meetup #02 in Fukuoka 18
ίϯςφՄ༻ੑ » ల։͢ΔίϯςφͷϗετͷภΓΛͳ͍ͨ͘͠ » ಉҰϗετͰಉҰϙʔτ͑ͳ͍ » Proxyίϯςφɺ͘͠֎͔ΒίϯςφʹಈతϚοϐϯά 201710/6 Rancher Meetup
#02 in Fukuoka 19
RancherͰʁ ༻ҙ͞ΕͯͨWordPressΧλϩάͰࢼͨ͠ » ϗετؒσʔλಉظ » ίϯςφεέʔϧΞτಉҰϗετ » ղܾࡦRancher NFS, Longhoneʁ
ϚωʔδυετϨʔδΈ߹Θ͍͍ͤͯͨ 201710/6 Rancher Meetup #02 in Fukuoka 20
RancherͰʁʢଓ͖ʣ » MySQLίϯςφ » ʁ » LBίϯςφ » HAProxy͕ಈ࡞ͯ͠εέʔϧΞτʹਵ »
HAPorxyγϯάϧίϯςφɻίϯςφࢮΜͩΒʁ ϚωʔδυDB/LBΈ߹Θ͍͍ͤͯͨ 201710/6 Rancher Meetup #02 in Fukuoka 21
ଞʹͨ͘͞Μ 201710/6 Rancher Meetup #02 in Fukuoka 22
» Server/AgentϗετࢮΜͩΒͲ͏ͳΔ » ίϯςφࢮΜͩΒͲ͏ͳΔ » ޙ͔ΒRancherཧՄೳʁ » ίϯςφRancher͕ཧʁk8sʹ४ͣʁ » ΞΫηε૿ݮͷίϯςφ૿ݮͲ͏͢Δʁ
» ϗετͷεέʔϧ͍ͨ͠ΑͶʁ 201710/6 Rancher Meetup #02 in Fukuoka 23
» ͲͷϗετʹσϓϩΠ͞ΕΔʁDNSׂΓͯͲ͏͠Α͏ʁ » ϩάͲ͏͢Δʁ » Rancher NFSɻSPOFɺϗετεέʔϧͲ͏ͳΔ » Rancher Longhorn
ຊ໋ʁ » ϚωʔδυαʔϏεͱͷΈ߹ΘͤͲ͏ͬͯ » ࢹͲ͏͢Δ 201710/6 Rancher Meetup #02 in Fukuoka 24
» GitLabͷଞCI/CDπʔϧͱΈ߹Θͤͯ͏ඞཁ » Rancher API/CLIΛ͑Ͱ͖ͦ͏ » σϓϩΠʢϩʔϦϯάɺϩʔϧόοΫͳͲʣk8s४ͣʁ » 1ͭͷUIͰ͍ͨ͠ͳΒOpenShiftʁ ʢ<-
Rancherؔͳ͍ʣ » RancherEnterpriseͰk8sαϙʔτʁ 201710/6 Rancher Meetup #02 in Fukuoka 25
» ͦͦίϯςφϗετཧͨ͘͠ͳ͍ » ୭͔ » Azure Container Instance » RancherͰཧͰ͖Δʁ
» ͜Ε͔Β࢝ΊΔਓ1ܥΑΓ2ܥ͕Α͍ʁ 201710/6 Rancher Meetup #02 in Fukuoka 26
ٻΉใ ӡ༻ɾࢹɾՄ༻ੑ 201710/6 Rancher Meetup #02 in Fukuoka 27
_____ < END > ----- \ ^__^ \ (oo)\_______ (__)\
)\/\ ||----w | || || 201710/6 Rancher Meetup #02 in Fukuoka 28