Coder Social home page Coder Social logo

bcs's Introduction

BCS 插件

通过插件完成应用的生命周期管理。

MESOS

集群为Mesos类型的应用管理。

支持功能:

  • create: 部署实例
  • recreate
  • scale
  • rollingupdate
  • delete
  • signal
  • command

安装插件

  1. 下载源码

  2. 打包文件

# 假设下载后的目录为 a

cd a/bcs

# 生成包: bcs-1.0.0.tar.gz
python setup.py sdist
  1. 创建一个目录,包含bcs-1.0.0.tar.gz和task.json,然后打包生成.zip的文件

  2. 打开蓝盾APP,选择研发商店,点击工作台,点击新增插件,输入相应的信息

  3. 回到插件列表页,选择上架,然后上传前面步骤生成的zip包,进行插件的安装

  4. 点击插件名称,选择 设置 -> 私有设置, 新增如下配置:

    • APIGW_HOST: APIGW对应的host
    • APP_CODE: 插件访问apigw时的应用编码
    • APP_SECRET: 插件访问apigw时的应用TOKEN
    • IAM_HOST: IAM对应的HOST

注意

  1. 申请网关: bcs-api, paas-cd, bcs-cc的资源的权限
  2. 权限中心升级后,需要在bcs saas对应的db: bk_bcs_app, table: projects_functioncontroller中添加func_code: APP_CODE_SKIP_AUTH, wlist: app_code,这里app_code为上面在私有设置中添加的APP_CODE

bcs's People

Contributors

dellkeji avatar dependabot[bot] 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.