kurator

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: Apache-2.0

README

Kurator

Kurator is an open source distributed cloud native platform that helps users to build their own distributed cloud native infrastructure and facilitates enterprise digital transformation.

Kurator integrates popular cloud native software stacks including Karmada, KubeEdge, Volcano, Kubernetes, Istio, Prometheus, etc. It provides powerful capabilities to multi-cloud and multi-cluster, including:

  • Multi-cloud, Edge-cloud, Edge-edge Synergy
  • Unified Resource Orchestration
  • Unified Scheduling
  • Unified Traffic Management
  • Unified Telemetry

Quick start

This guide will cover:

  • Install Kurator
  • Install Karmada and join a Kubernetes member cluster
  • Install Istio
  • Install KubeEdge and join an edge node
  • Install Volcano
  • Install Prometheus
Install Kurator

Clone this repo to your machine:

git clone https://github.com/kurator-dev/kurator.git

Change to the Kurator directory:

cd kurator

Build Kurator:

make kurator

An executable file named kurator will be created at out/$(GOOS)-$(GOARCH)/

Put the kurator to the executable directory:

cp out/linux-amd64/kurator /usr/bin/
Local env setup
hack/local-dev-setup.sh

This script will create three clusters for you, one is used to host Karmada control plane and the other two will be joined as member clusters.

Install Karmada

Install Karmada control plane:

kurator install karmada --kubeconfig=/root/.kube/kurator-host.config

Join cluster member1:

kurator join karmada member1 \
    --cluster-kubeconfig=/root/.kube/kurator-members.config \
    --cluster-context=kurator-member1

Join cluster member2:

kurator join karmada member2 \
    --cluster-kubeconfig=/root/.kube/kurator-members.config \
    --cluster-context=kurator-member2
Install Istio
kurator install istio --primary member1 --remote member2
Install KubeEdge

Install KubeEdge control plane:

kurator install kubeedge --cluster member1 --advertise-address=<ip>

Join edge node:

kurator join edge  --cluster member1 \
    --cloudcore-address=<ip:port> \
    --node-ip= <node ip>\
    -p="${NODE_PWD}"
Install Volcano
kurator install volcano
Install Prometheus
kurator install prometheus --primary member1

Contributing

If you're interested in being a contributor and want to get involved in developing the Kurator code, please see CONTRIBUTING for details on submitting patches and the contribution workflow.

License

Kurator is under the Apache 2.0 license. See the LICENSE file for details.

Directories

Path Synopsis
cmd
cluster-operator/aws
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v2.0.0/main.go
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v2.0.0/main.go
cluster-operator/capi
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api/blob/v1.2.5/main.go
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api/blob/v1.2.5/main.go
cluster-operator/options
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v1.5.1/main.go
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v1.5.1/main.go
cluster-operator/scheme
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v1.5.1/main.go
code in the package copied from: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/v1.5.1/main.go
pkg
apis/cluster/v1alpha1
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.kurator.dev +k8s:deepcopy-gen=package
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=cluster.kurator.dev +k8s:deepcopy-gen=package
apis/fleet/v1alpha1
Package v1alpha1 contains API Schema definitions for the fleet v1alpha1 API group +kubebuilder:object:generate=true +groupName=fleet.kurator.dev +k8s:deepcopy-gen=package
Package v1alpha1 contains API Schema definitions for the fleet v1alpha1 API group +kubebuilder:object:generate=true +groupName=fleet.kurator.dev +k8s:deepcopy-gen=package
apis/infra/v1alpha1
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io +k8s:deepcopy-gen=package
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io +k8s:deepcopy-gen=package
client-go/generated/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client-go/generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client-go/generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client-go/generated/clientset/versioned/typed/cluster/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client-go/generated/clientset/versioned/typed/cluster/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client-go/generated/clientset/versioned/typed/fleet/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client-go/generated/clientset/versioned/typed/fleet/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client-go/generated/clientset/versioned/typed/infra/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client-go/generated/clientset/versioned/typed/infra/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL