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
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
500
open telemetry w/ Ruby
kyanagimoto
0
360
nikotama.rb #10
kyanagimoto
0
410
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
450
Nikotama.rb #7
kyanagimoto
0
450
Rails6 New Functions
kyanagimoto
0
200
Other Decks in Technology
See All in Technology
AI活用の現在地、 ちゃんと見えてますか?/XPfest-2026
visional_engineering_and_design
0
170
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
180
Reactの設計論
uhyo
7
1.5k
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
220
動画配信アプリでの Engage SDK 導入 — TVer Android が Play ストアにコンテンツを届けるまで
techtver
PRO
0
150
#jawssonic2026 あの時代が悪かった ~動かなかったSageMakerと共に迎えたイベント当日~
ktkn1129
0
140
GoCon2026 - Open Source, Open World
sanposhiho
2
410
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
270
Bet AI Day 2026丨How We Bet AI: AIとともに働く場をつくる
layerx
PRO
2
2.8k
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
230
2026/09/10 Spring_Bootから_Jakarta_EE_MicroProfileへの移行
megascus
0
230
ペアプロの価値はコードを書くことだけじゃない
codmoninc
PRO
0
140
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
The Spectacular Lies of Maps
axbom
PRO
1
980
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The SEO identity crisis: Don't let AI make you average
varn
0
550
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
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