module ClusterTools
Defined in:
tasks/utils/cluster_utils.crClass Method Summary
- .exec(cli : String)
- .exec_by_node(cli : String, node)
- .install
- .local_match_by_image_name(image_names : Array(String), nodes = KubectlClient::Get.nodes["items"].as_a)
- .local_match_by_image_name(image_name, nodes : Array(JSON::Any))
- .local_match_by_image_name(image_name, nodes = KubectlClient::Get.nodes["items"].as_a)
- .node_pid_by_container_id(container_id, node) : String | Nil
-
.official_content_digest_by_image_name(image_name)
https://windsock.io/explaining-docker-image-ids/ works on dockerhub and quay! ex.
-
.parse_container_id(container_id : String)
todo make compatible with other runtimes
- .pod_by_node(node)
- .pod_name
- .uninstall
- .wait_for_cluster_tools
Class Method Detail
def self.local_match_by_image_name(image_names : Array(String), nodes = KubectlClient::Get.nodes["items"].as_a)
#
def self.official_content_digest_by_image_name(image_name)
#
https://windsock.io/explaining-docker-image-ids/ works on dockerhub and quay! ex. kubectl exec -ti cluster-tools-ww9lg -- skopeo inspect docker://jaegertracing/jaeger-agent:1.28.0 Accepts org/image:tag or repo/org/image:tag A content digest is an uncompressed digest, which is what Kubernetes tracks