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.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
A StatefulSetSpec is the specification of a StatefulSet.
-
.new(pull : JSON::PullParser)
A StatefulSetSpec is the specification of a StatefulSet.
- .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 Summary
- #pod_management_policy : String?
- #pod_management_policy=(pod_management_policy : String?)
- #replicas : Int32?
- #replicas=(replicas : Int32?)
- #revision_history_limit : Int32?
- #revision_history_limit=(revision_history_limit : Int32?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector)
- #service_name : String
- #service_name=(service_name : String)
- #template : Api::Core::V1::PodTemplateSpec
- #template=(template : Api::Core::V1::PodTemplateSpec)
- #update_strategy : Api::Apps::V1beta2::StatefulSetUpdateStrategy?
- #update_strategy=(update_strategy : Api::Apps::V1beta2::StatefulSetUpdateStrategy?)
- #volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?
- #volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?)
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(*, 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 volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?)
#