Skip to content

chore: prevent kcm-controller crashes after kcm upgrade in CI#693

Merged
AndrejsPon00 merged 1 commit into
mainfrom
fix-kcm-oom-issue
Jan 7, 2026
Merged

chore: prevent kcm-controller crashes after kcm upgrade in CI#693
AndrejsPon00 merged 1 commit into
mainfrom
fix-kcm-oom-issue

Conversation

@AndrejsPon00
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 7, 2026 12:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses crashes in the kcm-controller during KCM upgrades in CI by adding a new Makefile target that sets a memory limit before performing the upgrade. The change ensures consistent resource constraints across CI workflows to prevent controller instability.

Key changes:

  • Adds a new kcm-dev-upgrade target in the Makefile that configures memory limits (128Mi) before upgrading KCM
  • Updates two CI workflow files to use the new centralized upgrade target instead of directly calling the KCM repository's upgrade command

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Makefile Adds kcm-dev-upgrade target that sets controller memory limits to 128Mi before upgrade
.github/workflows/pr_test_mgmt_upgrade.yml Replaces direct dev-upgrade call with new kcm-dev-upgrade target
.github/workflows/pr_test_adopted_upgrade.yml Replaces direct dev-upgrade call with new kcm-dev-upgrade target

Comment thread Makefile Outdated
@AndrejsPon00 AndrejsPon00 merged commit ea1f79b into main Jan 7, 2026
2 checks passed
@AndrejsPon00 AndrejsPon00 deleted the fix-kcm-oom-issue branch January 7, 2026 13:02
@github-project-automation github-project-automation Bot moved this to Done in k0rdent Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants