feat: nomad cni additions

- add consul-cni package
- enable grpc for consul servers
- enable consul connect for consul servers
- set recursors for consul
- add ports to consul agent (grpc, dns, http for nomad)
This commit is contained in:
2025-06-14 09:21:51 +10:00
parent 890e9670f3
commit c96e42f9d0
5 changed files with 11 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ profiles::ceph::client::keyrings:
profiles::packages::include:
nomad: {}
cni-plugins: {}
consul-cni: {}
profiles::nomad::node::client: true
+5
View File
@@ -22,6 +22,7 @@ networking::interfaces:
profiles::packages::include:
nomad: {}
cni-plugins: {}
consul-cni: {}
profiles::nomad::node::client: true
@@ -34,6 +35,10 @@ profiles::pki::vault::alt_names:
- "nomad-client.service.%{facts.country}-%{facts.region}.consul"
# configure consul service
profiles::consul::client::ports:
grpc: 8502
dns: 8600
http: 8500
profiles::consul::client::node_rules:
- resource: service
segment: nomad-client
@@ -8,6 +8,7 @@ profiles::consul::server::addresses:
grpc: "%{::networking.ip}"
grpc_tls: "%{::networking.ip}"
profiles::consul::server::ports:
grpc: 8502
dns: 8600
http: 8500
https: -1