sedna: Joint Inference Service is failed on the agent
I am deploying Example1:Using Joint Inference Service in Helmet Detection Scenario.
In the last step Create joint inference service
, master is okay, but joint-inference-helmet-detection-little can’t work on the edge: you can see there is no pod on the edge(I have already had the big and little images locally and version is v0.4.3)
kubectl describe ji
:
Edge Worker:
Hard Example Mining:
Name: IBT
Parameters:
Key: threshold_img
Value: 0.9
Key: threshold_box
Value: 0.9
Model:
Name: helmet-detection-inference-little-model
Template:
Spec:
Containers:
Env:
Name: input_shape
Value: 416,736
Name: video_url
Value: rtsp://localhost/video
Name: all_examples_inference_output
Value: /data/output
Name: hard_example_cloud_inference_output
Value: /data/hard_example_cloud_inference_output
Name: hard_example_edge_inference_output
Value: /data/hard_example_edge_inference_output
Image: kubeedge/sedna-example-joint-inference-helmet-detection-little:v0.4.3
Image Pull Policy: IfNotPresent
Name: little-model
Resources:
Limits:
Memory: 2Gi
Requests:
Cpu: 100m
Memory: 64M
Volume Mounts:
Mount Path: /data/
Name: outputdir
Node Name: wspn2
Volumes:
Host Path:
Path: /joint_inference/output
Type: Directory
Name: outputdir
Status:
Active: 1
Conditions:
Last Heartbeat Time: 2022-03-23T13:34:59Z
Last Transition Time: 2022-03-23T13:34:59Z
Status: True
Type: Running
Last Heartbeat Time: 2022-03-23T13:34:59Z
Last Transition Time: 2022-03-23T13:34:59Z
Message: the worker of service failed
Reason: workerFailed
Status: True
Type: Failed
Failed: 1
Start Time: 2022-03-23T13:34:59Z
Events: <none>
on the edge, edgemesh and sedna are okay, but there is no joint-inference-helmet-detection-little
docker logs k8s_lc_lc-zlrzg_sedna
I have already tried to uninstall sdena and restart it again, the problem still exists.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (2 by maintainers)
OK,I solve this problem by check gm logs
check k8s service
kubectl get svc
delete svc
kubectl delete svc helmet-detection-inference-example-cloud
and deploy joint-inferenc is ok。 like this