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

feat: apply one or more resources against a group of nodes #153

Open
AmitKumarDas opened this issue Oct 19, 2020 · 1 comment
Open

feat: apply one or more resources against a group of nodes #153

AmitKumarDas opened this issue Oct 19, 2020 · 1 comment

Comments

@AmitKumarDas
Copy link

ProblemStatement: As a SRE admin, I want to apply resource(s) of a given Kind against a group of nodes based on node selector / labels. For example, I want to run a Pod each on Nodes N1, N2 & N3.

@AmitKumarDas
Copy link
Author

AmitKumarDas commented Oct 19, 2020

Draft Design

kind: Recipe
spec:
  tasks:
  - applyNodeGroup:
    nodeSelector:
      key: value
    state:
      kind: Pod
      metadata:
        name:
        namespace:
      spec:

NOTE

  • Considering running a Pod across a group of Nodes
    • When a new node gets added a new Pod should run on that Node
    • When an existing node is removed from the label selector group, corresponding Pod should be deleted
    • When no node matches the label selector group, no Pods should be created
  • Actions createNodeGroup & deleteNodeGroup may need to be implemented separately from applyNodeGroup action

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