under construction ... 🚧 🚧 🚧
kubegems have 5 components:
- service: provide kubegems api server.
- msgbus: provide instant communication for
service
,agent
anddashboard
. - 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:
- prepare certs:
cd scripts && bash generate-tls-certs.sh
make build
./bin/kubegems {component} gencfg > config/config.yaml
- Modify
config/config.yaml
yourself, for different component, config.yaml is different, you can also use args or enironment variables. ./bin/kubegems {conpoment}
{
"name": "service",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd",
"cwd": "${workspaceFolder}",
"args": ["service"] // may also be msgbus, worker, agent, controller
}