Skip to content

pepesi/kubegems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.github/workflows/build.yml

kubegem

under construction ... 🚧 🚧 🚧

Getting started

quick-start

Development

Run local

kubegems have 5 components:

  • service: provide kubegems api server.
  • msgbus: provide instant communication for service, agent and dashboard.
  • worker: execute long time task.
  • agent: proxy all request by service in a single cluster.
  • controller: reconcile all kubegems CRD requests.

Choose one of these component you want to run, then:

  1. prepare certs: cd scripts && bash generate-tls-certs.sh
  2. make build
  3. ./bin/kubegems {component} gencfg > config/config.yaml
  4. Modify config/config.yaml yourself, for different component, config.yaml is different, you can also use args or enironment variables.
  5. ./bin/kubegems {conpoment}

Debug by vscode

{
  "name": "service",
  "type": "go",
  "request": "launch",
  "mode": "debug",
  "program": "${workspaceFolder}/cmd",
  "cwd": "${workspaceFolder}", 
  "args": ["service"] // may also be msgbus, worker, agent, controller
}

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.1%
  • Other 1.9%