项目作者: oneinfra

项目描述 :
oneinfra web console
高级语言: CSS
项目地址: git://github.com/oneinfra/console.git
创建时间: 2020-05-03T10:45:30Z
项目社区:https://github.com/oneinfra/console

开源协议:

下载


oneinfra console

oneinfra console is the Web UI + proxy API to manage oneinfra
resources from your browser.

It is tightly tied to the oneinfra
project
.

Developing

In order to launch a local environment you will need to follow these
instructions:

  • Run make run-kind in the oneinfra/oneinfra project

    • This will start a kind single control plane cluster, deploying
      all backend required pieces and starting the oneinfra controller
      manager as a regular process in your machine. You will need it
      running if you want the reconcile cycles to execute while you
      alter resources.
  • Run the console API backend

    • Inside the api folder execute:

      1. SERVE_ARGS="--auth=kubernetes-secrets" JWT_KEY=thisisaverysecretjwtkey make run

      Where JWT_KEY is a key of your own. If it changes across
      executions, all user sessions will become invalid.

  • Run the frontend

    • Inside the frontend folder execute: yarn start.

If you are going to create clusters, you will need to create some
hypervisors where oneinfra will schedule them. You can run the
following command to create some local fake hypervisors:

  1. $ oi-local-hypervisor-set create | kubectl apply -f -

This will register the hypervisors in the management Kubernetes
cluster (kind in this case).