@sig-network @conformance @release-1.19

Feature: Load Balancing

An Ingress exposing a backend service with multiple replicas should use all the pods available The feature sessionAffinity is not configured in the backend service https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#service-v1-core

Scenarios
Status Progress

Passed

100.00%

Failed

0.00%
check_circle
Given 0s a new random namespace
check_circle
Given 5s an Ingress resource named load-balancing with this spec: +Show Parameter
defaultBackend:
service:
name: echo-service
port:
number: 8080
check_circle
Then 5s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
Then 1m10s The backend deployment echo-service for the ingress resource is scaled to 10
check_circle
When 0s I send 100 requests to http://load-balancing
check_circle
Then 0s all the responses status-code must be 200 and the response body should contain the IP address of 10 different Kubernetes pods