If the message starts with a K, it executes a kubectl command to the cluster using the paths it found earlier by running the command %ls %s --kubeconfig=%ls where: The first parameter is the global variable of the kubectl’s path. The first parameter is the global variable of the kubectl’s path. If the message starts with a C, it simply runs the command minus the first character as a regular Windows cmd command