We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177ee6a commit 0f0238eCopy full SHA for 0f0238e
2 files changed
ansible/host_vars/a-hel-fi.m.voidlinux.org.yml
@@ -123,3 +123,8 @@ nomad_host_volumes:
123
- name: musl_hostdir
124
path: /hostdir
125
read_only: false
126
+
127
+nomad_reserved_ports:
128
+ - 80 # Legacy nginx on this host
129
+ - 443 # Legacy nginx on this host
130
+ - 873 # Externally managed rsync on this host
ansible/roles/nomad-client/templates/40-client.hcl
@@ -1,10 +1,17 @@
1
-#jinja2: trim_blocks: "true", lstrip_blocks: "true"
+#Jinja2: trim_blocks: "true", lstrip_blocks: "true"
2
client {
3
enabled = true
4
network_interface = "void0"
5
cni_path = "/usr/libexec/cni"
6
gc_interval = "10m"
7
8
+ reserved {
9
+ cpu = 250
10
+ memory = 512
11
12
+ reserved_ports = "{{nomad_reserved_ports|default([])|join(",")}}"
13
+ }
14
15
host_volume "netauth_config" {
16
path = "/etc/netauth"
17
read_only = true
0 commit comments