Skip to content
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

cli: add maintenance subcommands #21

Open
4 tasks
lucab opened this issue Sep 5, 2019 · 1 comment
Open
4 tasks

cli: add maintenance subcommands #21

lucab opened this issue Sep 5, 2019 · 1 comment

Comments

@lucab
Copy link
Contributor

lucab commented Sep 5, 2019

For operational maintenance and introspection, airlock should grow some CLI subcommands.

Those are mostly meant for human consumption, in order to inspect state in etcd3 and act on it.

The idea is that the administrator can kubectl exec into the container and run maintenance commands there. Those commands requires access to the configuration, which is already available inside the container.

Here below is an initial list of tasks I'd like to be able to perform via CLI.

  • lock a reboot slot (by group+uuid)
  • unlock a reboot slot (by group+uuid)
  • show current slots usage (optionally, filtered by group)
  • list configured groups and their configured slots (optionally, filtered by group)
@lucab
Copy link
Contributor Author

lucab commented Sep 6, 2019

I don't want to spend too much time at this point, so I'll just put together some commands under an explicit experimental ex subcommand for now.

I'll keep this ticket open to later re-arrange in an UX-meaningful way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant