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
300
希望の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
260
勝手にAlibaba Cloud White Beltシリーズ Elastic Compute Service(ECS)/alieaters-20190301
morita92hiro
0
410
夏休みで差がつく!Ansible/ansiblejp-20180803
morita92hiro
2
2.6k
いまからDockerで始めるGitLab CE/gitlabjp-20170919
morita92hiro
1
1.4k
月額10円から作るServerless Website〜Azure編〜/serverlessfukuoka-20170825
morita92hiro
8
17k
コンテナ運用いきのこるには/ranchermeetup-20170807
morita92hiro
1
580
AWS Summit Tokyoをお探しですか?/jawsug-20170713
morita92hiro
0
180
ブラウザだけでインフラ操作?〜これさえあれば、何もいらない。〜/fukuazu-20170622
morita92hiro
1
920
Other Decks in Technology
See All in Technology
プロセス改善による品質向上事例
tomasagi
2
2.5k
なぜ私は自分が使わないサービスを作るのか? / Why would I create a service that I would not use?
aiandrox
0
730
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
130
Goで作って学ぶWebSocket
ryuichi1208
0
170
2024.02.19 W&B AIエージェントLT会 / AIエージェントが業務を代行するための計画と実行 / Algomatic 宮脇
smiyawaki0820
13
3.3k
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
3
980
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
320
Helm , Kustomize に代わる !? 次世代 k8s パッケージマネージャー Glasskube 入門 / glasskube-entry
parupappa2929
0
250
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1.3k
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
720
明日からできる!技術的負債の返済を加速するための実践ガイド~『ホットペッパービューティー』の事例をもとに~
recruitengineers
PRO
3
390
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Code Review Best Practice
trishagee
67
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
4 Signs Your Business is Dying
shpigford
182
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Building Adaptive Systems
keathley
40
2.4k
Become a Pro
speakerdeck
PRO
26
5.1k
RailsConf 2023
tenderlove
29
1k
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