GoogleCloudPlatform / k8s-cloud-provider

Support code for implementing a Kubernetes cloud provider for Google Cloud Platform
Apache License 2.0
37 stars 46 forks source link

Add EnsureTcpRoute test #218

Closed akwi-github closed 2 months ago

akwi-github commented 4 months ago

Setup

  1. Create Mesh
  2. Create multiple (3+?) tcproutes and link them to the mesh
  3. Create 2 backend services with healthcheck per tcproute and add them to tcproutes
  4. Add multiple TcpRouteRules. Each Rule should point to a different BackendService and have unique matcher (port and address pair should be unique)

Changes

Execute planner only (without executing).

Expectations

Ensure that there are no necessary update actions

akwi-github commented 4 months ago

/cc @kl52752 /cc @mag-kol /cc @AwesomePatrol

akwi-github commented 3 months ago

/assign @kl52752

akwi-github commented 3 months ago

one nit, please fix

Done.

kl52752 commented 2 months ago

/lgtm /approve

google-oss-prow[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akwi-github, kl52752

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[e2e/OWNERS](https://github.com/GoogleCloudPlatform/k8s-cloud-provider/blob/master/e2e/OWNERS)~~ [kl52752] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment