-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc2ed96
commit 372b7fd
Showing
11 changed files
with
336 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Client Settings Policy | ||
|
||
This directory contains YAML files of ClientSettingsPolicies. | ||
This directory contains the YAML files used in the [ClientSettingsPolicy](https://docs.nginx.com/nginx-gateway-fabric/how-to/traffic-management/client-settings/) guide. |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 2 additions & 10 deletions
12
...s/client-settings-policy/csp-gateway.yaml → ...tings-policy/gateway-client-settings.yaml
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,19 +1,11 @@ | ||
apiVersion: gateway.nginx.org/v1alpha1 | ||
kind: ClientSettingsPolicy | ||
metadata: | ||
name: gw | ||
namespace: default | ||
name: gateway-client-settings | ||
spec: | ||
targetRef: | ||
group: gateway.networking.k8s.io | ||
kind: Gateway | ||
name: gateway | ||
body: | ||
maxSize: 10m | ||
timeout: 30s | ||
keepAlive: | ||
requests: 100 | ||
time: 5s | ||
timeout: | ||
server: 2s | ||
header: 1s | ||
maxSize: "50" # sizes without a unit are bytes. |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: gateway.nginx.org/v1alpha1 | ||
kind: ClientSettingsPolicy | ||
metadata: | ||
name: grpc-client-settings | ||
spec: | ||
targetRef: | ||
group: gateway.networking.k8s.io | ||
kind: GRPCRoute | ||
name: my-grpc-route | ||
body: | ||
maxSize: "75" # sizes without a unit are bytes. |
File renamed without changes.
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,11 @@ | ||
apiVersion: gateway.nginx.org/v1alpha1 | ||
kind: ClientSettingsPolicy | ||
metadata: | ||
name: tea-client-settings | ||
spec: | ||
targetRef: | ||
group: gateway.networking.k8s.io | ||
kind: HTTPRoute | ||
name: tea | ||
body: | ||
maxSize: "75" # sizes without a unit are bytes. |
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.