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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/service_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, cluster_ip : String? = nil, external_ips : Array(String)? = nil, external_name : String? = nil, external_traffic_policy : String? = nil, health_check_node_port : Int32? = nil, load_balancer_ip : String? = nil, load_balancer_source_ranges : Array(String)? = nil, ports : Array(Api::Core::V1::ServicePort)? = 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
- #cluster_ip : String?
- #cluster_ip=(cluster_ip : 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?)
- #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(*, cluster_ip : String? = nil, external_ips : Array(String)? = nil, external_name : String? = nil, external_traffic_policy : String? = nil, health_check_node_port : Int32? = nil, load_balancer_ip : String? = nil, load_balancer_source_ranges : Array(String)? = nil, ports : Array(Api::Core::V1::ServicePort)? = 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?)
#