Skip to content

Fix reported KOS stabilisation issues - #2078

Merged
liam-mackie merged 1 commit into
mainfrom
lm/fix-kos-stabilisation
Jul 22, 2026
Merged

Fix reported KOS stabilisation issues#2078
liam-mackie merged 1 commit into
mainfrom
lm/fix-kos-stabilisation

Conversation

@liam-mackie

Copy link
Copy Markdown
Contributor

When KOS was running against a deployment with a HPA, there were 2 reported issues:

  1. We never stabilised, due to HPAs constantly adjusting replica counts
  2. The check took a long time (3min+) to run on clusters with many resources

This change aligns most workload-level resources with the logic that GitOps engine uses, as they have worked out more edge cases than we have. This leads to the checks being more reliable, and we also match KOS with KLOS, which implements the GitOps engine entirely.

We also add a cache for child objects to each check (invalidated for each check run) so that we don't list all resources in the cluster multiple times for any given check, which caused slow check speeds.

@tleed5 tleed5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it :shipit:

@liam-mackie
liam-mackie merged commit 6db63a2 into main Jul 22, 2026
35 checks passed
@liam-mackie
liam-mackie deleted the lm/fix-kos-stabilisation branch July 22, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants