Commit Graph

10 Commits

Author SHA1 Message Date
9e6b05fbab Specify Loki endpoint.
```
--- a/cookbooks/nomad/attributes.rb
+++ b/cookbooks/nomad/attributes.rb
@@ -4,6 +4,7 @@
 node.reverse_merge!({
   'nomad' => {
     'manager' => false,
-    'client' => false
+    'client' => false,
+    'lokiendpoint' => 'loki.service.consul:3100'
   }
 })
```
2022-01-10 15:29:00 +09:00
d824d6afc8 Add systemd config for Promtail monitoring nomad. 2022-01-10 15:29:00 +09:00
a7363ef7b1 Add Promtail setting for nomad. 2022-01-10 15:29:00 +09:00
96ba6e7757 Modify # of nomad servers:
```
--- a/cookbooks/nomad/files/etc/nomad.d/server.hcl
+++ b/cookbooks/nomad/files/etc/nomad.d/server.hcl
@@ -1,4 +1,4 @@
 server {
   enabled          = true
-  bootstrap_expect = 1
+  bootstrap_expect = 3
 }
```
2021-11-03 12:39:44 +09:00
9eddfaf514 Execute modprobe for the necessary kernel parameer. 2021-11-03 12:36:33 +09:00
cb368a1445 Deploy /etc/nomad.d/acl.hcl. 2021-06-19 19:56:45 +09:00
531dde8bff Deploy /etc/nomad.d/server.hcl. 2021-06-19 19:56:45 +09:00
bd4f65dcf5 Change the default config to install nomad only. 2021-06-19 19:56:45 +09:00
d5060f84f4 Install nomad even if the node is not nomad server/client. 2021-06-19 19:55:17 +09:00
010a53a58b Deploy nomad. 2021-05-02 19:08:17 +09:00