class Pyrite::Api::Core::V1::VolumeNodeAffinity

Overview

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

Defined in:

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

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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


def self.new(pull : JSON::PullParser) #

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


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

Instance Method Detail

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

def required=(required : Api::Core::V1::NodeSelector?) #