Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.42 KB

kind-cluster-setup.md

File metadata and controls

60 lines (42 loc) · 1.42 KB

Local Gödel Environment Setup with KIND

This guide will walk you through how to set up the Gödel Unified Scheduling system.

One-Step Cluster Bootstrap & Installation

We provided a quick way to help you try Gödel on your local machine, which will set up a kind cluster locally and deploy necessary crds, clusterrole and rolebindings

Prerequisites

Please make sure the following dependencies are installed.

  • kubectl >= v1.19
  • docker >= 19.03
  • kind >= v0.17.0
  • go >= v1.21.4
  • kustomize >= v4.5.7

1. Clone the Gödel repo to your machine

$ git clone https://github.com/kubewharf/godel-scheduler

2. Change to the Gödel directory

$ cd godel

3. Bootstrap the cluster and install Gödel components

$ make local-up

This command will complete the following steps:

  1. Build Gödel image locally;
  2. Start a Kubernetes cluster using Kind;
  3. Installs the Gödel control-plane components on the cluster.

Manual Installation

If you have an existing Kubernetes cluster, please follow the steps below to install Gödel.

1. Build Gödel image

make docker-images

2. Load Gödel image to your cluster

For example, if you are using Kind

kind load docker-image godel-local:latest --name <cluster-name> --nodes <control-plane-nodes>

3. Create Gödel components in the cluster

kustomize build manifests/base/ | kubectl apply -f -