openyurtio / openyurt

OpenYurt - Extending your native Kubernetes to edge(project under CNCF)
https://openyurt.io
Apache License 2.0
1.68k stars 388 forks source link

[BUG]An abnormal status occurs in an EdgeX application deployed through openyurt-manger #2072

Closed HuangYuFe closed 2 weeks ago

HuangYuFe commented 1 month ago

What happened: When I created a node pool using YurtIotDock in the openyurt project, I added an edge server node to the node pool. I then created an EdgeX service using PlatformAdmin and plugged in a Modbus sensor for data monitoring. At first the whole system worked fine: 屏幕截图 2024-06-06 160259

but after a week I noticed that the service was abnormal。The number of EdgeX services in the cluster is starting to increase abnormally and is already running out of hardware resources: 屏幕截图 2024-06-06 154951 After I checked the status of the service, it prompted "Podetnodhard Conditien: [Disco Presul]." 屏幕截图 2024-06-06 155146 屏幕截图 2024-06-06 155225

What you expected to happen: Under normal circumstances, EdgeX applications should continue to work after deployment How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

others

/kind bug

rambohe-ch commented 3 weeks ago

@LavenderQAQ PTAL

LavenderQAQ commented 2 weeks ago

@HuangYuFe I don't have that problem repeated here. I saw a lot of evicted Pods in your picture. I guess your network environment is not very stable. Do you have yurthub deployed? In platformadmin's logic, no new copies are actively deployed, and the number of copies is always 1.

HuangYuFe commented 2 weeks ago

@LavenderQAQ Yes, I didn't deploy yurthub in the cluster, I'll try this method.