diff --git a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/shenyu-deployment-h2.yml b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/shenyu-deployment-h2.yml index e418f6a478370..05ab90acd29d3 100644 --- a/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/shenyu-deployment-h2.yml +++ b/shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-http/k8s/shenyu-deployment-h2.yml @@ -42,7 +42,7 @@ spec: ports: - containerPort: 9095 livenessProbe: - initialDelaySeconds: 10 + initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 5 successThreshold: 1 @@ -51,16 +51,14 @@ spec: port: 9095 path: /actuator/health readinessProbe: - initialDelaySeconds: 10 + initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 - tcpSocket: + httpGet: port: 9095 - # httpGet: - # port: 9095 - # path: /actuator/health + path: /actuator/health imagePullPolicy: IfNotPresent restartPolicy: Always @@ -97,7 +95,7 @@ spec: imagePullPolicy: IfNotPresent livenessProbe: initialDelaySeconds: 30 - periodSeconds: 10 + periodSeconds: 5 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 @@ -105,8 +103,8 @@ spec: port: 9195 path: /actuator/health readinessProbe: - initialDelaySeconds: 10 - periodSeconds: 10 + initialDelaySeconds: 30 + periodSeconds: 5 timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3