module KubectlClient
Defined in:
modules/kubectl_client/constants.crmodules/kubectl_client/kubectl_client.cr
modules/kubectl_client/modules/get.cr
modules/kubectl_client/modules/modules.cr
modules/kubectl_client/modules/wait.cr
Constant Summary
-
ALREADY_EXISTS_ERR_MATCH =
"AlreadyExists"
-
kubectl CMD errors
-
BASE_CONFIG =
"./config.yml"
-
DEFAULT_LOCAL_BINARY_PATH =
"tools/git/linux-amd64/docker"
-
EMPTY_JSON =
JSON.parse("{}")
-
EMPTY_JSON_ARRAY =
JSON.parse("[]")
-
Log =
::Log.for("KubectlClient")
-
NETWORK_ERR_MATCH =
"Unable to connect to the server|connection refused"
-
NOT_FOUND_ERR_MATCH =
"NotFound|does not exist"
-
OCI_RUNTIME_REGEX =
/containerd|docker|podman|runc|railcar|crun|rkt|gviso|nabla|runv|clearcontainers|kata|cri-o/i
-
https://www.capitalone.com/tech/cloud/container-runtime/
-
RESOURCE_WAIT_LOG_INTERVAL =
10
-
WORKLOAD_RESOURCES =
{deployment: "Deployment", service: "Service", pod: "Pod", replicaset: "ReplicaSet", statefulset: "StatefulSet", daemonset: "DaemonSet", service_account: "ServiceAccount"}
Class Method Summary
- .installation_found?(verbose = false, offline_mode = false) : Bool
- .names_from_json_array_to_s(resource : Array(JSON::Any)) : String
- .server_version : String