Skip to content

Cloud-Barista Multi-Cloud Application Runtime Framework : Support Multi-Cloud Kubernetes Service

License

Notifications You must be signed in to change notification settings

cloud-barista/cb-ladybug

Repository files navigation

CB-Ladybug

Multi-Cloud Application Runtime Management Framework

Go Report Card Build Top Language GitHub go.mod Go version Repo Size GoDoc Release Version License

[NOTE]
CB-Ladybug is currently under development. (The latest version is v0.7.0 (Cortado))
So, we do not recommend using the current release in production.
Please note that the functionalities of CB-Ladybug are not stable and secure yet.
If you have any difficulties in using CB-Ladybug, please let us know.
(Open an issue or Join the cloud-barista Slack)

Getting started

Preparation

Dependencies

Clone

$ git clone https://github.com/cloud-barista/cb-ladybug.git
$ cd cb-ladybug
$ go get -v all

Run

$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ export APP_ROOT="$(pwd)"
$ go run src/main.go

Build and Execute

$ go build -o cb-ladybug src/main.go
$ export CBLOG_ROOT="$(pwd)"
$ export CBSTORE_ROOT="$(pwd)"
$ export APP_ROOT="$(pwd)"
$ nohup ./cb-ladybug & > /dev/null

Test

$ curl -s  http://localhost:1470/ladybug/healthy -o /dev/null -w "code:%{http_code}"

code:200

API documentation

  • Execute or Run
  • Generate an updated swagger.yaml
$ go install github.com/swaggo/swag/cmd/swag@latest

# in src/ folder
$ swag init

Documents

Contribution

Learn how to start contribution on the Contributing Guideline and Style Guideline