@sig-network @conformance @release-1.22

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 5s an Ingress resource in a new random namespace +Show Parameter
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: path-rules
spec:
rules:
- host: "load-balancing"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: echo-service
port:
number: 8080
check_circle
Then 6s The Ingress status shows the IP address or FQDN where it is exposed
check_circle
Then 1m15s 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