Giter Club home page Giter Club logo

standalone-kubesphere's Introduction

standalone-kubesphere

This repo helps you install KubeSphere Core in another Kubernetes cluster.

Prerequisites

Two k8s clusters, one named kind-kubesphere-member, another named cluster kind-kubesphere-control-plane. You are assumed to install KubeSphere in cluster kind-kubesphere-control-plane which connects cluster kind-kubesphere-member. In this tutorial, we use kind to create two clusters.

Create two clusters with kind(optional)

Edit config/member-config config/control-plane-config and replace apiServerAddress with your own host machine ip.

make create-cluster

If everything goes well, run kubectl config get-contexts and you will get the following results:

CURRENT   NAME                            CLUSTER                         AUTHINFO                        NAMESPACE
*         kind-kubesphere-control-plane   kind-kubesphere-control-plane   kind-kubesphere-control-plane
          kind-kubesphere-member          kind-kubesphere-member          kind-kubesphere-member

Create configmap in kubesphere-control-plane cluster

make generate-cm

Create KubeSphere-Core manifests in kubesphere-member cluster

make deploy-kubesphere-member

Deploy KubeSphere-Core in kubesphere-control-plane cluster

make deploy-kubesphere-control-plane

Visit KubeSphere

Open your browser and enter http://localhost:30880, use admin/P@88w0rd to log into the console.

Clean Up

make clean-up

TODO

  1. Support running webhook alone
  2. Support ks-console connects to ks-apiserver by modifying console cm
  3. Support installing KubeSphere in another namespace instead of in kubesphere-system only.(leader election&Constant&Cluster Controller&Api dispatch&Devops s2i binary hardcoded)
  4. Support launching kubectl pod with --kubeconfig flag.
  5. Supprot installing monitoring agent in kubesphere-member cluster.

standalone-kubesphere's People

Contributors

swiftslee avatar

Watchers

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