Sign in
agent:

Unable to run kubectl

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

Checks for general contraints and errors preventing kubectl itself from being started.

op = _exe(master_ip, "kubectl get nodes") m = re.match(r'The connection to the server .* was refused - did you specify the right host or port?', op) if m: context.log("ERROR", "Found problem")
copied
  1. 1

    Machine resources Unavailable

    There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

    Checks for various resource constraints preventing kubectl from running.

    1
    1. 1.1

      No space left on the device

      There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

      Checks for disk utilization and returns an error if it crossed a given threshold.

      import shutil u = shutil.disk_usage("/") utilization = 100 * u.used / u.total if utilization > threshold: context.log("ERROR", "Disk usage too high")
      copied
      1.1