feat: nomad cni additions (#314)
- 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) Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/314
This commit was merged in pull request #314.
This commit is contained in:
@@ -39,6 +39,7 @@ profiles::ceph::client::keyrings:
|
||||
profiles::packages::include:
|
||||
nomad: {}
|
||||
cni-plugins: {}
|
||||
consul-cni: {}
|
||||
|
||||
profiles::nomad::node::client: true
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user