GithubHelp home page GithubHelp logo

josonjiang / kubegems Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kubegems/kubegems

0.0 1.0 0.0 2.49 MB

KubeGems Core Service

Home Page: https://kubegems.io

License: Apache License 2.0

Shell 0.26% Python 0.62% Go 98.03% Makefile 0.21% Smarty 0.88% Dockerfile 0.01%

kubegems's Introduction

.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
}

kubegems's People

Contributors

jojotong avatar cnfatal avatar pepesi avatar zhanghe9702 avatar sunlintong avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.