Skip to content

marlinprotocol/oyster-serverless-lb-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oyster-serverless-lb-cp

This is the Control Plane for the Oyster Serverless Load Balancer. It is used to add and remove backend servers from the load balancer configuration.

Endpoints

add-server

Example CURL -

curl -X POST localhost:8012/add-server -d '{"ip": "127.03.05.85:8534", "capacity": 12000}' -H "Content-type: application/json" -H "Accept: application/json"

Here, the capacity is the capacity of the backend server in MBs.

remove-server

Example CURL -

curl -X POST localhost:8012/remove-server -d '{"ip": "127.03.05.85:846"}' -H "Content-type: application/json" -H "Accept: application/json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published