Skip to content

Ingress controller dropping websocket connections when performing backend reload #2461

Closed
@AssafShaikevich

Description

@AssafShaikevich

NGINX Ingress controller version: 0.12.0 and 0.14.0

Kubernetes version (use kubectl version): v1.8.0

Environment: aws with elb

  • Cloud provider or hardware configuration: aws m4 medium
  • OS (e.g. from /etc/os-release):16.04.1 LTS
  • Kernel (e.g. uname -a): 4.4.0-119-generic x86_64 GNU/Linux
  • Install tools: kops
  • Others:

What happened: Ingress controller dropping websocket connections when performing backend reload

What you expected to happen: Websockets should be left connected to the target server

How to reproduce it (as minimally and precisely as possible):
Load a simple websocket service into k8s and create ingress rule for it
open a websocket client and connect (for example - https://websocket.org/echo.html )
Cause ingress to perform reload backend (for example add or delete an ingress rule)

Anything else we need to know:
I verified this with 0.12 and 0.14 versions .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions