Skip to content

Commit

Permalink
Add example policy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjee19 committed Sep 10, 2024
1 parent e892095 commit 9c53d99
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/upstream-settings-policy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# UpstreamSettingsPolicy

This directory contains example YAMLs for testing the UpstreamSettingsPolicy CRD. Eventually, this will be converted
into a how-to-guide.
15 changes: 15 additions & 0 deletions examples/upstream-settings-policy/upstream-settings-policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: gateway.nginx.org/v1alpha1
kind: UpstreamSettingsPolicy
metadata:
name: upstream-settings-policy
spec:
zoneSize: 512k
targetRefs:
- group: core
kind: Service
name: service
keepAlive:
connections: 32
requests: 1001
time: 300s
timeout: 60s

0 comments on commit 9c53d99

Please sign in to comment.