Skip to content

Commit 9c53d99

Browse files
committed
Add example policy
1 parent e892095 commit 9c53d99

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# UpstreamSettingsPolicy
2+
3+
This directory contains example YAMLs for testing the UpstreamSettingsPolicy CRD. Eventually, this will be converted
4+
into a how-to-guide.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: gateway.nginx.org/v1alpha1
2+
kind: UpstreamSettingsPolicy
3+
metadata:
4+
name: upstream-settings-policy
5+
spec:
6+
zoneSize: 512k
7+
targetRefs:
8+
- group: core
9+
kind: Service
10+
name: service
11+
keepAlive:
12+
connections: 32
13+
requests: 1001
14+
time: 300s
15+
timeout: 60s

0 commit comments

Comments
 (0)