Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrainn/cloudflare-load-balance-manager
📦 CLI Tool - Register and deregister instances with a Cloudflare load balancer
https://github.com/rrainn/cloudflare-load-balance-manager
Last synced: 23 days ago
JSON representation
📦 CLI Tool - Register and deregister instances with a Cloudflare load balancer
- Host: GitHub
- URL: https://github.com/rrainn/cloudflare-load-balance-manager
- Owner: rrainn
- License: mit
- Created: 2018-04-16T05:30:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T02:24:45.000Z (almost 2 years ago)
- Last Synced: 2024-12-09T16:55:56.496Z (30 days ago)
- Language: JavaScript
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudflare-load-balance-manager [![Known Vulnerabilities](https://snyk.io/test/github/rrainn/cloudflare-load-balance-manager/badge.svg)](https://snyk.io/test/github/rrainn/cloudflare-load-balance-manager) [![Dependencies](https://david-dm.org/rrainn/cloudflare-load-balance-manager.svg)](https://david-dm.org/rrainn/cloudflare-load-balance-manager) [![Dev Dependencies](https://david-dm.org/rrainn/cloudflare-load-balance-manager/dev-status.svg)](https://david-dm.org/rrainn/cloudflare-load-balance-manager?type=dev) [![NPM version](https://badge.fury.io/js/cloudflare-load-balance-manager.svg)](http://badge.fury.io/js/cloudflare-load-balance-manager)
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
```**Commands:**
- `register` (Register instance to Cloudflare)
- `deregister` (Deregister instance to Cloudflare)**Example command:**
```
cloudflare-load-balance-manager register --email [email protected] --api-key abcdefghijlmnopqrstuvwxyzabcde --name lb1
``````
cloudflare-load-balance-manager deregister --email [email protected] --api-key abcdefghijlmnopqrstuvwxyzabcde --name lb2
```**Help command:**
```
cloudflare-load-balance-manager --help
``````
cloudflare-load-balance-manager -h
```