struct Kubernetes::Service::Spec
- Kubernetes::Service::Spec
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
kubernetes.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(ports : Array(Port), type : Kubernetes::Service::Type = :cluster_ip, ip_family_policy : Kubernetes::Service::IPFamilyPolicy = :single_stack)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #cluster_ip : String
- #cluster_ips : Array(String)
- #external_ips : Array(String)
- #external_name : String | Nil
- #external_traffic_policy : TrafficPolicy | Nil
- #health_check_node_port : Int32 | Nil
- #internal_traffic_policy : TrafficPolicy | Nil
- #ip_families : Array(IPFamily)
- #ip_family_policy : IPFamilyPolicy
- #load_balancer_ip : String | Nil
- #load_balancer_source_ranges : String | Nil
- #ports : Array(Port)
- #publish_not_ready_addresses : Bool | Nil
- #selector : Hash(String, String) | Nil
- #session_affinity : SessionAffinity | Nil
- #session_affinity_config : SessionAffinityConfig | Nil
- #type : Type
Macros inherited from module Kubernetes::Serializable
add_field(type, getter_type, key = nil, **args, &block)
add_field,
field(type, key = nil, **args, &block)
field,
field?(type, key = nil, **args, &block)
field?
Constructor Detail
def self.new(ports : Array(Port), type : Kubernetes::Service::Type = :cluster_ip, ip_family_policy : Kubernetes::Service::IPFamilyPolicy = :single_stack)
#