Skip to content

(bug) Fix Reloader feature in agentless mode#1832

Open
gianlucam76 wants to merge 1 commit into
projectsveltos:mainfrom
gianlucam76:reloader
Open

(bug) Fix Reloader feature in agentless mode#1832
gianlucam76 wants to merge 1 commit into
projectsveltos:mainfrom
gianlucam76:reloader

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

In agentless mode all Reloader instances are present in the management cluster. Addon-controller must tell sveltos-agent (also running in the management cluster) which Reloader instances are to be processed for a given cluster.
The logic used is same used by event-manager for EventSource instances and healthcheck-manager for HealthCheck instances: updating a per cluster ConfigMap that contains the instance to process.

This PR also enhances the reloader test to verify ConfigMap is created in agentless mode and contains the Reloader instance instance name.

In agentless mode all Reloader instances are present in the management
cluster. Addon-controller must tell sveltos-agent (also running in the
management cluster) which Reloader instances are to be processed for a
given cluster.
The logic used is same used by event-manager for EventSource instances
and healthcheck-manager for HealthCheck instances: updating a per cluster
ConfigMap that contains the instance to process.

This PR also enhances the reloader test to verify ConfigMap is created
in agentless mode and contains the Reloader instance instance name.
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.

1 participant