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

Add toleration to the API #122

Merged
merged 2 commits into from
Mar 18, 2018
Merged

Add toleration to the API #122

merged 2 commits into from
Mar 18, 2018

Conversation

zsedem
Copy link
Contributor

@zsedem zsedem commented Mar 9, 2018

@@ -0,0 +1,31 @@
package skuber
Copy link
Owner

Choose a reason for hiding this comment

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

It is a matter of style really but as tolerations are tied to pods (and used in pod specs only) - I would prefer to define the Toleration type in the Pod scope (i.e. within the Pod companion object) similar to e.g. Pod.Affinity, Pod.Condition.
Does this seem reasonable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it is, just Pod is kinda big already.

Signed-off-by: Adam Oliver Zsigmond <azsigmond@hiya.com>
@zsedem
Copy link
Contributor Author

zsedem commented Mar 14, 2018

Is there anything blocking this now?

@doriordan
Copy link
Owner

Nothing blocking this @zsedem I am just catching up with it now, looks good thanks

@doriordan doriordan merged commit 6287d9d into doriordan:master Mar 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants