Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.16 KB

install.md

File metadata and controls

60 lines (45 loc) · 2.16 KB

This guide covers how to install Sedna on an existing Kubernetes environment.

For interested readers, Sedna also has two important components that would be mentioned below, i.e., GM(GlobalManager) and LC(LocalController) for workerload generation and maintenance.

If you don't have an existing Kubernetes, you can:

  1. Install Kubernetes by following the Kubernetes website.
  2. Or follow quick start for other options.

Prerequisites

Deploy Sedna

Currently GM is deployed as a deployment, and LC is deployed as a daemonset.

Run the one liner:

curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/install.sh | SEDNA_ACTION=create bash -

It requires the network to access github since it will download the sedna crd yamls. If you have unstable network to access github or existing sedna source, you can try the way:

# SEDNA_ROOT is the sedna git source directory or cached directory
export SEDNA_ROOT=/opt/sedna
curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/install.sh | SEDNA_ACTION=create bash -

Debug

1. Check the GM status:

kubectl get deploy -n sedna gm

2. Check the LC status:

kubectl get ds lc -n sedna

3. Check the pod status:

kubectl get pod -n sedna

Uninstall Sedna

curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/install.sh | SEDNA_ACTION=delete bash -