class K8S::Api::Apps::V1beta1::StatefulSetSpec

Overview

A StatefulSetSpec is the specification of a StatefulSet.

Included Modules

Defined in:

versions/v1.15/api/apps/v1beta1/stateful_set_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(*, service_name : String, template : Api::Core::V1::PodTemplateSpec, pod_management_policy : String? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, update_strategy : Api::Apps::V1beta1::StatefulSetUpdateStrategy? = nil, volume_claim_templates : Array? = nil) #

[View source]

Instance Method Detail

def pod_management_policy : String? #

[View source]
def pod_management_policy=(pod_management_policy : String?) #

[View source]
def replicas : Int32? #

[View source]
def replicas=(replicas : Int32?) #

[View source]
def revision_history_limit : Int32? #

[View source]
def revision_history_limit=(revision_history_limit : Int32?) #

[View source]

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

[View source]
def service_name : String #

[View source]
def service_name=(service_name : String) #

[View source]

[View source]
def template=(template : Api::Core::V1::PodTemplateSpec) #

[View source]

[View source]
def update_strategy=(update_strategy : Api::Apps::V1beta1::StatefulSetUpdateStrategy?) #

[View source]
def volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)? #

[View source]
def volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?) #

[View source]