Skip to content

AdaYangOlzz/sedna-modified

Repository files navigation

Sedna-modified

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/AdaYangOlzz/sedna-modified.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 master · AdaYangOlzz/sedna-modified (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 gm/lc image

    make WHAT=gm
    make gmiamge
    make WHAT=lc
    docker buildx build --platform linux/arm64,linux/amd64 --build-arg GO_LDFLAGS="" -t repo:5000/adayoung/sedna-lc:v0.3.12 -f build/lc/Dockerfile . --push

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published