Skip to content

gykim21/klevr

 
 

Repository files navigation

klevr_logo.png
https://opensource.klevr.dev

Klevr: Kloud-native everywhere

Hyper-connected Cloud-native delivery solution for SaaS

  • Asynchronous distributed infrastructure management console and agent for separated networks.
  • Supports for:
    • Baremetal server in the On-premise datacenter
    • PC/Workstation in the Office/intranet
    • Laptop at everywhere
    • Public-cloud

Kickstart for klevr demo

  • docker-compose command
git clone https://github.com/klevry/klevr.git
docker-compose -f docker-compose-demo.yml up -d
http://localhost:8090/swagger/index.html

Diagram Overview

  • Image click to Youtube:
  • Diagram Overview

Features

  • Agent
    • Provisioning: Docker, Kubernetes, Micro K8s(on Linux laptop) with Vagrant & VirtualBox, Prometheus
    • Get & Run: Hypervisor(via libvirt container or Multipass), Terraform, Prometheus, Beacon, Helm chart
    • Metric data aggregate & delivery
  • Manager
  • Host pool management
  • Resource management
  • Primary host management
  • Task management(To be)
  • Service catalog management(To be)
  • Service delivery to Dev./Stg./Prod.(To be)
  • Docker images
  • KV store(Consul)

Simple logic of asynchronous task management - (Click to Youtube for details)

  • Primary election of agent

Requirement for use

  • Docker/Docker-compose/Docker-registry
    • Beacon
    • Libvirt
    • Task manage to ProvBee
  • Terraform of container by ProvBee
  • KVM(libvirt) by ProvBee
  • Multipass for Hosted Virtual-machine
  • Micro K8s K3s
  • Prometheus by ProvBee
  • Grafana by ProvBee
  • Helm by ProvBee
  • Vault(maybe)
  • Packer(maybe)
  • Vagrant
  • Consul

Description for Directories and files

.
├── README.md                   // This Screen as you see. :)
├── docker-compose.yml          // Kickstarter: Bootstraping by docker-compose
├── Dockerfile                  // Directory for docker image build
│   ├── libvirt
│   └── manager                 // Actual binary file of manager will be move to this link directory for the docker build
├── assets
│   └── [Images & Contents]
├── cmd                         // Actual artifacts fpr Klevr agent & manager(webserver) 
│   ├── klevr-agent
│   │   ├── Makefile
│   │   ├── agent_installer.sh  // Remote installer via curl command as a generated script by Manager
│   │   ├── klevr               // Actual `Klevr` agent binary
│   │   └── main.go             // main source code of the Agent
│   └── klevr-manager
│       ├── Docker -> ../../Dockerfile/manager  // Binary artifact send to this directory for Docker build  
│       ├── Makefile
│       └── main.go             // main source code of the Manager
├── conf
│   ├── klevr-manager-db.sql.create        // Database for Manager initializing & running
│   ├── klevr-manager-db.sql.modify        // Database for 
│   └── klevr-manager-local.yml // Config file for Manager running
├── pkg
│   ├── common                  // 'common' package directory
│   │   ├── config.go
│   │   ├── error.go
│   │   ├── http.go
│   │   ├── log.go
│   │   └── orm.go
│   ├── communicator            // 'communicator' package directory
│   │   ├── README.md
│   │   └── communicator.go
│   └── manager                 // 'manager' package directory
│       ├── api.go
│       ├── api_agent.go
│       ├── api_install.go
│       ├── api_legacy.go
│       ├── api_model.go
│       ├── handler.go
│       ├── persist_model.go
│       ├── repository.go
│       └── server.go
├── go.mod
├── go.sum
└── scripts                    // Operation script for Provisioning
    └── [Provisioning scripts]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 70.1%
  • JavaScript 26.7%
  • Shell 2.0%
  • Other 1.2%