-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Beta support for running consul-k8s without client agents #1552
Commits on Sep 27, 2022
-
Initial support for agentless (#1267)
Add initial support for the basic service mesh running with agentless. * Update connect-inject deployment to talk to consul servers (currently only in-cluster servers are supported; external servers support will come in a later PR) * Update endpoints controller to register and deregister services and health checks in the catalog and stop using agent APIs * Update connect-init command to take the -node-name flag so that it can search for services within a given node using catalog APIs * Add k8s probes to the envoy container * Provide -node-name flag to the consul connect envoy command so that we can generate correct configuration * Selectively disable acceptance tests that don't yet work in this configuration * Disable consul clients by default
Configuration menu - View commit details
-
Copy full SHA for c897e70 - Browse repository at this point
Copy the full SHA c897e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bc860a - Browse repository at this point
Copy the full SHA 0bc860aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6a8423 - Browse repository at this point
Copy the full SHA b6a8423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 666a83c - Browse repository at this point
Copy the full SHA 666a83cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ab869 - Browse repository at this point
Copy the full SHA 61ab869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f5317 - Browse repository at this point
Copy the full SHA 01f5317View commit details -
Register mesh-gateways using the endpoints controller. (#1464)
* Register mesh-gateways using the endpoints controller. - Use consul-dataplane to configure the mesh-gateway proxy and remove envoy container. - Remove instances of client and auto-encrypt from the deployment. * Replace ioutil.ReadFile with os.ReadFile
Configuration menu - View commit details
-
Copy full SHA for 51c3585 - Browse repository at this point
Copy the full SHA 51c3585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31125b4 - Browse repository at this point
Copy the full SHA 31125b4View commit details -
agentless: integrate connect-inject with consul-server-connection-man…
…ager (#1502) * Introduce new set of Consul flags that will be used by all consul-k8s commands * Use consul-server-connection-manager to discover servers and use up-to-date server IP every time we need to make an API request.
Configuration menu - View commit details
-
Copy full SHA for b82ac7f - Browse repository at this point
Copy the full SHA b82ac7fView commit details -
Register Terminating Gateways with Endpoints Controller (#1469)
- Added a `terminating-gateway-service.yaml` template. In order to register the deployment with the Endpoints Controller, a "dummy" service must exist so that a Kubernetes endpoint object is created, triggering the Endpoints Controller reconcile loop. - Modified the `terminating-gateway-deployment.yaml` template: - Added a "managed by" label. - Added annotations to configure the behavior of the Endpoints Controller during registration. - Removed the `copy-consul-bin` init container. - Changed the `terminating-gateway-init` init container to use `connect-init` instead of `acl-init` as the client `acl-init` talked to will no longer exist in agentless. - Removed the `preStop` hook from the `terminating-gateway` container. - Removed the `consul-sidecar` container in preparation for the blessings of the Consul Dataplane. - Removed BATS tests which covered features no longer present in agentless. - Added BATS tests for `terminating-gateway-service` and for Consul namespace handling in `terminating-gateway-deployment`. - Added annotation `consul.hashicorp.com/terminating-gateway-namespace` to configure which Consul namespace a terminating gateway will be placed in when using Consul Enterprise. - Modified the Endpoints Controller to register terminating gateways - Added a `switch` to the `createGatewayRegistrations` method which handles configuration of the endpoint particular to the terminating gateway. - Added unit tests which verify the registrations created by `createGatewayRegistrations` is correct. - Added a unit test to verify the the `Reconcile` method does register the endpoint. Co-authored-by: Iryna Shustava <[email protected]> Co-authored-by: Ashwin Venkatesh <[email protected]> Co-authored-by: Ashwin Venkatesh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1ee841 - Browse repository at this point
Copy the full SHA d1ee841View commit details -
agentless: integrate consul-server-connection-manager to connect-init…
… command (#1520) * Introduce new set of Consul flags that will be used by all consul-k8s commands * Use consul-server-connection-manager to discover servers and use up-to-date server IP every time we need to make an API request. Co-authored-by: Ashwin Venkatesh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f757bfb - Browse repository at this point
Copy the full SHA f757bfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea0255 - Browse repository at this point
Copy the full SHA 2ea0255View commit details -
agentless: enable admin partitions with agentless (#1543)
* integrate partition-init job with consul-server-connection-manager * integrate controller with consul-server-connection-manager * modify partition token to be be able read all services so that it works with connection manager
Configuration menu - View commit details
-
Copy full SHA for 711f1f3 - Browse repository at this point
Copy the full SHA 711f1f3View commit details
Commits on Sep 28, 2022
-
Register Ingress Gateway with Endpoints Controller (#1544)
- Use consul-dataplane instead of envoy.
Configuration menu - View commit details
-
Copy full SHA for 85d29fd - Browse repository at this point
Copy the full SHA 85d29fdView commit details -
Use Consul Dataplane for Terminating Gateways (#1534)
Thomas Eckert authoredSep 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 0805258 - Browse repository at this point
Copy the full SHA 0805258View commit details