-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike: Unmanaged Agents #1735
Comments
Idea 1 - Reusing current resources, without the *-initiated registration flow
-> upstream doesn't need to connect to downstream, since configuration is external, e.g. a human operator does that. Future Design for Registration?How does future automation look like? Scenarios
|
Quick notes: https://github.com/manno/fleet/tree/registration2.0-spike
|
Let's collect some final notes and the scripts and finish this spike. We'll need a design doc for the next stories. |
MotivationResearch the possibility of unmanaged agents. StatusThese changes introduce a way to disable agent management in both, the fleet controller and An unamanaged agent is an agent is created without having to communicate with
For this purpose two files in
Note: Deployment of a bundle has not successfully been tested. Setup./dev/test-unmanaged-agent-registration DescriptionThe
On the downstream cluster the script creates a
https://gist.github.com/p-se/909b02db4d999afa405a644864022f6c |
Fleet supports agent-initiated and manager-initiated cluster registration. Is it possible to register an agent without going through the full registration? It seems we only need a cluster resource, a token for the agent to get access to the upstream cluster's bundledeployments and a running agent binary.
This would be like a "registration 2.0". An unmanaged agent with a "dumb" setup will be easier to maintain manually. Whereas the current registration flow is very opinionated and automated. The existing registration is probably fine for small fleets of clusters.
In the future we want to update agents with more control, e.g. in batches for large fleets of clusters. A dumb, unmanaged flow, will also help with other use cases, like running the agent out of cluster or extending the agent's deployer.
Is it possible to register an agent/cluster with just kubectl? What if we skip the "big registration" loop that runs before the agent starts?
Note: there is already a unmanaged label for agents, what does it do?
The text was updated successfully, but these errors were encountered: