cloudflare-load-balance-manager

1.0.2 • Public • Published

cloudflare-load-balance-manager Known Vulnerabilities Dependencies Dev Dependencies NPM version

cloudflare-load-balance-manager is an easy to use CLI tool that lets you easily register and deregister instances with a Cloudflare load balancer. This is useful during deployments to stop traffic to your instance then resuming traffic after your deployment is complete.

Install

npm install -g cloudflare-load-balance-manager

Usage

cloudflare-load-balance-manager <command> <options>

Commands:

  • register (Register instance to Cloudflare)
  • deregister (Deregister instance to Cloudflare)

Example command:

cloudflare-load-balance-manager register --email test@test.com --api-key abcdefghijlmnopqrstuvwxyzabcde --name lb1
cloudflare-load-balance-manager deregister --email test@test.com --api-key abcdefghijlmnopqrstuvwxyzabcde --name lb2

Help command:

cloudflare-load-balance-manager --help
cloudflare-load-balance-manager -h

Package Sidebar

Install

npm i cloudflare-load-balance-manager

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

8.4 kB

Total Files

4

Last publish

Collaborators

  • fishcharlie