class Pyrite::Api::Policy::V1beta1::Eviction

Overview

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to [.../pods//evictions.](.../pods//evictions.)

Defined in:

versions/v1.14/api/policy/v1beta1/eviction.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pyrite::Kubernetes::Object

metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) metadata=

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

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

Instance methods inherited from class Pyrite::Kubernetes::Resource

api_version : String api_version, kind : String kind

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

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

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) #

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to [.../pods//evictions.](.../pods//evictions.)


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

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to [.../pods//evictions.](.../pods//evictions.)


def self.new(*, delete_options : Apimachinery::Apis::Meta::V1::DeleteOptions? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil) #

Instance Method Detail


def delete_options=(delete_options : Apimachinery::Apis::Meta::V1::DeleteOptions?) #