瀏覽代碼

docs: add missing KernelMemoryTCP to api v1.40 and v1.41

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 3 年之前
父節點
當前提交
9f3c238c29
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. 8 0
      docs/api/v1.40.yaml
  2. 8 0
      docs/api/v1.41.yaml

+ 8 - 0
docs/api/v1.40.yaml

@@ -4346,6 +4346,14 @@ definitions:
         description: "Indicates if the host has kernel memory limit support enabled."
         type: "boolean"
         example: true
+      KernelMemoryTCP:
+        description: |
+          Indicates if the host has kernel memory TCP limit support enabled.
+
+          Kernel memory TCP limits are not supported when using cgroups v2, which
+          does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup.
+        type: "boolean"
+        example: true
       CpuCfsPeriod:
         description: |
           Indicates if CPU CFS(Completely Fair Scheduler) period is supported by

+ 8 - 0
docs/api/v1.41.yaml

@@ -4467,6 +4467,14 @@ definitions:
           > `kmem.limit_in_bytes`.
         type: "boolean"
         example: true
+      KernelMemoryTCP:
+        description: |
+          Indicates if the host has kernel memory TCP limit support enabled.
+
+          Kernel memory TCP limits are not supported when using cgroups v2, which
+          does not support the corresponding `memory.kmem.tcp.limit_in_bytes` cgroup.
+        type: "boolean"
+        example: true
       CpuCfsPeriod:
         description: |
           Indicates if CPU CFS(Completely Fair Scheduler) period is supported by