dayu-sedna

module
v0.0.0-...-6058803 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0

README

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

build gm/lc/kb image

make docker-cross-build

Directories

Path Synopsis
cmd
pkg
apis/sedna/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/sedna/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/sedna/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
version/verflag
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
test
e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL