Giter Site home page Giter Site logo

k8d's Introduction

K8d

基于 Gitlab / Jenkins / Docker / K8s 的自动化部署平台

Get Start

Install

$ make install

Dev

$ npm run dev

build

$ make build

API

  • GET /manager/all_status 获取指定 namespace 下的所以 pod/service/deployment 状态信息
  • POST /manager/deploy 指定镜像部署服务

Request Body

{
  "image": "docker.xx.com/xxx:v1", // 镜像地址
  "imagePullPolicy": "IfNotPresent", // 镜像录取方式 Always、IfNotPresent
  "port": 9999, // 服务对外端口
  "minResource": {"cpu": "1G", "memory": "100M"}, // 限制机器资源
  "healthCheck": { // 健康检查
    "liveness": {"isOpen": false},  // 存活参数
    "readiness": {"isOpen": false} // 就绪参数
  },
  "appCode": "xxx" // deployment name
}

Author

K8d © Ricky 泽阳, Released under the MIT License.

k8d's People

Contributors

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