-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
swagger: '2.0' | ||
info: | ||
description: | | ||
Application deployment and management should be automated, auditable, and easy to understand and that\'s what beetle tries to achieve in a simple manner. Beetle automates the deployment and rollback of your applications in a multi-cluster, multi-namespaces kubernetes environments. Easy to integrate with through API endpoints & webhooks to fit a variety of workflows. | ||
version: 0.1.0 | ||
title: Beetle | ||
contact: | ||
email: [email protected] | ||
license: | ||
name: MIT | ||
url: 'https://github.com/Clivern/Beetle/blob/master/LICENSE' | ||
host: clivern.com | ||
basePath: / | ||
schemes: | ||
- https | ||
- http | ||
paths: | ||
/_health: | ||
get: | ||
tags: | ||
- Healthcheck | ||
summary: Get system health status | ||
produces: | ||
- application/json | ||
parameters: [] | ||
responses: | ||
200: | ||
description: "system healthy" | ||
schema: | ||
$ref: "#/definitions/healthResponse" | ||
500: | ||
description: "system is down" | ||
schema: | ||
$ref: "#/definitions/healthResponse" | ||
/_ready: | ||
get: | ||
tags: | ||
- Readiness | ||
summary: Get system readiness | ||
produces: | ||
- application/json | ||
parameters: [] | ||
responses: | ||
200: | ||
description: "system ready to accept traffic" | ||
schema: | ||
$ref: "#/definitions/healthResponse" | ||
500: | ||
description: "system not ready to accept traffic" | ||
schema: | ||
$ref: "#/definitions/healthResponse" | ||
/metrics: | ||
get: | ||
tags: | ||
- Metrics | ||
summary: Get metrics for prometheus | ||
produces: | ||
- text/plain | ||
parameters: [] | ||
responses: | ||
200: | ||
description: "system metrics" | ||
|
||
definitions: | ||
healthResponse: | ||
type: "object" | ||
properties: | ||
status: | ||
type: "string" | ||
externalDocs: | ||
description: Find out more about beetle | ||
url: 'https://github.com/Clivern/Beetle' |