Getting Started: Installation

Dependencies

Make sure the following dependencies are installed on the machine:

  1. Golangarrow-up-right: Shifu is created using Golang.

  2. Dockerarrow-up-right: Shifu's components are packaged into a Docker image.

  3. kindarrow-up-right: Kind is used to run Kubernetes local cluster with a Docker image.

  4. kubectlarrow-up-right: The commandline tool for Kubernetes operations.

  5. kubebuilderarrow-up-right: Kubebuilder is used for building CRDs.

Shifu requires a Kubernetes cluster created before starting. Use kind to quickly create one:

kind create cluster

Quick setup

Apply the shifu_install.yml file (located in shifu/k8s/crd/install/shifu_install.yml) for the quickest installation:

cd shifu
kubectl apply -f k8s/crd/install/shifu_install.yml

Step by step setup

A step by step steup is as follows:

Now a basic Shifu is running on your machine. The next step is to add new devices to it and start managing them.

Last updated