KubectlClient::Utils
Class methods
annotate(kind : String, resource_name : String, annotatation_str : String, namespace : String | Nil = nil)
Sourcecopy_from_pod(pod_name : String, source : String, destination : String, container_name : String | Nil = nil, namespace : String | Nil = nil)
Sourcecopy_to_pod(pod_name : String, source : String, destination : String, container_name : String | Nil = nil, namespace : String | Nil = nil)
Sourceexec(pod_name : String, command : String, container_name : String | Nil = nil, namespace : String | Nil = nil)
Exceptions (other than network) not raised in this method as 'command' can be whatever caller desires, unlike other methods in which method body will build a valid command forced by its arguments.
exec_bg(pod_name : String, command : String, container_name : String | Nil = nil, namespace : String | Nil = nil)
Use with caution as there is no error handling due to process being started in the background.
label(kind : String, resource_name : String, labels : Array(String), namespace : String | Nil = nil)
Sourcelogs(pod_name : String, container_name : String | Nil = nil, namespace : String | Nil = nil, options : String | Nil = nil)
Source