Skip to content

Commit dfc2dd4

Browse files
mattstamFumingZhang
authored andcommitted
add KubeProxyConfig to AKS NetworkProfile (Azure#20446)
* add KubeProxyConfig to AKS NetworkProfile * remove extra comma, type: integer for *Seconds * add custom words * prettier * follow camel case ARM guidance * 2nd camel case standard
1 parent 908bf9a commit dfc2dd4

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,3 +2725,6 @@ smallrc
27252725
Autotune
27262726
autogrid
27272727
guardrailsversions
2728+
KubeProxyConfig
2729+
IPVS
2730+
TCPFIN

specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-08-02-preview/managedClusters.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3887,6 +3887,81 @@
38873887
},
38883888
"title": "The IP families used to specify IP versions available to the cluster.",
38893889
"description": "IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6."
3890+
},
3891+
"kubeProxyConfig": {
3892+
"type": "object",
3893+
"properties": {
3894+
"enabled": {
3895+
"type": "boolean",
3896+
"description": "Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by default without these customizations)."
3897+
},
3898+
"mode": {
3899+
"type": "string",
3900+
"enum": [
3901+
"IPTABLES",
3902+
"IPVS"
3903+
],
3904+
"x-ms-enum": {
3905+
"name": "mode",
3906+
"modelAsString": true,
3907+
"values": [
3908+
{
3909+
"value": "IPTABLES",
3910+
"description": "IPTables proxy mode"
3911+
},
3912+
{
3913+
"value": "IPVS",
3914+
"description": "IPVS proxy mode. Must be using Kubernetes version >= 1.22."
3915+
}
3916+
]
3917+
},
3918+
"description": "Specify which proxy mode to use ('IPTABLES' or 'IPVS')"
3919+
},
3920+
"ipvsConfig": {
3921+
"type": "object",
3922+
"properties": {
3923+
"scheduler": {
3924+
"type": "string",
3925+
"enum": [
3926+
"RoundRobin",
3927+
"LeastConnection"
3928+
],
3929+
"x-ms-enum": {
3930+
"name": "ipvsScheduler",
3931+
"modelAsString": true,
3932+
"values": [
3933+
{
3934+
"value": "RoundRobin",
3935+
"description": "Round Robin"
3936+
},
3937+
{
3938+
"value": "LeastConnection",
3939+
"description": "Least Connection"
3940+
}
3941+
]
3942+
},
3943+
"description": "IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html."
3944+
},
3945+
"tcpTimeoutSeconds": {
3946+
"type": "integer",
3947+
"format": "int32",
3948+
"description": "The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value."
3949+
},
3950+
"tcpFinTimeoutSeconds": {
3951+
"type": "integer",
3952+
"format": "int32",
3953+
"description": "The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive integer value."
3954+
},
3955+
"udpTimeoutSeconds": {
3956+
"type": "integer",
3957+
"format": "int32",
3958+
"description": "The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value."
3959+
}
3960+
},
3961+
"description": "Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'."
3962+
}
3963+
},
3964+
"description": "Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy defaulting behavior. See https://v<version>.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ where <version> is represented by a <major version>-<minor version> string. Kubernetes version 1.23 would be '1-23'."
38903965
}
38913966
},
38923967
"description": "Profile of network configuration."

0 commit comments

Comments
 (0)