LinuxOSConfig Class

See AKS custom node configuration for more details.

Inheritance
LinuxOSConfig

Constructor

LinuxOSConfig(*, sysctls: Optional[_models.SysctlConfig] = None, transparent_huge_page_enabled: Optional[str] = None, transparent_huge_page_defrag: Optional[str] = None, swap_file_size_mb: Optional[int] = None, **kwargs)

Variables

sysctls
SysctlConfig

Sysctl settings for Linux agent nodes.

transparent_huge_page_enabled
str

Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.

transparent_huge_page_defrag
str

Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.

swap_file_size_mb
int

The size in MB of a swap file that will be created on each node.