class K8S::Api::Apps::V1::StatefulSetSpec
- K8S::Api::Apps::V1::StatefulSetSpec
- Reference
- Object
Overview
A StatefulSetSpec is the specification of a StatefulSet.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.17/api/apps/v1/stateful_set_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, selector : Apimachinery::Apis::Meta::V1::LabelSelector, service_name : String, template : Api::Core::V1::PodTemplateSpec, pod_management_policy : String? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, update_strategy : Api::Apps::V1::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::V1::StatefulSetUpdateStrategy?
- #update_strategy=(update_strategy : Api::Apps::V1::StatefulSetUpdateStrategy?)
- #volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?
- #volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?)
Constructor Detail
def self.new(*, selector : Apimachinery::Apis::Meta::V1::LabelSelector, service_name : String, template : Api::Core::V1::PodTemplateSpec, pod_management_policy : String? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, update_strategy : Api::Apps::V1::StatefulSetUpdateStrategy? = nil, volume_claim_templates : Array? = nil)
#
Instance Method Detail
def volume_claim_templates=(volume_claim_templates : Array(Api::Core::V1::PersistentVolumeClaim)?)
#