Browse Source

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 3 years ago
parent
commit
9f3c238c29
2 changed files with 16 additions and 0 deletions
  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."
         description: "Indicates if the host has kernel memory limit support enabled."
         type: "boolean"
         type: "boolean"
         example: true
         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:
       CpuCfsPeriod:
         description: |
         description: |
           Indicates if CPU CFS(Completely Fair Scheduler) period is supported by
           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`.
           > `kmem.limit_in_bytes`.
         type: "boolean"
         type: "boolean"
         example: true
         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:
       CpuCfsPeriod:
         description: |
         description: |
           Indicates if CPU CFS(Completely Fair Scheduler) period is supported by
           Indicates if CPU CFS(Completely Fair Scheduler) period is supported by