module

KubectlClient::Get

Class methods

container_image_tags(containers : JSON::Any) : Array(NamedTuple(image: String, tag: String))
Source
container_runtimes
Source
match_pods_by_prefix(pod_name_prefix : String, field_selector : String | Nil = nil, namespace : String | Nil = nil) : Array(String)

TODO (rafal-lal): add spec for this method

Source
node_ready?(node_name : String) : Bool
Source
nodes_by_pod(pod, retry_limit = 3) : Array(JSON::Any)
Source
nodes_by_resource(resource, retry_limit = 20) : Array(JSON::Any)
Source
pod_ready?(pod_name_prefix : String, field_selector : String | Nil = nil, namespace : String | Nil = nil) : Bool
Source
pods_by_digest(container_digest) : Array(JSON::Any)
Source
pods_by_labels(pods_json : Array(JSON::Any), labels : Hash(String, String))
Source
pods_by_labels(pods_json : Array(JSON::Any), labels : Hash(String, JSON::Any))
Source
pods_by_nodes(nodes_json : Array(JSON::Any))
Source
pods_by_resource_labels(resource_json : JSON::Any, namespace : String | Nil = nil) : Array(JSON::Any)

TODO: (rafal-lal) if namespace not provided, automatically assume all_namespaces rather than default -> make sure that is the case throughout the codebase

Source
pods_by_service(service) : Array(JSON::Any) | Nil
Source
privileged_containers(namespace : String | Nil = nil, all_namespaces : Bool | Nil = true) : Array(JSON::Any)
Source
pv_items_by_claim_name(claim_name : String) : Array(JSON::Any)
Source
replica_count(kind : String, resource_name : String, namespace : String | Nil = nil) : NamedTuple(current: Int32, desired: Int32, unavailable: Int32)
Source
resource(kind : String, resource_name : String | Nil = nil, namespace : String | Nil = nil, all_namespaces : Bool = false, field_selector : String | Nil = nil, selector : String | Nil = nil) : JSON::Any
Source
resource_containers(kind : String, resource_name : String, namespace : String | Nil = nil) : JSON::Any
Source
resource_map(k8s_manifest, &)
Source
resource_select(k8s_manifest, &)
Source
resource_select
Source
resource_spec_labels(kind : String, resource_name : String, namespace : String | Nil = nil) : JSON::Any
Source
resource_volumes(kind : String, resource_name : String, namespace : String | Nil = nil) : JSON::Any
Source
schedulable_nodes_list(retry_limit : Int32 = 20) : Array(JSON::Any)
Source
service_by_pod(pod) : JSON::Any | Nil
Source
worker_nodes
Source