Class: Google::Cloud::Container::V1beta1::LinuxNodeConfig::NodeKernelModuleLoading
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::LinuxNodeConfig::NodeKernelModuleLoading
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
Configuration for kernel module loading on nodes.
Defined Under Namespace
Modules: Policy
Instance Attribute Summary collapse
-
#policy ⇒ ::Google::Cloud::Container::V1beta1::LinuxNodeConfig::NodeKernelModuleLoading::Policy
Set the node module loading policy for nodes in the node pool.
Instance Attribute Details
#policy ⇒ ::Google::Cloud::Container::V1beta1::LinuxNodeConfig::NodeKernelModuleLoading::Policy
Returns Set the node module loading policy for nodes in the node pool.
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 203 class NodeKernelModuleLoading include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the kernel module loading policy for nodes in the nodepool. module Policy # Default behavior. GKE selects the image based on node type. # For CPU and TPU nodes, the image will not allow loading external # kernel modules. # For GPU nodes, the image will allow loading any module, whether it # is signed or not. POLICY_UNSPECIFIED = 0 # Enforced signature verification: Node pools will use a # Container-Optimized OS image configured to allow loading of # *Google-signed* external kernel modules. # Loadpin is enabled but configured to exclude modules, and kernel # module signature checking is enforced. ENFORCE_SIGNED_MODULES = 1 # Mirrors existing DEFAULT behavior: # For CPU and TPU nodes, the image will not allow loading external # kernel modules. # For GPU nodes, the image will allow loading any module, whether it # is signed or not. DO_NOT_ENFORCE_SIGNED_MODULES = 2 end end |