Skip to content

Commit

Permalink
Update zone size for transportserver resource (#5199)
Browse files Browse the repository at this point in the history
* Update zone size for transportserver resource

* Update test for zone size for transportserver resource
  • Loading branch information
AlexFenlon authored Mar 5, 2024
1 parent 2c30dc3 commit 5231bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/configs/version1/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2436,7 +2436,7 @@ var (

var testUpstream = Upstream{
Name: "test",
UpstreamZoneSize: "256k",
UpstreamZoneSize: "512k",
UpstreamServers: []UpstreamServer{
{
Address: "127.0.0.1:8181",
Expand Down
2 changes: 1 addition & 1 deletion internal/configs/version2/nginx-plus.transportserver.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- /*gotype: github.com/nginxinc/kubernetes-ingress/internal/configs/version2.TransportServerConfig*/ -}}
{{- range $u := .Upstreams }}
upstream {{ $u.Name }} {
zone {{ $u.Name }} 256k;
zone {{ $u.Name }} 512k;
{{- if $u.LoadBalancingMethod }}
{{ $u.LoadBalancingMethod }};
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion internal/configs/version2/nginx.transportserver.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- /*gotype: github.com/nginxinc/kubernetes-ingress/internal/configs/version2.TransportServerConfig*/ -}}
{{- range $u := .Upstreams }}
upstream {{ $u.Name }} {
zone {{ $u.Name }} 256k;
zone {{ $u.Name }} 512k;
{{- if $u.LoadBalancingMethod }}
{{ $u.LoadBalancingMethod }};
{{- end }}
Expand Down

0 comments on commit 5231bac

Please sign in to comment.