Interface LinuxNodeConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LinuxNodeConfig, LinuxNodeConfig.Builder

@Generated public interface LinuxNodeConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSysctlsCount

      int getSysctlsCount()
       The Linux kernel parameters to be applied to the nodes and all pods running
       on the nodes.
      
       The following parameters are supported.
      
       net.core.busy_poll
       net.core.busy_read
       net.core.netdev_max_backlog
       net.core.rmem_max
       net.core.rmem_default
       net.core.wmem_default
       net.core.wmem_max
       net.core.optmem_max
       net.core.somaxconn
       net.ipv4.neigh.default.gc_thresh1
       net.ipv4.neigh.default.gc_thresh2
       net.ipv4.neigh.default.gc_thresh3
       net.ipv4.tcp_rmem
       net.ipv4.tcp_wmem
       net.ipv4.tcp_tw_reuse
       net.ipv4.tcp_mtu_probing
       net.ipv4.tcp_max_orphans
       net.ipv4.tcp_max_tw_buckets
       net.ipv4.tcp_syn_retries
       net.ipv4.tcp_ecn
       net.ipv4.tcp_congestion_control
       net.netfilter.nf_conntrack_max
       net.netfilter.nf_conntrack_buckets
       net.netfilter.nf_conntrack_tcp_timeout_close_wait
       net.netfilter.nf_conntrack_tcp_timeout_time_wait
       net.netfilter.nf_conntrack_tcp_timeout_established
       net.netfilter.nf_conntrack_acct
       kernel.keys.maxkeys
       kernel.keys.maxbytes
       kernel.shmmni
       kernel.shmmax
       kernel.shmall
       kernel.perf_event_paranoid
       kernel.sched_rt_runtime_us
       kernel.softlockup_panic
       kernel.yama.ptrace_scope
       kernel.kptr_restrict
       kernel.dmesg_restrict
       kernel.sysrq
       fs.aio-max-nr
       fs.file-max
       fs.inotify.max_user_instances
       fs.inotify.max_user_watches
       fs.nr_open
       vm.dirty_background_ratio
       vm.dirty_background_bytes
       vm.dirty_expire_centisecs
       vm.dirty_ratio
       vm.dirty_bytes
       vm.dirty_writeback_centisecs
       vm.max_map_count
       vm.overcommit_memory
       vm.overcommit_ratio
       vm.vfs_cache_pressure
       vm.swappiness
       vm.watermark_scale_factor
       vm.min_free_kbytes
       
      map<string, string> sysctls = 1;
    • containsSysctls

      boolean containsSysctls(String key)
       The Linux kernel parameters to be applied to the nodes and all pods running
       on the nodes.
      
       The following parameters are supported.
      
       net.core.busy_poll
       net.core.busy_read
       net.core.netdev_max_backlog
       net.core.rmem_max
       net.core.rmem_default
       net.core.wmem_default
       net.core.wmem_max
       net.core.optmem_max
       net.core.somaxconn
       net.ipv4.neigh.default.gc_thresh1
       net.ipv4.neigh.default.gc_thresh2
       net.ipv4.neigh.default.gc_thresh3
       net.ipv4.tcp_rmem
       net.ipv4.tcp_wmem
       net.ipv4.tcp_tw_reuse
       net.ipv4.tcp_mtu_probing
       net.ipv4.tcp_max_orphans
       net.ipv4.tcp_max_tw_buckets
       net.ipv4.tcp_syn_retries
       net.ipv4.tcp_ecn
       net.ipv4.tcp_congestion_control
       net.netfilter.nf_conntrack_max
       net.netfilter.nf_conntrack_buckets
       net.netfilter.nf_conntrack_tcp_timeout_close_wait
       net.netfilter.nf_conntrack_tcp_timeout_time_wait
       net.netfilter.nf_conntrack_tcp_timeout_established
       net.netfilter.nf_conntrack_acct
       kernel.keys.maxkeys
       kernel.keys.maxbytes
       kernel.shmmni
       kernel.shmmax
       kernel.shmall
       kernel.perf_event_paranoid
       kernel.sched_rt_runtime_us
       kernel.softlockup_panic
       kernel.yama.ptrace_scope
       kernel.kptr_restrict
       kernel.dmesg_restrict
       kernel.sysrq
       fs.aio-max-nr
       fs.file-max
       fs.inotify.max_user_instances
       fs.inotify.max_user_watches
       fs.nr_open
       vm.dirty_background_ratio
       vm.dirty_background_bytes
       vm.dirty_expire_centisecs
       vm.dirty_ratio
       vm.dirty_bytes
       vm.dirty_writeback_centisecs
       vm.max_map_count
       vm.overcommit_memory
       vm.overcommit_ratio
       vm.vfs_cache_pressure
       vm.swappiness
       vm.watermark_scale_factor
       vm.min_free_kbytes
       
      map<string, string> sysctls = 1;
    • getSysctls

      @Deprecated Map<String,String> getSysctls()
      Deprecated.
      Use getSysctlsMap() instead.
    • getSysctlsMap

      Map<String,String> getSysctlsMap()
       The Linux kernel parameters to be applied to the nodes and all pods running
       on the nodes.
      
       The following parameters are supported.
      
       net.core.busy_poll
       net.core.busy_read
       net.core.netdev_max_backlog
       net.core.rmem_max
       net.core.rmem_default
       net.core.wmem_default
       net.core.wmem_max
       net.core.optmem_max
       net.core.somaxconn
       net.ipv4.neigh.default.gc_thresh1
       net.ipv4.neigh.default.gc_thresh2
       net.ipv4.neigh.default.gc_thresh3
       net.ipv4.tcp_rmem
       net.ipv4.tcp_wmem
       net.ipv4.tcp_tw_reuse
       net.ipv4.tcp_mtu_probing
       net.ipv4.tcp_max_orphans
       net.ipv4.tcp_max_tw_buckets
       net.ipv4.tcp_syn_retries
       net.ipv4.tcp_ecn
       net.ipv4.tcp_congestion_control
       net.netfilter.nf_conntrack_max
       net.netfilter.nf_conntrack_buckets
       net.netfilter.nf_conntrack_tcp_timeout_close_wait
       net.netfilter.nf_conntrack_tcp_timeout_time_wait
       net.netfilter.nf_conntrack_tcp_timeout_established
       net.netfilter.nf_conntrack_acct
       kernel.keys.maxkeys
       kernel.keys.maxbytes
       kernel.shmmni
       kernel.shmmax
       kernel.shmall
       kernel.perf_event_paranoid
       kernel.sched_rt_runtime_us
       kernel.softlockup_panic
       kernel.yama.ptrace_scope
       kernel.kptr_restrict
       kernel.dmesg_restrict
       kernel.sysrq
       fs.aio-max-nr
       fs.file-max
       fs.inotify.max_user_instances
       fs.inotify.max_user_watches
       fs.nr_open
       vm.dirty_background_ratio
       vm.dirty_background_bytes
       vm.dirty_expire_centisecs
       vm.dirty_ratio
       vm.dirty_bytes
       vm.dirty_writeback_centisecs
       vm.max_map_count
       vm.overcommit_memory
       vm.overcommit_ratio
       vm.vfs_cache_pressure
       vm.swappiness
       vm.watermark_scale_factor
       vm.min_free_kbytes
       
      map<string, string> sysctls = 1;
    • getSysctlsOrDefault

      String getSysctlsOrDefault(String key, String defaultValue)
       The Linux kernel parameters to be applied to the nodes and all pods running
       on the nodes.
      
       The following parameters are supported.
      
       net.core.busy_poll
       net.core.busy_read
       net.core.netdev_max_backlog
       net.core.rmem_max
       net.core.rmem_default
       net.core.wmem_default
       net.core.wmem_max
       net.core.optmem_max
       net.core.somaxconn
       net.ipv4.neigh.default.gc_thresh1
       net.ipv4.neigh.default.gc_thresh2
       net.ipv4.neigh.default.gc_thresh3
       net.ipv4.tcp_rmem
       net.ipv4.tcp_wmem
       net.ipv4.tcp_tw_reuse
       net.ipv4.tcp_mtu_probing
       net.ipv4.tcp_max_orphans
       net.ipv4.tcp_max_tw_buckets
       net.ipv4.tcp_syn_retries
       net.ipv4.tcp_ecn
       net.ipv4.tcp_congestion_control
       net.netfilter.nf_conntrack_max
       net.netfilter.nf_conntrack_buckets
       net.netfilter.nf_conntrack_tcp_timeout_close_wait
       net.netfilter.nf_conntrack_tcp_timeout_time_wait
       net.netfilter.nf_conntrack_tcp_timeout_established
       net.netfilter.nf_conntrack_acct
       kernel.keys.maxkeys
       kernel.keys.maxbytes
       kernel.shmmni
       kernel.shmmax
       kernel.shmall
       kernel.perf_event_paranoid
       kernel.sched_rt_runtime_us
       kernel.softlockup_panic
       kernel.yama.ptrace_scope
       kernel.kptr_restrict
       kernel.dmesg_restrict
       kernel.sysrq
       fs.aio-max-nr
       fs.file-max
       fs.inotify.max_user_instances
       fs.inotify.max_user_watches
       fs.nr_open
       vm.dirty_background_ratio
       vm.dirty_background_bytes
       vm.dirty_expire_centisecs
       vm.dirty_ratio
       vm.dirty_bytes
       vm.dirty_writeback_centisecs
       vm.max_map_count
       vm.overcommit_memory
       vm.overcommit_ratio
       vm.vfs_cache_pressure
       vm.swappiness
       vm.watermark_scale_factor
       vm.min_free_kbytes
       
      map<string, string> sysctls = 1;
    • getSysctlsOrThrow

      String getSysctlsOrThrow(String key)
       The Linux kernel parameters to be applied to the nodes and all pods running
       on the nodes.
      
       The following parameters are supported.
      
       net.core.busy_poll
       net.core.busy_read
       net.core.netdev_max_backlog
       net.core.rmem_max
       net.core.rmem_default
       net.core.wmem_default
       net.core.wmem_max
       net.core.optmem_max
       net.core.somaxconn
       net.ipv4.neigh.default.gc_thresh1
       net.ipv4.neigh.default.gc_thresh2
       net.ipv4.neigh.default.gc_thresh3
       net.ipv4.tcp_rmem
       net.ipv4.tcp_wmem
       net.ipv4.tcp_tw_reuse
       net.ipv4.tcp_mtu_probing
       net.ipv4.tcp_max_orphans
       net.ipv4.tcp_max_tw_buckets
       net.ipv4.tcp_syn_retries
       net.ipv4.tcp_ecn
       net.ipv4.tcp_congestion_control
       net.netfilter.nf_conntrack_max
       net.netfilter.nf_conntrack_buckets
       net.netfilter.nf_conntrack_tcp_timeout_close_wait
       net.netfilter.nf_conntrack_tcp_timeout_time_wait
       net.netfilter.nf_conntrack_tcp_timeout_established
       net.netfilter.nf_conntrack_acct
       kernel.keys.maxkeys
       kernel.keys.maxbytes
       kernel.shmmni
       kernel.shmmax
       kernel.shmall
       kernel.perf_event_paranoid
       kernel.sched_rt_runtime_us
       kernel.softlockup_panic
       kernel.yama.ptrace_scope
       kernel.kptr_restrict
       kernel.dmesg_restrict
       kernel.sysrq
       fs.aio-max-nr
       fs.file-max
       fs.inotify.max_user_instances
       fs.inotify.max_user_watches
       fs.nr_open
       vm.dirty_background_ratio
       vm.dirty_background_bytes
       vm.dirty_expire_centisecs
       vm.dirty_ratio
       vm.dirty_bytes
       vm.dirty_writeback_centisecs
       vm.max_map_count
       vm.overcommit_memory
       vm.overcommit_ratio
       vm.vfs_cache_pressure
       vm.swappiness
       vm.watermark_scale_factor
       vm.min_free_kbytes
       
      map<string, string> sysctls = 1;
    • getCgroupModeValue

      int getCgroupModeValue()
       cgroup_mode specifies the cgroup mode to be used on the node.
       
      .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
      Returns:
      The enum numeric value on the wire for cgroupMode.
    • getCgroupMode

       cgroup_mode specifies the cgroup mode to be used on the node.
       
      .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2;
      Returns:
      The cgroupMode.
    • hasHugepages

      boolean hasHugepages()
       Optional. Amounts for 2M and 1G hugepages
       
      optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the hugepages field is set.
    • getHugepages

       Optional. Amounts for 2M and 1G hugepages
       
      optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hugepages.
    • getHugepagesOrBuilder

       Optional. Amounts for 2M and 1G hugepages
       
      optional .google.container.v1.LinuxNodeConfig.HugepagesConfig hugepages = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getTransparentHugepageEnabledValue

      int getTransparentHugepageEnabledValue()
       Optional. Transparent hugepage support for anonymous memory can be entirely
       disabled (mostly for debugging purposes) or only enabled inside
       MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
       resources) or enabled system wide.
      
       See https://docs.kernel.org/admin-guide/mm/transhuge.html
       for more details.
       
      .google.container.v1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for transparentHugepageEnabled.
    • getTransparentHugepageEnabled

      LinuxNodeConfig.TransparentHugepageEnabled getTransparentHugepageEnabled()
       Optional. Transparent hugepage support for anonymous memory can be entirely
       disabled (mostly for debugging purposes) or only enabled inside
       MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
       resources) or enabled system wide.
      
       See https://docs.kernel.org/admin-guide/mm/transhuge.html
       for more details.
       
      .google.container.v1.LinuxNodeConfig.TransparentHugepageEnabled transparent_hugepage_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The transparentHugepageEnabled.
    • getTransparentHugepageDefragValue

      int getTransparentHugepageDefragValue()
       Optional. Defines the transparent hugepage defrag configuration on the
       node. VM hugepage allocation can be managed by either limiting
       defragmentation for delayed allocation or skipping it entirely for
       immediate allocation only.
      
       See https://docs.kernel.org/admin-guide/mm/transhuge.html
       for more details.
       
      .google.container.v1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for transparentHugepageDefrag.
    • getTransparentHugepageDefrag

      LinuxNodeConfig.TransparentHugepageDefrag getTransparentHugepageDefrag()
       Optional. Defines the transparent hugepage defrag configuration on the
       node. VM hugepage allocation can be managed by either limiting
       defragmentation for delayed allocation or skipping it entirely for
       immediate allocation only.
      
       See https://docs.kernel.org/admin-guide/mm/transhuge.html
       for more details.
       
      .google.container.v1.LinuxNodeConfig.TransparentHugepageDefrag transparent_hugepage_defrag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The transparentHugepageDefrag.
    • hasCustomNodeInit

      boolean hasCustomNodeInit()
       Optional. Allow users to run arbitrary bash script or container on the
       node.
       
      .google.container.v1.LinuxNodeConfig.CustomNodeInit custom_node_init = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the customNodeInit field is set.
    • getCustomNodeInit

      LinuxNodeConfig.CustomNodeInit getCustomNodeInit()
       Optional. Allow users to run arbitrary bash script or container on the
       node.
       
      .google.container.v1.LinuxNodeConfig.CustomNodeInit custom_node_init = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The customNodeInit.
    • getCustomNodeInitOrBuilder

      LinuxNodeConfig.CustomNodeInitOrBuilder getCustomNodeInitOrBuilder()
       Optional. Allow users to run arbitrary bash script or container on the
       node.
       
      .google.container.v1.LinuxNodeConfig.CustomNodeInit custom_node_init = 11 [(.google.api.field_behavior) = OPTIONAL];
    • hasSwapConfig

      boolean hasSwapConfig()
       Optional. Enables and configures swap space on nodes.
       If omitted, swap is disabled.
       
      optional .google.container.v1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the swapConfig field is set.
    • getSwapConfig

       Optional. Enables and configures swap space on nodes.
       If omitted, swap is disabled.
       
      optional .google.container.v1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The swapConfig.
    • getSwapConfigOrBuilder

      LinuxNodeConfig.SwapConfigOrBuilder getSwapConfigOrBuilder()
       Optional. Enables and configures swap space on nodes.
       If omitted, swap is disabled.
       
      optional .google.container.v1.LinuxNodeConfig.SwapConfig swap_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • hasNodeKernelModuleLoading

      boolean hasNodeKernelModuleLoading()
       Optional. Configuration for kernel module loading on nodes.
       When enabled, the node pool will be provisioned with a Container-Optimized
       OS image that enforces kernel module signature verification.
       
      .google.container.v1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the nodeKernelModuleLoading field is set.
    • getNodeKernelModuleLoading

      LinuxNodeConfig.NodeKernelModuleLoading getNodeKernelModuleLoading()
       Optional. Configuration for kernel module loading on nodes.
       When enabled, the node pool will be provisioned with a Container-Optimized
       OS image that enforces kernel module signature verification.
       
      .google.container.v1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The nodeKernelModuleLoading.
    • getNodeKernelModuleLoadingOrBuilder

      LinuxNodeConfig.NodeKernelModuleLoadingOrBuilder getNodeKernelModuleLoadingOrBuilder()
       Optional. Configuration for kernel module loading on nodes.
       When enabled, the node pool will be provisioned with a Container-Optimized
       OS image that enforces kernel module signature verification.
       
      .google.container.v1.LinuxNodeConfig.NodeKernelModuleLoading node_kernel_module_loading = 13 [(.google.api.field_behavior) = OPTIONAL];
    • hasAccurateTimeConfig

      boolean hasAccurateTimeConfig()
       Optional. The accurate time configuration for the node pool.
       
      optional .google.container.v1.LinuxNodeConfig.AccurateTimeConfig accurate_time_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the accurateTimeConfig field is set.
    • getAccurateTimeConfig

      LinuxNodeConfig.AccurateTimeConfig getAccurateTimeConfig()
       Optional. The accurate time configuration for the node pool.
       
      optional .google.container.v1.LinuxNodeConfig.AccurateTimeConfig accurate_time_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The accurateTimeConfig.
    • getAccurateTimeConfigOrBuilder

      LinuxNodeConfig.AccurateTimeConfigOrBuilder getAccurateTimeConfigOrBuilder()
       Optional. The accurate time configuration for the node pool.
       
      optional .google.container.v1.LinuxNodeConfig.AccurateTimeConfig accurate_time_config = 14 [(.google.api.field_behavior) = OPTIONAL];