class Pyrite::Api::Apps::V1beta2::StatefulSetSpec

Overview

A StatefulSetSpec is the specification of a StatefulSet.

Defined in:

versions/v1.14/api/apps/v1beta2/stateful_set_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) #

A StatefulSetSpec is the specification of a StatefulSet.


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

A StatefulSetSpec is the specification of a StatefulSet.


def self.new(*, pod_management_policy : String? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector, service_name : String, template : Api::Core::V1::PodTemplateSpec, update_strategy : Api::Apps::V1beta2::StatefulSetUpdateStrategy? = nil, volume_claim_templates : Array? = nil) #

Instance Method Detail

def pod_management_policy : String? #

def pod_management_policy=(pod_management_policy : String?) #

def replicas : Int32? #

def replicas=(replicas : Int32?) #

def revision_history_limit : Int32? #

def revision_history_limit=(revision_history_limit : Int32?) #



def service_name : String #

def service_name=(service_name : String) #


def template=(template : Api::Core::V1::PodTemplateSpec) #


def update_strategy=(update_strategy : Api::Apps::V1beta2::StatefulSetUpdateStrategy?) #

def volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)? #

def volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?) #