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
290
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
Transcript
12 slides
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
More Decks by k.yanagimoto
See All by k.yanagimoto
cloudnative days tokyo online 2021 - 311
kyanagimoto
0
540
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
230
CNCF for Rubyist
kyanagimoto
0
460
Nikotama.rb #7
kyanagimoto
0
470
Rails6 New Functions
kyanagimoto
0
200
Other Decks in Technology
See All in Technology
LLM 基盤と kagent v0 を全部 k8s に入れてみた / Deploy both LLM and kagent v0 in k8s
kota2and3kan
0
230
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
110
Shared Signals Framework 仕様解説
oidfj
0
450
Kiro CLI 入門 (ターミナルと CI で使う) | 目指せ Kiro マスター 03
inariku
PRO
2
160
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
240
Steering と Hook (チームの決まりを守らせる) | 目指せ Kiro マスター 06
inariku
PRO
2
140
閉域網でのAPI公開の選択肢全部比較!
takano0131
2
340
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
13
23k
Claude Securityを使ってみた / claude-security-claude-code-meetup-nagoya
tnir
0
130
思考過程から秘密が漏れる:Amazon Bedrock上のKimi K3を5つの方法で攻めたら、25回中22回漏洩した話
yama3133
1
170
AWS Quick 入門 | 目指せ Quick マスター 01
inariku
PRO
2
360
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
700
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Odyssey Design
rkendrick25
PRO
3
950
How GitHub (no longer) Works
holman
316
150k
Rails Girls Zürich Keynote
gr2m
96
14k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Everyday Curiosity
cassininazir
0
400
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
570
A designer walks into a library…
pauljervisheath
211
25k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k