struct

Kubernetes::Service::Spec

Inherits YAML::Serializable / JSON::Serializable / Kubernetes::Serializable / Struct / Value / Object

Constructors

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)
Source
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

cluster_ip
cluster_ips
external_ips
external_name
external_traffic_policy
health_check_node_port
internal_traffic_policy
ip_families
ip_family_policy
load_balancer_ip
load_balancer_source_ranges
ports
publish_not_ready_addresses
selector
session_affinity
session_affinity_config
type