--master-only

edit

Summary

edit

In some situations, primarily with automated deployments, it makes sense to install curator on every node. But you wouldn’t want it to run on each node. With the --master-only flag, this is possible. It tests for, and will only continue running on the node that is the elected master.

Flags

edit
  • --master-only Only operate on elected master node.

This flag must come before any command.

Example

edit

Operate only on the master node:

curator --master-only <<command>> <<flags>>