Skip to content

erfantkerfan/flockman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Flockman

Flockman is tool designed to help DevOps with a simple tool to rollout updates to a swarm cluster using basic rest APIs. some of its features are:

  • Secure and Simple
  • written in GO
  • small packaged binary for starting server and also a cli tool for management purposes

Learning Flockman

best way to start with Flockman is to download the latest binary and start using its cli and figuring out its capabilities yourself.

api documentation

get node details
GET `/api/v1/node`
{
  "node_name":"erfan-zenbook-ux325ea"
}
get service status
POST `/api/v1/service/status`

{
    "token":"TOKEN"
}
{
    "image":"nginx:latest","service":"nginx"
}
update service status
POST `/api/v1/service/update`

{
    "token":"TOKEN",
    "tag":"alpine",
    "start_first":true,
    "stop_signal":"QUIT"
}
{
    "image":"nginx:alpine",
    "service":"nginx"
}