class K8S::Api::Core::V1::VolumeNodeAffinity

Overview

VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

Included Modules

Defined in:

versions/v1.22/api/core/v1/volume_node_affinity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, required : Api::Core::V1::NodeSelector? = nil) #

[View source]

Instance Method Detail

def required : Api::Core::V1::NodeSelector? #

[View source]
def required=(required : Api::Core::V1::NodeSelector?) #

[View source]