class K8S::Api::Core::V1::ServiceSpec
- K8S::Api::Core::V1::ServiceSpec
- Reference
- Object
Overview
ServiceSpec describes the attributes that a user creates on a service.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/api/core/v1/service_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, allocate_load_balancer_node_ports : Bool? = nil, cluster_ip : String? = nil, cluster_ips : Array? = nil, external_ips : Array? = nil, external_name : String? = nil, external_traffic_policy : String? = nil, health_check_node_port : Int32? = nil, internal_traffic_policy : String? = nil, ip_families : Array? = nil, ip_family_policy : String? = nil, load_balancer_class : String? = nil, load_balancer_ip : String? = nil, load_balancer_source_ranges : Array? = nil, ports : Array? = nil, publish_not_ready_addresses : Bool? = nil, selector : Hash(String, String)? = nil, session_affinity : String? = nil, session_affinity_config : Api::Core::V1::SessionAffinityConfig? = nil, type : String? = nil)
Instance Method Summary
- #allocate_load_balancer_node_ports : Bool?
- #allocate_load_balancer_node_ports=(allocate_load_balancer_node_ports : Bool?)
- #cluster_ip : String?
- #cluster_ip=(cluster_ip : String?)
- #cluster_ips : Array(String)?
- #cluster_ips=(cluster_ips : Array(String)?)
- #external_ips : Array(String)?
- #external_ips=(external_ips : Array(String)?)
- #external_name : String?
- #external_name=(external_name : String?)
- #external_traffic_policy : String?
- #external_traffic_policy=(external_traffic_policy : String?)
- #health_check_node_port : Int32?
- #health_check_node_port=(health_check_node_port : Int32?)
- #internal_traffic_policy : String?
- #internal_traffic_policy=(internal_traffic_policy : String?)
- #ip_families : Array(String)?
- #ip_families=(ip_families : Array(String)?)
- #ip_family_policy : String?
- #ip_family_policy=(ip_family_policy : String?)
- #load_balancer_class : String?
- #load_balancer_class=(load_balancer_class : String?)
- #load_balancer_ip : String?
- #load_balancer_ip=(load_balancer_ip : String?)
- #load_balancer_source_ranges : Array(String)?
- #load_balancer_source_ranges=(load_balancer_source_ranges : Array(String)?)
- #ports : Array(Api::Core::V1::ServicePort)?
- #ports=(ports : Array(Api::Core::V1::ServicePort)?)
- #publish_not_ready_addresses : Bool?
- #publish_not_ready_addresses=(publish_not_ready_addresses : Bool?)
- #selector : Hash(String, String)?
- #selector=(selector : Hash(String, String)?)
- #session_affinity : String?
- #session_affinity=(session_affinity : String?)
- #session_affinity_config : Api::Core::V1::SessionAffinityConfig?
- #session_affinity_config=(session_affinity_config : Api::Core::V1::SessionAffinityConfig?)
- #type : String?
- #type=(type : String?)
Constructor Detail
def self.new(*, allocate_load_balancer_node_ports : Bool? = nil, cluster_ip : String? = nil, cluster_ips : Array? = nil, external_ips : Array? = nil, external_name : String? = nil, external_traffic_policy : String? = nil, health_check_node_port : Int32? = nil, internal_traffic_policy : String? = nil, ip_families : Array? = nil, ip_family_policy : String? = nil, load_balancer_class : String? = nil, load_balancer_ip : String? = nil, load_balancer_source_ranges : Array? = nil, ports : Array? = nil, publish_not_ready_addresses : Bool? = nil, selector : Hash(String, String)? = nil, session_affinity : String? = nil, session_affinity_config : Api::Core::V1::SessionAffinityConfig? = nil, type : String? = nil)
#
Instance Method Detail
def session_affinity_config=(session_affinity_config : Api::Core::V1::SessionAffinityConfig?)
#