diff --git a/tests/suite/manifests/advanced-routing/cafe.yaml b/tests/suite/manifests/advanced-routing/cafe.yaml index 0c68770afc..6779a0c1af 100644 --- a/tests/suite/manifests/advanced-routing/cafe.yaml +++ b/tests/suite/manifests/advanced-routing/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -83,6 +91,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/advanced-routing/grpc-backends.yaml b/tests/suite/manifests/advanced-routing/grpc-backends.yaml index 1e8157900f..839e6f55ce 100644 --- a/tests/suite/manifests/advanced-routing/grpc-backends.yaml +++ b/tests/suite/manifests/advanced-routing/grpc-backends.yaml @@ -29,11 +29,16 @@ spec: containers: - name: grpc-infra-backend-v1 image: ghcr.io/nginx/kic-test-grpc-server:0.2.5 + ports: + - containerPort: 50051 env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name + readinessProbe: + tcpSocket: + port: 50051 resources: requests: cpu: 10m @@ -69,11 +74,16 @@ spec: containers: - name: grpc-infra-backend-v2 image: ghcr.io/nginx/kic-test-grpc-server:edge + ports: + - containerPort: 50051 env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name + readinessProbe: + tcpSocket: + port: 50051 resources: requests: cpu: 10m diff --git a/tests/suite/manifests/clientsettings/cafe.yaml b/tests/suite/manifests/clientsettings/cafe.yaml index c6bc391de5..4ea64c944a 100644 --- a/tests/suite/manifests/clientsettings/cafe.yaml +++ b/tests/suite/manifests/clientsettings/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -83,6 +91,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/clientsettings/grpc-backend.yaml b/tests/suite/manifests/clientsettings/grpc-backend.yaml index 0b57f4f1a1..320b53c33b 100644 --- a/tests/suite/manifests/clientsettings/grpc-backend.yaml +++ b/tests/suite/manifests/clientsettings/grpc-backend.yaml @@ -29,11 +29,16 @@ spec: containers: - name: grpc-backend image: ghcr.io/nginx/kic-test-grpc-server:0.2.5 + ports: + - containerPort: 50051 env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name + readinessProbe: + tcpSocket: + port: 50051 resources: requests: cpu: 10m diff --git a/tests/suite/manifests/dp-perf/coffee.yaml b/tests/suite/manifests/dp-perf/coffee.yaml index d79b9dd36a..025a7474f9 100644 --- a/tests/suite/manifests/dp-perf/coffee.yaml +++ b/tests/suite/manifests/dp-perf/coffee.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/hello-world/apps.yaml b/tests/suite/manifests/hello-world/apps.yaml index 9e0df181c8..7b27ae4eb3 100644 --- a/tests/suite/manifests/hello-world/apps.yaml +++ b/tests/suite/manifests/hello-world/apps.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -83,6 +91,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/ngf-upgrade/cafe.yaml b/tests/suite/manifests/ngf-upgrade/cafe.yaml index 9c1a83548a..6b4ac6c851 100644 --- a/tests/suite/manifests/ngf-upgrade/cafe.yaml +++ b/tests/suite/manifests/ngf-upgrade/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/reconfig/cafe.yaml b/tests/suite/manifests/reconfig/cafe.yaml index 2d03ae59ff..be4ad51a99 100644 --- a/tests/suite/manifests/reconfig/cafe.yaml +++ b/tests/suite/manifests/reconfig/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/scale/matches.yaml b/tests/suite/manifests/scale/matches.yaml index c91cd2a22c..7d9277a925 100644 --- a/tests/suite/manifests/scale/matches.yaml +++ b/tests/suite/manifests/scale/matches.yaml @@ -31,6 +31,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/scale/upstreams.yaml b/tests/suite/manifests/scale/upstreams.yaml index ecf6d2a4b5..1c9587f31c 100644 --- a/tests/suite/manifests/scale/upstreams.yaml +++ b/tests/suite/manifests/scale/upstreams.yaml @@ -51,6 +51,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/scale/zero-downtime/cafe.yaml b/tests/suite/manifests/scale/zero-downtime/cafe.yaml index 6b20eebbd5..6e2e21c92e 100644 --- a/tests/suite/manifests/scale/zero-downtime/cafe.yaml +++ b/tests/suite/manifests/scale/zero-downtime/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/snippets-filter/cafe.yaml b/tests/suite/manifests/snippets-filter/cafe.yaml index c6bc391de5..4ea64c944a 100644 --- a/tests/suite/manifests/snippets-filter/cafe.yaml +++ b/tests/suite/manifests/snippets-filter/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -83,6 +91,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/snippets-filter/grpc-backend.yaml b/tests/suite/manifests/snippets-filter/grpc-backend.yaml index 0b57f4f1a1..320b53c33b 100644 --- a/tests/suite/manifests/snippets-filter/grpc-backend.yaml +++ b/tests/suite/manifests/snippets-filter/grpc-backend.yaml @@ -29,11 +29,16 @@ spec: containers: - name: grpc-backend image: ghcr.io/nginx/kic-test-grpc-server:0.2.5 + ports: + - containerPort: 50051 env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name + readinessProbe: + tcpSocket: + port: 50051 resources: requests: cpu: 10m diff --git a/tests/suite/manifests/upstream-settings-policy/cafe.yaml b/tests/suite/manifests/upstream-settings-policy/cafe.yaml index c0466158f8..ac540953b5 100644 --- a/tests/suite/manifests/upstream-settings-policy/cafe.yaml +++ b/tests/suite/manifests/upstream-settings-policy/cafe.yaml @@ -17,6 +17,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service @@ -50,6 +54,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service diff --git a/tests/suite/manifests/upstream-settings-policy/grpc-backend.yaml b/tests/suite/manifests/upstream-settings-policy/grpc-backend.yaml index 0b57f4f1a1..320b53c33b 100644 --- a/tests/suite/manifests/upstream-settings-policy/grpc-backend.yaml +++ b/tests/suite/manifests/upstream-settings-policy/grpc-backend.yaml @@ -29,11 +29,16 @@ spec: containers: - name: grpc-backend image: ghcr.io/nginx/kic-test-grpc-server:0.2.5 + ports: + - containerPort: 50051 env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name + readinessProbe: + tcpSocket: + port: 50051 resources: requests: cpu: 10m diff --git a/tests/suite/manifests/upstream-settings-policy/invalid-target-usps.yaml b/tests/suite/manifests/upstream-settings-policy/invalid-target-usps.yaml index 8bbd25366e..74d0dd4b4f 100644 --- a/tests/suite/manifests/upstream-settings-policy/invalid-target-usps.yaml +++ b/tests/suite/manifests/upstream-settings-policy/invalid-target-usps.yaml @@ -31,6 +31,10 @@ spec: image: nginxdemos/nginx-hello:plain-text ports: - containerPort: 8080 + readinessProbe: + httpGet: + path: / + port: 8080 --- apiVersion: v1 kind: Service