Git Product home page Git Product logo

gaia's Introduction

gaia

multi-cluster management

Chart Repo

Add the following repo to use the chart:

helm repo add hyperos http://121.40.102.76:30088/charts/hyperos

Install Configuration

# parameter
common:
  clusterName: cluster1
  # Start different controllers by specifying the cluster level, and decide whether to install gaia-scheduler.
  # value: 'cluster', 'field' or 'global'
  clusterLevel: cluster
  mcSource: prometheus
  # Prometheus address of the current cluster
  promUrlPrefix: "http://prometheus-kube-prometheus-hypermoni.hypermonitor:9090"
  useHypernodeController: true
  topoSyncBaseUrl: "http://ssiexpose.synccontroller.svc:8080"
  networkBindUrl: http://nbi.domain1.svc.cluster.local/v1.0/network/scheme        # only on field level
  resourceBindingMergePostURL: http://192.168.101.73:37100/api/server/preScheduleSchemeReceiver
  # get label from hypernode if true, or get labels from node 
  useNodeRoleSelector: true
  aliyunSourceSite: '[{"content":"47.111.131.212","type":"ipaddr","priority":"20","port":80,"weight":"10"}]'



# example
## upgrade or install if not exist
helm upgrade --install -n gaia-system gaia hyperos/gaia --version=2.1.0-alpha \
  --set common.clusterLevel=global  \
  --set common.topoSyncBaseUrl=http://192.168.101.11:31555

Deploy

global

Run the following command in global cluster

helm repo update hyperos
helm install -n gaia-system gaia hyperos/gaia --create-namespace --version=2.1.0-alpha  \
  --set common.clusterLevel=global

field

Run the following command in field cluster

helm repo update hyperos
helm install -n gaia-system gaia hyperos/gaia --create-namespace --version=2.1.0-alpha \
  --set common.clusterLevel=field

cluster

Run the following command in cluster cluster

helm repo update hyperos
helm install -n gaia-system gaia hyperos/gaia --create-namespace --version=2.1.0-alpha \
  --set common.clusterLevel=cluster

Upgrade

If the crd changes, you need to upgrade or reinstall the crd.

global

Run the following command in global cluster

helm repo update hyperos
helm upgrade -n gaia-system gaia hyperos/gaia --version=2.1.0-alpha \
  --set common.clusterLevel=global

filed

Run the following command in field cluster

helm repo update hyperos
helm upgrade -n gaia-system gaia hyperos/gaia --version=2.1.0-alpha \
  --set common.clusterLevel=field

cluster

Run the following command in cluster cluster

helm repo update hyperos
helm upgrade -n gaia-system gaia hyperos/gaia --version=2.1.0-alpha \
  --set common.clusterLevel=cluster

gaia's People

Contributors

hqingl avatar lmxia avatar ssider avatar summerlm avatar vk-fengz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vk-fengz hqingl

gaia's Issues

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.