Skip to content

Commit 145619a

Browse files
authored
[AKS] update idletimeout to 100 minutes (Azure#2539)
* update idletimeout to 100 minutes * bump version * revert version
1 parent df8e166 commit 145619a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/aks-preview/azext_aks_preview/_help.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
- name: --load-balancer-idle-timeout
148148
type: int
149149
short-summary: Load balancer idle timeout in minutes.
150-
long-summary: Desired idle timeout for load balancer outbound flows, default is 30 minutes. Please specify a value in the range of [4, 120].
150+
long-summary: Desired idle timeout for load balancer outbound flows, default is 30 minutes. Please specify a value in the range of [4, 100].
151151
- name: --outbound-type
152152
type: string
153153
short-summary: How outbound traffic will be configured for a cluster.
@@ -381,7 +381,7 @@
381381
- name: --load-balancer-idle-timeout
382382
type: int
383383
short-summary: Load balancer idle timeout in minutes.
384-
long-summary: Desired idle timeout for load balancer outbound flows, default is 30 minutes. Please specify a value in the range of [4, 120].
384+
long-summary: Desired idle timeout for load balancer outbound flows, default is 30 minutes. Please specify a value in the range of [4, 100].
385385
- name: --enable-pod-security-policy
386386
type: bool
387387
short-summary: (PREVIEW) Enable pod security policy.

src/aks-preview/azext_aks_preview/_validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def validate_load_balancer_outbound_ports(namespace):
254254
def validate_load_balancer_idle_timeout(namespace):
255255
"""validate load balancer profile idle timeout"""
256256
if namespace.load_balancer_idle_timeout is not None:
257-
if namespace.load_balancer_idle_timeout < 4 or namespace.load_balancer_idle_timeout > 120:
258-
raise CLIError("--load-balancer-idle-timeout must be in the range [4,120]")
257+
if namespace.load_balancer_idle_timeout < 4 or namespace.load_balancer_idle_timeout > 100:
258+
raise CLIError("--load-balancer-idle-timeout must be in the range [4,100]")
259259

260260

261261
def validate_nodepool_tags(ns):

0 commit comments

Comments
 (0)