Class: Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletConfig
- Inherits:
-
Object
- Object
- Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb
Overview
Kubelet configurations of agent nodes.
Instance Attribute Summary collapse
-
#allowed_unsafe_sysctls ⇒ Array<String>
patterns (ending in ‘*`).
-
#container_log_max_files ⇒ Integer
present for a container.
-
#container_log_max_size_mb ⇒ Integer
before it is rotated.
-
#cpu_cfs_quota ⇒ Boolean
specify CPU limits.
-
#cpu_cfs_quota_period ⇒ String
Sets CPU CFS quota period value.
-
#cpu_manager_policy ⇒ String
CPU Manager policy to use.
-
#fail_swap_on ⇒ Boolean
if swap is enabled on the node.
-
#image_gc_high_threshold ⇒ Integer
collection is always run.
-
#image_gc_low_threshold ⇒ Integer
collection is never run.
-
#pod_max_pids ⇒ Integer
The maximum number of processes per pod.
-
#topology_manager_policy ⇒ String
Topology Manager policy to use.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KubeletConfig class as Ruby Hash.
Instance Attribute Details
#allowed_unsafe_sysctls ⇒ Array<String>
patterns (ending in ‘*`).
38 39 40 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 38 def allowed_unsafe_sysctls @allowed_unsafe_sysctls end |
#container_log_max_files ⇒ Integer
present for a container. The number must be ≥ 2.
50 51 52 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 50 def container_log_max_files @container_log_max_files end |
#container_log_max_size_mb ⇒ Integer
before it is rotated.
46 47 48 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 46 def container_log_max_size_mb @container_log_max_size_mb end |
#cpu_cfs_quota ⇒ Boolean
specify CPU limits.
20 21 22 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 20 def cpu_cfs_quota @cpu_cfs_quota end |
#cpu_cfs_quota_period ⇒ String
Returns Sets CPU CFS quota period value.
23 24 25 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 23 def cpu_cfs_quota_period @cpu_cfs_quota_period end |
#cpu_manager_policy ⇒ String
Returns CPU Manager policy to use.
16 17 18 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 16 def cpu_manager_policy @cpu_manager_policy end |
#fail_swap_on ⇒ Boolean
if swap is enabled on the node.
42 43 44 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 42 def fail_swap_on @fail_swap_on end |
#image_gc_high_threshold ⇒ Integer
collection is always run.
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 27 def image_gc_high_threshold @image_gc_high_threshold end |
#image_gc_low_threshold ⇒ Integer
collection is never run.
31 32 33 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 31 def image_gc_low_threshold @image_gc_low_threshold end |
#pod_max_pids ⇒ Integer
Returns The maximum number of processes per pod.
53 54 55 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 53 def pod_max_pids @pod_max_pids end |
#topology_manager_policy ⇒ String
Returns Topology Manager policy to use.
34 35 36 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 34 def topology_manager_policy @topology_manager_policy end |
Class Method Details
.mapper ⇒ Object
Mapper for KubeletConfig class as Ruby Hash. This will be used for serialization/deserialization.
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb', line 60 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KubeletConfig', type: { name: 'Composite', class_name: 'KubeletConfig', model_properties: { cpu_manager_policy: { client_side_validation: true, required: false, serialized_name: 'cpuManagerPolicy', type: { name: 'String' } }, cpu_cfs_quota: { client_side_validation: true, required: false, serialized_name: 'cpuCfsQuota', type: { name: 'Boolean' } }, cpu_cfs_quota_period: { client_side_validation: true, required: false, serialized_name: 'cpuCfsQuotaPeriod', type: { name: 'String' } }, image_gc_high_threshold: { client_side_validation: true, required: false, serialized_name: 'imageGcHighThreshold', type: { name: 'Number' } }, image_gc_low_threshold: { client_side_validation: true, required: false, serialized_name: 'imageGcLowThreshold', type: { name: 'Number' } }, topology_manager_policy: { client_side_validation: true, required: false, serialized_name: 'topologyManagerPolicy', type: { name: 'String' } }, allowed_unsafe_sysctls: { client_side_validation: true, required: false, serialized_name: 'allowedUnsafeSysctls', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, fail_swap_on: { client_side_validation: true, required: false, serialized_name: 'failSwapOn', type: { name: 'Boolean' } }, container_log_max_size_mb: { client_side_validation: true, required: false, serialized_name: 'containerLogMaxSizeMB', type: { name: 'Number' } }, container_log_max_files: { client_side_validation: true, required: false, serialized_name: 'containerLogMaxFiles', constraints: { InclusiveMinimum: 2 }, type: { name: 'Number' } }, pod_max_pids: { client_side_validation: true, required: false, serialized_name: 'podMaxPids', type: { name: 'Number' } } } } } end |