Skip to content

dayu-autostreamer/dayu-sedna

Repository files navigation

Dayu-Sedna

Brief Introduction

This project is based on Sedna(https://github.com/kubeedge/sedna).

We added the "jointmultiedgeservice" section to complete our functionality.

Feature

We extended the "jointinferenceservice" section to implement the following features:

  • Only cloudWorker or edgeWorker can be deployed separately
  • Multiple Edgeworkers can be deployed at once
  • Add the file field for file mounting
  • Add the log_level field to match logs
  • Mounts the ~/.kube/config of the cluster so that pod can obtain cluster information
  • add ServiceConfig to use nodePort mode for communication

Quick Start

We assume that you have finished the k8s and kubeedge installation

  • git clone

    git clone https://github.com/dayu-autostreamer/dayu-sedna.git
  • install sedna

    curl https://raw.githubusercontent.com/kubeedge/sedna/main/scripts/installation/install.sh

    modify the TMP_DIRSEDNA_VERSION and image(adayoung/sedna-gm:v0.3.12 and adayoung/sedna-lc:v0.3.12)

    SEDNA_ACTION=create bash install.sh
  • yaml example(sedna-modified/build/crd-samples/sedna/jointmultiedgeservice_v1alpha1.yaml at main · dayu-autostreamer/dayu-sedna (github.com))

    kubectl apply -f <yaml-name>
  • get infomation

    kubectl get pod -n <namespace-name>
    kubectl get deploy -n <namespace-name>
    kubectl get svc -n <namespace-name>
    kubectl get mulji -n <namespace-name>

How to Build

clone repository

git clone https://github.com/dayu-autostreamer/dayu-sedna

set meta information of building

# configure buildx buildkitd (default as empty, example at hack/resource/buildkitd_template.toml)
vim hack/resource/buildkitd.toml
# configure buildx driver-opt (default as empty, example at hack/resource/driver_opts_template.toml)
vim hack/resource/driver_opts.toml

# set docker meta info
# default REG is docker.io
# default REPO is dayuhub
# default TAG is v1.0
export REG=xxx
export REPO=xxx
export TAG=xxx

build gm/lc/kb image

make docker-cross-build

Releases

No releases published

Packages

No packages published