open-nomad/vendor/github.com/hashicorp/nomad/api
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
..
contexts deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
acl.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
agent.go api: nomad debug new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
allocations.go command: correctly show host IP in ports output /w multi-host networks (#8289) 2020-06-25 15:16:01 -04:00
api.go cli: jobs allow querying jobs in all namespaces 2020-06-17 16:31:01 -04:00
constraint.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
csi.go csi: nomad volume detach command (#8584) 2020-08-11 10:18:54 -04:00
deployments.go multiregion CLI: nomad deployment unblock 2020-06-17 11:03:44 -04:00
evaluations.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
fs.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go.mod deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go.sum deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ioutil.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
jobs.go oss compoments for multi-vault namespaces 2020-07-24 10:14:59 -04:00
namespace.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
nodes.go Vendor sync 2020-08-20 00:31:07 +08:00
operator.go allow raw body instead of JSON encoded string (#8211) 2020-06-19 10:57:09 -04:00
operator_autopilot.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
quota.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
raw.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
regions.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
resources.go vendor: sync api changes 2020-06-19 11:31:39 -04:00
scaling.go deps: upgrade import of consul/api 2020-08-06 21:02:33 -05:00
search.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
sentinel.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
services.go consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
status.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
system.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
tasks.go upgrade go metrics to 0.3.4 (#8637) 2020-08-11 13:26:45 -04:00
utils.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00