apache / apache/camel-k

Be able to switch controller strategy dynamically

Open
#5,885 3 comments 1 reaction 0 assignees View on GitHub
kind/feature status/never-stale
Dominant language
Go
Stars
927
Forks
387
Avg merge
15h 5m
Merged PRs (30d)
36

Description

Due to the original design of the application we had never supported the possibility to move from one controller strategy (ie, Deployment) to another (ie, KnativeService). This would require the clean up of the deployment resources before creating deployment of the new controller strategy without involving the garbage collection trait. Without a dedicated cleanup, we would duplicate the deployment as it happened in #5874.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining how controller strategy changes are handled and reproduce the duplication described in #5874. Ensure resources from the previous strategy are cleaned up before the new strategy is created, without relying on the garbage collection trait; done means switching between Deployment and KnativeService does not leave duplicate deployments.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.