Skip to content

Ability to shard new configuration to nodes #148

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

Open
javuto opened this issue Jul 9, 2021 · 2 comments
Open

Ability to shard new configuration to nodes #148

javuto opened this issue Jul 9, 2021 · 2 comments
Labels
✨ enhancement New feature or request osctrl-admin osctrl-admin related changes

Comments

@javuto
Copy link
Collaborator

javuto commented Jul 9, 2021

When rolling new changes to the osquery configuration of nodes, it would be a good idea to implement a system to shard the configuration so it will not get to all the nodes at once.

@javuto javuto added ✨ enhancement New feature or request osctrl-admin osctrl-admin related changes labels Jul 9, 2021
@javuto javuto added this to the v0.2.8 milestone Jul 9, 2021
@javuto javuto removed this from the v0.2.8 milestone Dec 29, 2021
@martinjaegerdk
Copy link

@javuto While this issue is somewhat old, it's still very relevant.
From the code base of OSctrl, it does seem like it's supported, however i haven't tested it out.
While the shard functionality of OSQuery is nice, because it's built into OSQuery, it will still be sent to all hosts as OSCtrl sends down same config to all hosts inside the environment.
There may be value in targeting specific hosts (e.g. by name or tags) to receive certain configs. But yeah, haven't explored the use case too much honestly. Was just wondering what your thoughts are?

@javuto
Copy link
Collaborator Author

javuto commented Mar 19, 2025

@martinjaegerdk I agree 100%, that is the reason I have left this issue open, because at some point I would like to have this implemented. Currently the configuration applies to the whole environment and once changes are made, it will be served to all the nodes enrolled in the environment. What do you think has more value:

  • The environment configuration editor provides a template but each node configuration can be customized.
  • Tags can be used to group the configuration so different nodes get different osquery configuration.
  • The configuration is determined per environment, but you can enable an option to distribute it using random sharding amongst all nodes members in that environment.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request osctrl-admin osctrl-admin related changes
Projects
None yet
Development

No branches or pull requests

2 participants