Git Product home page Git Product logo

console's Introduction

KubeSphere Console

Gitpod ready-to-code License: AGPL v3

KubeSphere console is the web interface for KubeSphere.

KubeSphere Console

Getting Started

Console should be always used with KubeSphere, you can either use Kubekey or ks-installer to create a KubeSphere cluster.
The following will show you how to build console from source code.

Prerequisite

Node.js

Console is written using Javascript. If you don't have a Node.js development environment, please set it up. The minimum version required is 12.18.

Yarn

We use Yarn to do package management. If you don't have yarn, use the following to install:

npm install -g [email protected]

The minimum version required is 1.22.4, but you can use a newer version.

[Optional]Docker

This is optional. If you just want to test and build on your local environment, there is no need to install docker. Otherwise, you need to install it. Install on Mac Install on Windows Install on Ubuntu

[Optional]Make

This is optional too, we use make to reduce hand work, but it's totally ok without it.

How to build

Clone the repository, and run yarn && yarn build

git clone https://github.com/kubesphere/console.git
cd console/
yarn && yarn build
npm run serve

If you have trouble downloading the dependencies, try the following

yarn config set registry https://registry.npm.taobao.org

After npm run serve, you should see the output like the following

> kubesphere-console@master serve
> NODE_ENV=production node server/server.js

Dashboard app running at port 8000

Now, console is up and running. But since there is no backed KubeSphere cluster, you shouldn't be able to login.

How to debug

A KubeSphere cluster is required to start debugging. You can refer to Installation to create a KubeSphere cluster.

Once the cluster is up, you replace the address of ks-apiserver in server/config.yaml with your real address. You can refer to access KubeSphere apiserver to expose your cluster ks-apiserver.

  # backend service gateway server
  apiServer:
    clientID: kubesphere
    clientSecret: kubesphere
    url: http://ks-apiserver
    wsUrl: ws://ks-apiserver

How to build container image

Just run the following command with your real REPO address.

REPO=yourawesomerepo make container

How to submit a PR

Follow Development Workflow to commit your codes.

Features Map:

Features Map

Support, Discussion, and Community

If you need any help with KubeSphere, please join us at Slack Channel.

Please submit any KubeSphere Console bugs, issues, and feature requests to KubeSphere Console GitHub Issue.

Contributing to the project

Welcome to contribute to KubeSphere Console, see Contributing Guide.

The KubeSphere localization project has been launched on Crowdin. You can help localize the KubeSphere web console by referring to the localization guide.

console's People

Contributors

123liubao avatar cw514102209 avatar dependabot[bot] avatar felixnoo avatar feynmanzhou avatar fuchunlan avatar harrisonliu5 avatar johnniang avatar justahole avatar ks-ci-bot avatar ks-crowdin-bot avatar leoendless avatar linuxsuren avatar liuboaibc avatar live77 avatar liyefox avatar mangogoforward avatar mrxyy avatar patrickluoyu avatar rayzhou2017 avatar serenashe avatar shaowenchen avatar sherlock113 avatar turtlechang avatar weili520 avatar wengzhisong-hz avatar xuliwenwenwen avatar ydfu avatar ymh1028 avatar zheng1 avatar

Watchers

 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.