Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

ClusterAssignment stores cluster pool for execution placement #321

Merged
merged 12 commits into from
Sep 30, 2022

Conversation

iaroslav-ciupin
Copy link
Contributor

@iaroslav-ciupin iaroslav-ciupin commented Sep 16, 2022

TL;DR

Need a way to pass cluster pool for assigning newly created execution to it.

Type

  • Feature

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

@welcome
Copy link

welcome bot commented Sep 16, 2022

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

@codecov
Copy link

codecov bot commented Sep 16, 2022

Codecov Report

Merging #321 (5957faa) into master (245e645) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #321   +/-   ##
=======================================
  Coverage   75.04%   75.04%           
=======================================
  Files          18       18           
  Lines        1162     1162           
=======================================
  Hits          872      872           
  Misses        237      237           
  Partials       53       53           
Flag Coverage Δ
unittests 74.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

iaroslav-ciupin and others added 3 commits September 16, 2022 13:44
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
@EngHabu EngHabu force-pushed the cluster-pools-assignment branch from efc4b0a to bf68762 Compare September 16, 2022 20:44

// A toleration selector is similar to that of an affinity but the only valid operators are EQUALS AND EXISTS.
repeated Selector selectors = 1;
string cluster_pool_name = 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@katrogan assured me that is not used , so I think there is no need to skip 1,2 positions

EngHabu
EngHabu previously approved these changes Sep 20, 2022
Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
@iaroslav-ciupin iaroslav-ciupin changed the title Cluster Pool execution placement ClusterAssignment stores cluster pool for execution placement Sep 24, 2022
@iaroslav-ciupin iaroslav-ciupin marked this pull request as ready for review September 24, 2022 10:32
EngHabu
EngHabu previously approved these changes Sep 29, 2022
Copy link
Contributor

@EngHabu EngHabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the due diligence and ensuring backward compatibility!

Signed-off-by: Iaroslav Ciupin <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
@EngHabu EngHabu merged commit 5daa901 into master Sep 30, 2022
@EngHabu EngHabu deleted the cluster-pools-assignment branch September 30, 2022 13:54
@welcome
Copy link

welcome bot commented Sep 30, 2022

Congrats on merging your first pull request! 🎉

eapolinario pushed a commit that referenced this pull request Sep 8, 2023
* Cluster Pool execution placement

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* Make generate

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* wip

Signed-off-by: Haytham Abuelfutuh <[email protected]>

* make generate using new image

Signed-off-by: Iaroslav Ciupin <[email protected]>

* make generate again

Signed-off-by: Iaroslav Ciupin <[email protected]>

* make generate

Signed-off-by: Iaroslav Ciupin <[email protected]>

* make generate go1.18

Signed-off-by: Iaroslav Ciupin <[email protected]>

* make generate go1.18.5

Signed-off-by: Iaroslav Ciupin <[email protected]>

* backward-compatible ClusterAssignment

Signed-off-by: Iaroslav Ciupin <[email protected]>

* make generate

Signed-off-by: Iaroslav Ciupin <[email protected]>

Signed-off-by: Haytham Abuelfutuh <[email protected]>
Signed-off-by: Iaroslav Ciupin <[email protected]>
Co-authored-by: Haytham Abuelfutuh <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants