You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist."
Block IO weight (relative device weight) in the form `[{"Path": "device_path", "Weight": weight}]`.
@@ -2586,6 +2574,7 @@ definitions:
2586
2574
description: "An integer value representing this container's relative CPU weight versus other containers."
2587
2575
type: "integer"
2588
2576
x-nullable: false
2577
+
x-omitempty: false
2589
2578
CpuPeriod:
2590
2579
description: |
2591
2580
CPU CFS (Completely Fair Scheduler) period.
@@ -2595,6 +2584,7 @@ definitions:
2595
2584
minimum: 1000
2596
2585
maximum: 1000000
2597
2586
x-nullable: false
2587
+
x-omitempty: false
2598
2588
CpuQuota:
2599
2589
description: |
2600
2590
CPU CFS (Completely Fair Scheduler) quota.
@@ -2603,25 +2593,30 @@ definitions:
2603
2593
format: "int64"
2604
2594
minimum: 1000
2605
2595
x-nullable: false
2596
+
x-omitempty: false
2606
2597
CpuRealtimePeriod:
2607
2598
description: "The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks."
2608
2599
type: "integer"
2609
2600
format: "int64"
2610
2601
x-nullable: false
2602
+
x-omitempty: false
2611
2603
CpuRealtimeRuntime:
2612
2604
description: "The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks."
2613
2605
type: "integer"
2614
2606
format: "int64"
2615
2607
x-nullable: false
2608
+
x-omitempty: false
2616
2609
CpusetCpus:
2617
2610
description: "CPUs in which to allow execution (e.g., `0-3`, `0,1`)"
2618
2611
type: "string"
2619
2612
example: "0-3"
2620
2613
x-nullable: false
2614
+
x-omitempty: false
2621
2615
CpusetMems:
2622
2616
description: "Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems."
2623
2617
type: "string"
2624
2618
x-nullable: false
2619
+
x-omitempty: false
2625
2620
Devices:
2626
2621
description: "A list of devices to add to the container."
2627
2622
type: "array"
@@ -2638,42 +2633,50 @@ definitions:
2638
2633
type: "integer"
2639
2634
format: "int64"
2640
2635
x-nullable: false
2636
+
x-omitempty: false
2641
2637
Memory:
2642
2638
description: "Memory limit in bytes."
2643
2639
type: "integer"
2644
2640
default: 0
2645
2641
x-nullable: false
2642
+
x-omitempty: false
2646
2643
MemoryReservation:
2647
2644
description: "Memory soft limit in bytes."
2648
2645
type: "integer"
2649
2646
format: "int64"
2650
2647
x-nullable: false
2648
+
x-omitempty: false
2651
2649
MemorySwap:
2652
2650
description: "Total memory limit (memory + swap). Set as `-1` to enable unlimited swap."
2653
2651
type: "integer"
2654
2652
format: "int64"
2655
2653
x-nullable: false
2654
+
x-omitempty: false
2656
2655
MemorySwappiness:
2657
2656
description: "Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100."
2658
2657
type: "integer"
2659
2658
format: "int64"
2660
2659
minimum: 0
2661
2660
maximum: 100
2661
+
x-omitempty: false
2662
2662
NanoCpus:
2663
2663
description: "CPU quota in units of 10<sup>-9</sup> CPUs."
2664
2664
type: "integer"
2665
2665
format: "int64"
2666
2666
x-nullable: false
2667
+
x-omitempty: false
2667
2668
OomKillDisable:
2668
2669
description: "Disable OOM Killer for the container."
2669
2670
type: "boolean"
2670
2671
x-nullable: true
2672
+
x-omitempty: false
2671
2673
PidsLimit:
2672
2674
description: |
2673
2675
Tune a container's pids limit. Set -1 for unlimited. Only on Linux 4.4 does this parameter support.
2674
2676
type: "integer"
2675
2677
format: "int64"
2676
2678
x-nullable: false
2679
+
x-omitempty: false
2677
2680
Ulimits:
2678
2681
description: |
2679
2682
A list of resource limits to set in the container. For example: `{"Name": "nofile", "Soft": 1024, "Hard": 2048}`"
@@ -2688,27 +2691,32 @@ definitions:
2688
2691
type: "integer"
2689
2692
format: "int64"
2690
2693
x-nullable: false
2694
+
x-omitempty: false
2691
2695
CpuPercent:
2692
2696
description: |
2693
2697
The usable percentage of the available CPUs (Windows only).
2694
2698
On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
2695
2699
type: "integer"
2696
2700
format: "int64"
2697
2701
x-nullable: false
2702
+
x-omitempty: false
2698
2703
IOMaximumIOps:
2699
2704
description: "Maximum IOps for the container system drive (Windows only)"
2700
2705
type: "integer"
2701
2706
format: "uint64"
2702
2707
x-nullable: false
2708
+
x-omitempty: false
2703
2709
IOMaximumBandwidth:
2704
2710
description: "Maximum IO in bytes per second for the container system drive (Windows only)"
2705
2711
type: "integer"
2706
2712
format: "uint64"
2707
2713
x-nullable: false
2714
+
x-omitempty: false
2708
2715
IntelRdtL3Cbm:
2709
2716
description: "IntelRdtL3Cbm specifies settings for Intel RDT/CAT group that the container is placed into to limit the resources (e.g., L3 cache) the container has available."
2710
2717
type: "string"
2711
2718
x-nullable: false
2719
+
x-omitempty: false
2712
2720
2713
2721
# applicable to AliKenerl 4.9
2714
2722
ScheLatSwitch:
@@ -2718,6 +2726,7 @@ definitions:
2718
2726
minimum: 0
2719
2727
maximum: 1
2720
2728
x-nullable: false
2729
+
x-omitempty: false
2721
2730
MemoryWmarkRatio:
2722
2731
description: |
2723
2732
MemoryWmarkRatio is an integer value representing this container's memory low water mark percentage.
@@ -2727,6 +2736,7 @@ definitions:
2727
2736
x-nullable: true
2728
2737
minimum: 0
2729
2738
maximum: 100
2739
+
x-omitempty: false
2730
2740
MemoryExtra:
2731
2741
description: |
2732
2742
MemoryExtra is an integer value representing this container's memory high water mark percentage.
@@ -2736,13 +2746,15 @@ definitions:
2736
2746
x-nullable: true
2737
2747
minimum: 0
2738
2748
maximum: 100
2749
+
x-omitempty: false
2739
2750
MemoryForceEmptyCtl:
2740
2751
description: "MemoryForceEmptyCtl represents whether to reclaim the page cache when deleting cgroup."
0 commit comments