class K8S::Api::Policy::V1beta1::PodDisruptionBudgetSpec

Overview

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

Included Modules

Defined in:

versions/v1.14/api/policy/v1beta1/pod_disruption_budget_spec.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(*, max_unavailable : Int32 | String | Nil = nil, min_available : Int32 | String | Nil = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail

def max_unavailable : Int32 | String | Nil #

[View source]
def max_unavailable=(max_unavailable : Int32 | String | Nil) #

[View source]
def min_available : Int32 | String | Nil #

[View source]
def min_available=(min_available : Int32 | String | Nil) #

[View source]

[View source]
def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]