Skip to content

Commit

Permalink
fix: remove ulimits from swagger spec (#24921)
Browse files Browse the repository at this point in the history
Co-authored-by: Mikolaj Umanski <[email protected]>
  • Loading branch information
2 people authored and FumingZhang committed Jul 21, 2023
1 parent 05450f2 commit a8e7aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@
},
"transparentHugePageEnabled": "always",
"transparentHugePageDefrag": "madvise",
"swapFileSizeMB": 1500,
"ulimits": {
"maxLockedMemory": "infinity",
"noFile": "1000"
}
"swapFileSizeMB": 1500
}
}
}
Expand Down Expand Up @@ -78,11 +74,7 @@
},
"transparentHugePageEnabled": "always",
"transparentHugePageDefrag": "madvise",
"swapFileSizeMB": 1500,
"ulimits": {
"noFile": "1000",
"maxLockedMemory": "infinity"
}
"swapFileSizeMB": 1500
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6530,10 +6530,6 @@
"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."
}
}
},
Expand Down Expand Up @@ -6730,20 +6726,6 @@
}
}
},
"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",
Expand Down

0 comments on commit a8e7aaf

Please sign in to comment.