agent: |
F7DA4ir5dBf9nRL9J2wxPIDPressure
PIDPressure
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)
inputs
outputs
pid_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)
copied