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

Introduce system service flag to service spec [WIP] #2547

Closed
wants to merge 2 commits into from

Conversation

anshulpundir
Copy link
Contributor

@anshulpundir anshulpundir commented Mar 9, 2018

This change introduces the system services flag to global services, the current application is to allow certain system services to continue running on drained nodes.

api/specs.proto Outdated
// happen on a node.
// Note that this only applies to a global service, since a typical use-case would
// require these services to run on all nodes.
bool systemservice = 10;
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this is WIP, but can you make this system_service so that the go field will be SystemService before it becomes harder?

Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
@codecov
Copy link

codecov bot commented Mar 22, 2018

Codecov Report

Merging #2547 into master will increase coverage by 4.77%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##           master    #2547      +/-   ##
==========================================
+ Coverage   61.46%   66.24%   +4.77%     
==========================================
  Files         134       80      -54     
  Lines       21800    11636   -10164     
==========================================
- Hits        13399     7708    -5691     
+ Misses       6958     3142    -3816     
+ Partials     1443      786     -657

…ices.

Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
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.

None yet

3 participants