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
900
Other Decks in Technology
See All in Technology
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
260
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
490
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
日経電子版のStoreKit2フルリニューアル
shimastripe
1
140
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
190
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
230
Featured
See All Featured
The Cult of Friendly URLs
andyhume
78
6k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Navigating Team Friction
lara
183
14k
RailsConf 2023
tenderlove
29
900
Embracing the Ebb and Flow
colly
84
4.5k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
We Have a Design System, Now What?
morganepeng
50
7.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Teambox: Starting and Learning
jrom
133
8.8k
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