class Pyrite::Api::Policy::V1beta1::PodDisruptionBudgetSpec

Overview

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

Defined in:

versions/v1.14/api/policy/v1beta1/pod_disruption_budget_spec.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) #

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.


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

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.


def self.new(*, max_unavailable : Int32 | String | Nil = nil, min_available : Int32 | String | Nil = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

Instance Method Detail

def max_unavailable : Int32 | String | Nil #

def max_unavailable=(max_unavailable : Int32 | String | Nil) #

def min_available : Int32 | String | Nil #

def min_available=(min_available : Int32 | String | Nil) #


def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #