Kazuhiro MUSASHI
|
63935ec789
|
Deploy `/etc/consul.d/server.hcl` only when the consul is server.
|
2024-03-31 09:45:42 +09:00 |
Kazuhiro MUSASHI
|
cfdec27f89
|
Consul server setup
|
2024-02-11 18:55:30 +09:00 |
Kazuhiro MUSASHI
|
73f7ec44b7
|
Enable `Consul Connect` for client side.
|
2022-07-10 16:22:28 +09:00 |
Kazuhiro MUSASHI
|
48702191fe
|
Allow `Consul` gcp port to communicate.
```
--- a/cookbooks/consul/setup.rb
+++ b/cookbooks/consul/setup.rb
@@ -44,7 +44,7 @@ service 'consul' do
end
# iptables settings here:
-%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp ).each do |port|
+%w( 8300/tcp 8301/tcp 8301/udp 8500/tcp 8502/tcp ).each do |port|
execute "ufw allow #{port}" do
user 'root'
```
|
2022-07-10 16:22:28 +09:00 |
Kazuhiro MUSASHI
|
7270023c92
|
Overwrite the `systemd` config to rotate the log files.
|
2020-11-28 16:18:46 +09:00 |
Kazuhiro MUSASHI
|
0e6c2ad531
|
Create log directory for `consul`.
|
2020-11-28 16:18:46 +09:00 |
Kazuhiro MUSASHI
|
41f25a9a1c
|
Deploy `/etc/consul.d/config.hcl`.
|
2020-11-28 16:16:52 +09:00 |
Kazuhiro MUSASHI
|
39f8fc5bc1
|
Install from `deb` package.
|
2020-11-28 16:07:12 +09:00 |
Kazuhiro MUSASHI
|
6315dc759e
|
Healthcheck for `consul`.
|
2020-10-24 12:30:05 +09:00 |
Kazuhiro MUSASHI
|
8b4b0eeb9e
|
Specify `dnsmasq` to check `consul` dns and the upper DNSs.
|
2020-10-13 21:18:37 +09:00 |
Kazuhiro MUSASHI
|
6706b9d4b1
|
Delete `monit` cookbook.
|
2020-10-13 21:12:27 +09:00 |
Kazuhiro MUSASHI
|
39fbe6669b
|
initial commit
|
2019-03-03 16:50:49 +08:00 |