diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json index de43307bd2f6..8b893fcb6c41 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json @@ -33,7 +33,11 @@ }, "transparentHugePageEnabled": "always", "transparentHugePageDefrag": "madvise", - "swapFileSizeMB": 1500 + "swapFileSizeMB": 1500, + "ulimits": { + "maxLockedMemory": "infinity", + "noFile": "1000" + } } } } @@ -74,7 +78,11 @@ }, "transparentHugePageEnabled": "always", "transparentHugePageDefrag": "madvise", - "swapFileSizeMB": 1500 + "swapFileSizeMB": 1500, + "ulimits": { + "noFile": "1000", + "maxLockedMemory": "infinity" + } } } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json index b14aa9c0d1e4..e004a27af325 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json @@ -6522,6 +6522,10 @@ "type": "integer", "format": "int32", "description": "The size in MB of a swap file that will be created on each node." + }, + "ulimits": { + "$ref": "#/definitions/UlimitConfig", + "description": "Ulimit settings for Linux agent nodes." } } }, @@ -6635,6 +6639,8 @@ "netIpv4TcpkeepaliveIntvl": { "type": "integer", "format": "int32", + "minimum": 10, + "maximum": 90, "description": "Sysctl setting net.ipv4.tcp_keepalive_intvl." }, "netIpv4TcpTwReuse": { @@ -6663,11 +6669,15 @@ "netNetfilterNfConntrackMax": { "type": "integer", "format": "int32", + "minimum": 131072, + "maximum": 2097152, "description": "Sysctl setting net.netfilter.nf_conntrack_max." }, "netNetfilterNfConntrackBuckets": { "type": "integer", "format": "int32", + "minimum": 65536, + "maximum": 524288, "description": "Sysctl setting net.netfilter.nf_conntrack_buckets." }, "fsInotifyMaxUserWatches": { @@ -6712,6 +6722,20 @@ } } }, + "UlimitConfig": { + "description": "Ulimit settings for Linux agent nodes", + "type": "object", + "properties": { + "maxLockedMemory": { + "type": "string", + "description": "Maximum locked-in-memory address space (KB)" + }, + "noFile": { + "type": "string", + "description": "Maximum number of open files" + } + } + }, "ManagedClusterHTTPProxyConfig": { "description": "Cluster HTTP proxy configuration.", "type": "object",