-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: graceful envoy shutdown (#2839)
* start shutdown test Signed-off-by: Guy Daich <guy.daich@sap.com> * use multiple test suites to isolate test Signed-off-by: Guy Daich <guy.daich@sap.com> * fix lint Signed-off-by: Guy Daich <guy.daich@sap.com> * rollout deployment using patch Signed-off-by: Guy Daich <guy.daich@sap.com> * move gateway to test manifests Signed-off-by: Guy Daich <guy.daich@sap.com> * use dedicated manifests and suite Signed-off-by: Guy Daich <guy.daich@sap.com> * update the existing ugprade suite and delete other GWCs before runnig upgrade tests Signed-off-by: Guy Daich <guy.daich@sap.com> * delete conformane resources before running upgrade suite Signed-off-by: Guy Daich <guy.daich@sap.com> * fix cleanup Signed-off-by: Guy Daich <guy.daich@sap.com> * use base manifests after multiple GWC fixes Signed-off-by: Guy Daich <guy.daich@sap.com> * fix lint Signed-off-by: Guy Daich <guy.daich@sap.com> --------- Signed-off-by: Guy Daich <guy.daich@sap.com>
- Loading branch information
Showing
12 changed files
with
382 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,16 @@ | ||
apiVersion: gateway.envoyproxy.io/v1alpha1 | ||
kind: BackendTrafficPolicy | ||
metadata: | ||
name: eg-upgrade-example | ||
namespace: gateway-conformance-infra | ||
spec: | ||
targetRef: | ||
group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
name: http-backend-eg-upgrade | ||
namespace: gateway-conformance-infra | ||
circuitBreaker: | ||
maxParallelRequests: 10000 | ||
maxConnections: 10000 | ||
maxPendingRequests: 10000 | ||
retry: | ||
retryOn: | ||
triggers: | ||
- connect-failure | ||
- reset | ||
numRetries: 10 | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: http-backend-eg-upgrade | ||
namespace: gateway-conformance-infra | ||
namespace: gateway-upgrade-infra | ||
spec: | ||
parentRefs: | ||
- name: same-namespace | ||
- name: ha-gateway | ||
rules: | ||
- matches: | ||
- path: | ||
type: PathPrefix | ||
value: /backend-upgrade | ||
backendRefs: | ||
- name: infra-backend-v1 | ||
port: 8080 | ||
- matches: | ||
- path: | ||
type: PathPrefix | ||
value: /eg-upgrade | ||
backendRefs: | ||
- name: infra-backend | ||
port: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: http-envoy-shutdown | ||
namespace: gateway-upgrade-infra | ||
spec: | ||
parentRefs: | ||
- name: ha-gateway | ||
rules: | ||
- matches: | ||
- path: | ||
type: PathPrefix | ||
value: /envoy-shutdown | ||
backendRefs: | ||
- name: infra-backend | ||
port: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.