Commit graph

43 commits

Author SHA1 Message Date
Haojie Zhang
65abb4d12d feat: split Device CRD into Device CRD and DeviceStatus CRD
Signed-off-by: Haojie Zhang <hjzhang6848@163.com>
2025-12-22 17:01:31 +00:00
wbc6080
033557769e Fix the reference to api/client after completing the migration
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-10 16:50:02 +08:00
wbc6080
990dde0972 Migrate client and openapi to the api directory and adjust dependency references
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-09 15:02:59 +08:00
wbc6080
1a7f933e58 Modify the way each component in kubeedge refers to API dependencies and change openapi and swagger after migrating
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-08 15:28:16 +08:00
jiawei
7402bf7817 cloud support device state
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
2024-07-19 11:13:42 +08:00
spambot000
b717535b38 cloudhub enhancement
Signed-off-by: spambot000 <jkjkjk0309@163.com>
2024-07-17 14:11:24 +00:00
luomengY
cfb03418dc Fix the status reporting of device to avoid issues defined by twin.
Signed-off-by: luomengY <2938893385@qq.com>
2024-03-28 13:14:23 +08:00
wbc6080
7ff72309d1 fix namespace problem in cloudcore
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-01-08 14:20:40 +08:00
wbc6080
755fb16126 fix device status problem
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2023-12-22 14:41:35 +08:00
luomengY
8ce463ce11 Define Twin based on properties in mapper.
Signed-off-by: luomengY <2938893385@qq.com>
2023-11-28 00:34:06 +08:00
cl2017
cd75cda7d8 device crd v1beta1 cloud
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
2023-09-22 13:00:03 +08:00
x00425595
74e4720952 refactor message layer
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-03-29 16:51:32 +08:00
gy95
d7e52d6c39 Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
Signed-off-by: gy95 <guoyao17@huawei.com>
2022-03-11 16:11:19 +08:00
WillardHu
7e5084b3ad use constants.MessageSuccessfulContent replace magic number 'OK'
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2021-09-08 11:09:55 +08:00
KubeEdge Bot
611e5d820b
Merge pull request #3025 from subpathdev/moreLogs
Handling node/*/membership/detail
2021-08-16 10:29:06 +08:00
Jan Unterbrink
1e21b2c6d4 don't throw warning on heart beat
Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de>

do nothing on receiving the filebeat

Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de>

its the heart beat ....

Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de>
2021-08-15 10:42:15 +02:00
gy95
1fdc003d89 use UpdateDeviceStatusWorkers as updateDeviceStatus routines
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-08-12 16:21:08 +08:00
Iceber Gu
e041edb16b
add GetContentData to get content data of []byte type
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-21 21:09:27 +08:00
fisherxu
5b14c020fc init dynamiccontroller
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-02-06 15:45:17 +08:00
xufei 00416946
f83607a053 refactor k8s and crd client in devicecontroller
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-01-15 11:59:47 +08:00
GsssC
f01eeff7f4 upgrade klog@0.4.0 to klog/v2@2.2.0 2020-11-20 17:31:57 +08:00
jidalong
521e2a3cb0 fix bug: cloud send twin_update confirm message to edge 2020-09-21 19:49:52 +08:00
Rio Zhu
a9e0c13290 Update upstream dependency to K8s 1.18.5
Co-authored-by: Yin Ding <dingyin@gmail.com>
Co-authored-by: Rio Zhu <32083634+zzxgzgz@users.noreply.github.com>

* Updated k8s to  1.18.5 and modified code around API changes.

* Updated kube-scheduler dependency.

* added filed ExperimentalTopologyManagerPolicy to matched the upgraded k8s

* Changed some dependencies' versions to x.18.0

* Added function to start cpu manager in clcm.
2020-08-03 09:42:11 -07:00
luogangyi
27091d1d8c upgrade device api from v1alpha1 to v1alpha2 2020-07-18 15:45:36 +08:00
kuramal
2ea223bc5c Change devicecontroller configuration access method from Get() to global variable 'Config'
Signed-off-by: kuramal <linxxnil@126.com>
2020-02-18 11:32:34 +08:00
zhangjie
17b531c62e edgecontroller module use new api config
Signed-off-by: zhangjie <iamkadisi@163.com>
2020-01-19 17:26:25 +08:00
zhuguihua
8822ad4d63 modify the return value of NewContextMessageLayer()
Signed-off-by: zhuguihua <zhuguihua@cmss.chinamobile.com>
2020-01-13 15:30:36 +08:00
zhangjie
03e15e9e14 delete useless message-layer config
Signed-off-by: zhangjie <iamkadisi@163.com>
2020-01-03 08:37:59 +08:00
zhangjie
a5ab8b630d Optimize the initialization of the edgecontroller module global variable
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-11-28 08:43:21 +08:00
zhangjie
64f66b7116 Optimize the initialization of the devicecontroller module global variable
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-11-22 16:17:05 +08:00
fisherxu
1621cdc04d remove cacheDevice and cacheDeviceModel 2019-11-19 17:23:55 +08:00
zhangjie
5cbd5652c4 delete ctx, cancel field from module struct
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-11-18 21:05:56 +08:00
zhangjie
6e1790e9fa cloudcore: Add a default initialization method for each module.
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-11-18 11:02:18 +08:00
zhangjie
1d27cbb803 bugfix:Use golang context to instead of stop channel, Solve the problem of outputting a large amount of logs after cloudcore exits
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-11-04 11:31:10 +08:00
zhangjie
6aac0ca0ac change message: from controller to devicecontroller
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-08-28 15:30:19 +08:00
zhangjie
66672260ca unifying other component logging library to klog
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-08-16 22:22:17 +08:00
zhangjie
7e9b4ddbc4 unifying cloud component logging library to klog
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-08-16 19:15:32 +08:00
sujithsimon22
bca062acca Fixed unmarshal issue in upstream.go 2019-08-06 12:41:43 +05:30
zhangjie
dcb9e617d6 clean useless log
Signed-off-by: zhangjie <iamkadisi@163.com>
2019-07-31 18:32:23 +08:00
fisherxu
4b75de0e89 move cloud/pkg/devicecontroller/apis to cloud/pkg/apis 2019-07-30 15:08:26 +08:00
Siddharth Bhadri
f9701268c4 fix nil pointer panic possibility in deviceController 2019-05-13 10:52:07 +05:30
lou-lan
11780dbdea Fix typo 2019-05-08 12:09:19 +08:00
m1093782566
3e5207070c update cloud path 2019-04-29 17:41:25 +08:00
Renamed from cloud/edgecontroller/pkg/devicecontroller/controller/upstream.go (Browse further)