In a Rancher 1.6 environment I see about 1000
registeredAgent vs ~7000
agent based on:
select kind, count(*) from agent where state = 'active' group by kind;
- we have already tried running
rancher/cleanup-1-1against this a couple months ago.
- there are ~1000 EC2 hosts for this particular Rancher setup
- when I browse the records of
registeredAgentI see that the 99% of the have
agent.removedset to NULL and their
agent.createddate all appear to be outdated.
a couple questions:
1 - Is this safe to delete? I suspect there are other cases - perhaps someone point me to existing docs or threads about this?
2 - if we do not delete, does this cause issues?