Skip to content

Contour leader doesn't update endpoints in xDS cache after upstream pods recreation #6743

Closed
@philimonoff

Description

@philimonoff

What steps did you take and what happened:

  1. There is something about 8000 httpproxy objects with same ingressclass.
  2. There are 2 contour pods (leader and replica) and four envoy pods (daemonset).
  3. We recreate pods of application, that are upstreams of corresponding envoy cluster.
  4. After recreating of these pods, contour-replica has ip addresses of new pods as endpoints for this envoy cluster in eDS (via contour cli).
  5. Contour-leader has ip addresses of old (deleted) pods as endpoints for this envoy cluster in eDS (via contour cli).
  6. Envoy pods connected to contour leader pod return 503 error for requests to corresponding hosts.
  7. Envoy pods connected to contour replica pod serves requests correctly.
  8. Recreating of contour pods fixes this problem for a while.

What did you expect to happen:

Leader pod updates it's state after app's pod recreation.

Anything else you would like to add:

Environment:

  • Contour version: 1.29.2
  • Kubernetes version: (use kubectl version): 1.25.16, 1.27.16
  • Kubernetes installer & version: kops 1.26.5, kubeadm 1.27.16
  • Cloud provider or hardware configuration: AWS, Openstack
  • OS (e.g. from /etc/os-release): Ubuntu 24.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions