struct Kubernetes::Service::Spec

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

Instance methods inherited from module Kubernetes::Serializable

pretty_print(pp) : Nil pretty_print

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(ports : Array(Port), type : Kubernetes::Service::Type = :cluster_ip, ip_family_policy : Kubernetes::Service::IPFamilyPolicy = :single_stack) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def cluster_ip : String #

def cluster_ips : Array(String) #

def external_ips : Array(String) #

def external_name : String | Nil #

def external_traffic_policy : TrafficPolicy | Nil #

def health_check_node_port : Int32 | Nil #

def internal_traffic_policy : TrafficPolicy | Nil #

def ip_families : Array(IPFamily) #

def ip_family_policy : IPFamilyPolicy #

def load_balancer_ip : String | Nil #

def load_balancer_source_ranges : String | Nil #

def ports : Array(Port) #

def publish_not_ready_addresses : Bool | Nil #

def selector : Hash(String, String) | Nil #

def session_affinity : SessionAffinity | Nil #

def session_affinity_config : SessionAffinityConfig | Nil #

def type : Type #