sedna.io/v1alpha1 -error

51 views
Skip to first unread message

Arun Nair

unread,
Dec 10, 2022, 3:04:25 AM12/10/22
to KubeEdge

Dear Friends,

did you try to set up Sedna on Kubeedge?

https://sedna.readthedocs.io/en/latest/index/quickstart.html

I am getting the following errors:

Error: error: unable to recognize "STDIN": no matches for kind "model" in version "sedna.io/v1alpha1"


Step1:
curl https://raw.githubusercontent.com/kubeedge/sedna/master/scripts/installation/all-in-one.sh | NUM_EDGE_NODES=1 bash -

Step 2: Run the steps as given in 

https://sedna.readthedocs.io/en/latest/index/quickstart.html

Then run  Step3:

kubectl create -f - <<EOF

apiVersion: sedna.io/v1alpha1
kind:  Model
metadata:
  name: helmet-detection-inference-big-model
  namespace: default
spec:
  url: "/data/big-model/yolov3_darknet.pb"
  format: "pb"
EOF


STEP 4: is Error:

error: unable to recognize "STDIN": no matches for kind "model" in version "sedna.io/v1alpha1"


I checked on the machine:

kubectl api-versions 

there is no api version by the name:sedna.io/v1alpha1


Please can you help?


Regards

Arunkumar Nair

Jie Pu

unread,
Jan 12, 2023, 8:30:43 PM1/12/23
to KubeEdge
I think there maybe two ways you can try:
- `All-in-one.sh` will create a cluster like 'minikube', so you will have two cluster then. you can login to the minikube cluster instead of the host cluster, then you will find that sedna model crd has been applied in it.
   you can find the master node of minikube by `docker ps`, and the container name would be like "sedna-control-plane", then you can login it by "docker exec -it <the container id> sh".
   the later command of sedna should be kept in this container of minikube master node.
- Ensure that the sedna model crd has been applied into the cluster. if not you can try  `kubeclt app -f build/crds/sedna`
Reply all
Reply to author
Forward
0 new messages