S10naUChD7Urqaku3Sg5Machine resources Unavailable
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.
inputs
outputs
- 1Cpxt7BiFk8RmbmJWxzzANo space left on the device
1
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.
inputsoutputsimport shutil u = shutil.disk_usage("/") utilization = 100 * u.used / u.total if utilization > threshold: context.log("ERROR", "Disk usage too high")copied1