Merging Istio-Proxy Readiness from master#8624
Conversation
There are a lot of files and its confusing which files are used by inject_test vs webhook_test. Splitting out the files into two subdirectories under testdata/ to make it clear. Making copies of files that are shared.
* Adding helper functions to simplify injection templates * addressing comments
* More sidecar injector template cleanup * fixing
Overview of the changes: - Adding new flag to the pilot agent "--statusPort". Defaults to 15003. - Adding an HttpGet readiness probe to the pilot-agent on the new status port. The agent (not Envoy) will open this port. When receiving an HTTP GET on the readiness path, the agent will probe Envoy, checking that it has received dynamic listeners and clusters. If so, it's "ready". - Poking a hole in the sidecar iptables for the new status port (via the -d option). - Updated both webhook and manual injection paths to generate the readiness probe. A lot of changes here for the test files.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@nmittler since we don't want to change behaviour in the branch on upgrade, this should be opt-in. |
|
This seems the origin of a problem in sidecar injection when using Helm chart in release-1.0 branch: |
This includes a few commits related to the injector