Skip to content

📦 CLI Tool - Register and deregister instances with a Cloudflare load balancer

License

Notifications You must be signed in to change notification settings

rrainn/cloudflare-load-balance-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

📦 CLI Tool - Register and deregister instances with a Cloudflare load balancer

Resources

License

Stars

Watchers

Forks

Packages

No packages published