Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Consul use case
Search
k.yanagimoto
April 04, 2019
Technology
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Consul use case
Share about Hashicorp Consul in our group.
k.yanagimoto
April 04, 2019
More Decks by k.yanagimoto
See All by k.yanagimoto
cloudnative days tokyo online 2021 - 311
kyanagimoto
0
510
open telemetry w/ Ruby
kyanagimoto
0
370
nikotama.rb #10
kyanagimoto
0
420
Developers Summit 2020 - 13-A-5
kyanagimoto
0
2.2k
Nikotama.rb #9
kyanagimoto
0
330
Nikotama.rb #8
kyanagimoto
0
210
CNCF for Rubyist
kyanagimoto
0
460
Nikotama.rb #7
kyanagimoto
0
460
Rails6 New Functions
kyanagimoto
0
200
Other Decks in Technology
See All in Technology
ログラスのマルチプロダクトを 支える認証基盤 〜テナントごとに異なる統制とどう向き合うか〜
dada4386
3
330
雪かき部 #7 もう怖くない!SELECT文!
foursue
0
270
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
390
並行性の問題を防げ!実践トランザクション入門
occhi
0
220
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
leveragestech
PRO
0
140
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
150
Databricksメトリクスビューはじめてのもくもく会
taka_aki
0
170
AIに書かせて、プラットフォームで縛る ― EKSプラットフォームで実践した責任境界と権限設計
elmodev09
1
1.1k
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
140
1人アドミンな私はAWSアカウント申請をSlackで完結したい!
ysuzuki
0
110
IR Today: Theory, Practice, and Agents
dtunkelang
0
330
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
140
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
410
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
The browser strikes back
jonoalderson
0
1.7k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
470
The SEO identity crisis: Don't let AI make you average
varn
0
570
Designing for Timeless Needs
cassininazir
1
510
Prompt Engineering for Job Search
mfonobong
0
470
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Transcript
Consul use case Apr 4, 2019 Koichi Yanagimoto EC Incubation
Development Dept. Rakuten, Inc.
Today’s Topic Today’s topic
Who am I ? Koichi Yanagimoto @kyanagimoto Application Engineer Rakuten,
Inc.
4 Consul? Service Discovery Service Segmentation Service Configuration
5 Consul?
6 Our use case
7 Our use case consul agent consul agent { "service":
{ "name": "varnish" } } consul_service.json consul agent -data-dir=/consul/data -retry-join=consul.server.ip -client=0.0.0.0
8 Our use case consul agent consul agent consul template
consul-template \ -template "squid.ctmpl:/etc/squid.conf:/etc/squid/sbin/squid -f /etc/squid.conf -k reconfigure"
9 Squid.ctmpl http_port 80 accel http_port 81 accel vport=80 {{
range service "varnish" }} cache_peer {{ .Address }} parent 8080 0 carp proxy-only no-digest no-query no-netdb-exchange weight=100 originserver {{ end }} include /etc/squid/image_space_common.conf cache_access_log /var/log/squid/access_image_space.log access_log_format cache_log /var/log/squid/response_image_space.log responce_log_format cache_swap_log /var/log/squid/cache_swap_image_space.log pid_filename /var/run/squid_image.pid
10 Our use case Kubernetes
11 DEMO
None