Skip to content

Commit

Permalink
feat(templates): bump cluster_max_payload default to 16MB (#11090)
Browse files Browse the repository at this point in the history
* feat(templates): bump `cluster_max_payload` default to 16MB

KAG-1827

* Update kong_defaults.lua

* Update kong.conf.default

* Update CHANGELOG.md
  • Loading branch information
dndx authored Jun 22, 2023
1 parent 5c0fb37 commit 7dabdb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
from `128m` to accommodate most commonly deployed config sizes in DB-less
and Hybrid mode.
[#11047](https://github.com/Kong/kong/pull/11047)
- The default value of `cluster_max_payload` config has been bumped to `16m`
from `4m` to accommodate most commonly deployed config sizes in Hybrid mode.
[#11090](https://github.com/Kong/kong/pull/11090)

#### Status API

Expand Down
6 changes: 3 additions & 3 deletions kong.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,10 @@
# which configuration updates will be fetched,
# in `host:port` format.

#cluster_max_payload = 4194304
# This sets the maximum payload size allowed
#cluster_max_payload = 16777216
# This sets the maximum compressed payload size allowed
# to be sent across from CP to DP in Hybrid mode
# Default is 4Mb - 4 * 1024 * 1024 due to historical reasons
# Default is 16MB - 16 * 1024 * 1024.

#cluster_dp_labels = # Comma separated list of Labels for the data plane.
# Labels are key-value pairs that provide additional
Expand Down
2 changes: 1 addition & 1 deletion kong/templates/kong_defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cluster_ca_cert = NONE
cluster_server_name = NONE
cluster_data_plane_purge_delay = 1209600
cluster_ocsp = off
cluster_max_payload = 4194304
cluster_max_payload = 16777216
cluster_use_proxy = off
cluster_dp_labels = NONE
Expand Down

1 comment on commit 7dabdb5

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:7dabdb53e9bcce7b1db6a951150c35d52a6e546f
Artifacts available https://github.com/Kong/kong/actions/runs/5344962370

Please sign in to comment.