zXuE3xBgzpA4ZB3DDVl4System resources issues
System resources issues
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
Checks for various resource issues in the problem nodes.
inputs
outputs
- 1xMhWpsF8ZXCSDAu1oa45MemoryPressure
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.Checks if any of the nodes are constrained on memory (experiencing MemoryPressure)
inputsoutputsmem_pressure_nodes = [] for node in problem_nodes: nodename = node['nodename'] cmd = f"kubectl describe node {nodename} | grep MemoryPressure" op = _exe(master_ip, cmd) mem_pressure = op.split()[1] if mem_pressure.lower() == "true": mem_pressure_nodes.append(node) if mem_pressure_nodes: context.log("ERROR", "Mem Pressure Reached") print("Mem Pressure Nodes: ", mem_pressure_nodes)copied1 - 2OOvNzV1q99d8jz2mXJWnDiskPressure
2
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.Checks if any of the nodes are constrained on disk space (experiencing DiskPressure)
inputsoutputsdisk_pressure_nodes = [] for node in problem_nodes: nodename = node['nodename'] cmd = f"kubectl describe node {nodename} | grep DiskPressure" op = _exe(master_ip, cmd) disk_pressure = op.split()[1] if disk_pressure.lower() == "true": disk_pressure_nodes.append(node) if disk_pressure_nodes: context.log("ERROR", "Disk Pressure Reached") print("Disk Pressure Nodes: ", disk_pressure_nodes)copied2 - 3F7DA4ir5dBf9nRL9J2wxPIDPressure
3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.Checks if any of the nodes are constrained on number of processes (experiencing PIDPressure)
inputsoutputspid_pressure_nodes = [] for node in problem_nodes: nodename = node['nodename'] cmd = f"kubectl describe node {nodename} | grep PIDPressure" op = _exe(master_ip, cmd) pid_pressure = op.split()[1] if pid_pressure.lower() == "true": pid_pressure_nodes.append(node) if pid_pressure_nodes: context.log("ERROR", "PID Pressure Reached") print("PID Pressure Nodes: ", pid_pressure_nodes)copied3