Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Is there a way to temporarily disable scheduling to a node (eg. for maintainance) ? #1508

@ikreymer

Description

@ikreymer

I am running a swarm cluster where the containers are distributed using the default spread scheduling.

However, at times I would like to be able to temporarily stop scheduling to a particular node, eg. for example, to gradually drain it of containers so that it can be taken down for maintenance.

Currently I just stop the swarm-agent container on the node, but this is less than ideal (cleanup tasks may not run), is there any other way to do this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions