open-nomad/jobspec
Seth Hoenig 5b072029f2 consul/connect: add initial support for ingress gateways
This PR adds initial support for running Consul Connect Ingress Gateways (CIGs) in Nomad. These gateways are declared as part of a task group level service definition within the connect stanza.

```hcl
service {
  connect {
    gateway {
      proxy {
        // envoy proxy configuration
      }
      ingress {
        // ingress-gateway configuration entry
      }
    }
  }
}
```

A gateway can be run in `bridge` or `host` networking mode, with the caveat that host networking necessitates manually specifying the Envoy admin listener (which cannot be disabled) via the service port value.

Currently Envoy is the only supported gateway implementation in Consul, and Nomad only supports running Envoy as a gateway using the docker driver.

Aims to address #8294 and tangentially #8647
2020-08-21 16:21:54 -05:00
..
test-fixtures consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
parse.go
parse_group.go
parse_job.go
parse_multiregion.go
parse_network.go
parse_service.go consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
parse_task.go
parse_test.go consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
utils.go
utils_test.go