Commit graph

107 commits

Author SHA1 Message Date
Shubham Sharma
8c58055afe cloudstream: delete metrics connection on cancel
Signed-off-by: Shubham Sharma <vyagh.vy@gmail.com>
2026-05-19 14:32:32 +05:30
WillardHu
abc4d847c6 Enhance the error handling of beehive modules
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-10-24 19:08:17 +08:00
KubeEdge Bot
386b129823
Merge pull request #6196 from Dhiren-Mhatre/test/improve-cov-containerexec-connection
[test]:improve coverage of containerexec_connection_test.go in cloud/…
2025-05-15 09:43:53 +08:00
WillardHu
1eecc0356f Replace tab with 4 space in all license headers
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-05-09 18:06:01 +08:00
WillardHu
ad162da294 New node job status framework, Image prepull job implements it, fix some lint issue
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-04-18 10:46:00 +08:00
Dhiren-Mhatre
805f0126f4 [test]:create test for tunnelserver in cloud/pkg/cloudstream/
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-03-20 17:10:44 +05:30
Dhiren-Mhatre
b3d8fbbd12 [test]:improve coverage of containerexec_connection_test.go in cloud/pkg/cloudstream
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-03-17 17:34:47 +05:30
Dhiren-Mhatre
64f8f70dbb [test]:create test for session.go in cloud/pkg/cloundstream
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-02-12 15:10:24 +05:30
KubeEdge Bot
1eac7fc9ca
Merge pull request #6062 from WillardHu/fix-iptables
Make iptablesmanager platform-specific
2025-01-08 15:25:14 +08:00
WillardHu
e6c03af4da Make iptablesmanager platform-specific
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-07 11:30:06 +08:00
wbc6080
0b4d92f3b6 Use queue to store pod for retry
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-12-28 17:06:27 +08:00
wbc6080
be02494c4c update configmap when delete cloudcore
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-12-26 09:53:38 +08:00
cuishuang
1e0c2ea90d fix: fix slice init issue
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-09-26 14:55:33 +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
Shelley-BaoYue
799869ae31 fix lint
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2024-07-11 21:23:10 +08:00
KubeEdge Bot
afc8f7f403
Merge pull request #5656 from Shelley-BaoYue/bump-k8s-1.29
Bump k8s version to  1.29.6
2024-07-11 09:55:54 +08:00
KubeEdge Bot
7b71e0fe80
Merge pull request #5684 from 1Shubham7/cloudstream-test-2
Test coverage for `cloudstream` package
2024-07-10 16:01:53 +08:00
Shelley-BaoYue
6e5022c111 modification for k8s v1.29
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2024-07-08 19:50:52 +08:00
Shubham Singh
e4fa3d60f9
added test coverage for cloudstream package
Signed-off-by: GitHub <noreply@github.com>
2024-06-25 15:03:09 +00:00
Shubham Singh
5ae482f0c6
added tests coverage for cloudstream.go
Signed-off-by: GitHub <noreply@github.com>
2024-06-21 12:13:59 +00:00
dehaocheng
8bc26fcc6d add kubectl attach code
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io>
2023-04-25 17:43:45 +08:00
Shelley-BaoYue
ddcb948576 support kubectl attach
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
(cherry picked from commit 7cee5b0a6bb808575cbe4885a5d65ec2c0dbe717)
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io>
2023-03-23 14:05:10 +08:00
vincentgoat
7f4e11115e stream server painc if close channel wrongly
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2023-01-14 17:30:25 +08:00
Fish-pro
47b565270b Use errors.Is to check for a specific error
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-01-06 11:27:07 +08:00
KubeEdge Bot
42e90305d7
Merge pull request #3970 from xuxiawei/fix/streamserver
stream: fix double log print
2022-06-27 20:26:10 +08:00
KubeEdge Bot
d73720f4e9
Merge pull request #3971 from xuxiawei/perf/stream
optimize lock release to improve performance
2022-06-24 11:37:07 +08:00
xuxiawei
34f69d04b9 optimize lock release to improve performance
Signed-off-by: xuxiawei <xiawei.xu@daocloud.io>
2022-06-23 16:33:35 +08:00
xuxiawei
1f3d0827ec fix double log print
Signed-off-by: xuxiawei <xiawei.xu@daocloud.io>
2022-06-23 16:23:56 +08:00
xuxiawei
fff4eb5370 fix err log return
Signed-off-by: xuxiawei <xiawei.xu@daocloud.io>
2022-06-23 16:12:50 +08:00
KubeEdge Bot
777334522c
Merge pull request #3764 from snstaberah/master
add min TLS version for stream server
2022-04-16 17:49:40 +08:00
snstaberah
4e64e1e245 add min TLS version for stream server
Signed-off-by: snstaberah <yangyonglc@inspur.com>
2022-04-16 12:14:09 +08:00
chenlin.liu
bd4032f3d8 remove redundant type conversion
Signed-off-by: chenlin.liu <chenlin.liu@daocloud.io>
2022-04-06 14:40:20 +08:00
fei.lv4
73bc38fb2c fix remove os.Exit in updateNodeKubeletEndpoint
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

add edgestream catch errors and try to reconnect about update KubeletEndPoint failed.

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

fix review suggestion in #3571

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

fix format in cloudstream/tunnelserver.go

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

fix review suggestion

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

fix review suggestions

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>

fix review suggestiones

Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix remove os.Exit in updateNodeKubeletEndpoint
2022-01-28 11:34:23 +08:00
KubeEdge Bot
eecaacaf9e
Merge pull request #3499 from stingshen/stingshen/node_duplicate_ip
Identify session not by IP of node for exec
2022-01-04 14:12:12 +08:00
shenyi
358c79c2be Identify session not by IP of node for exec
And format error logging

Signed-off-by: shenyi <shenyi@cambricon.com>
2021-12-31 11:07:57 +08:00
KubeEdge Bot
f21168a283
Merge pull request #3529 from wangchenglong01/chl01
add detail log when failed to upgrade the websocket protocol
2021-12-30 21:11:07 +08:00
wangchl01
0b5d39a613 add detail log when failed to upgrade the websocket protocol
Signed-off-by: Cookie Wang <luckymrwang@163.com>
2021-12-30 10:49:50 +08:00
KubeEdge Bot
30697912a8
Merge pull request #3461 from zhu733756/optimize-the-iptables-manager
optimize the iptables manager
2021-12-14 16:30:52 +08:00
zhu733756
34ea3fc811 optimize the iptables manager
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
2021-12-13 11:38:17 +08:00
gy95
bdfa27f019 replace deprecated package io/ioutil with packages io and os
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-12-11 14:53:30 +08:00
fei.lv4
fc5d9b68d0 fix pod exec is not close conn when edgecore is closed
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
2021-12-01 18:02:26 +08:00
KubeEdge Bot
c50af6aa38
Merge pull request #3277 from chenchunxiu/b2-multi-cloudcore
change kubeletEndpoint port when cloudstream conneted
2021-11-30 17:43:36 +08:00
chenchunxiu
30a32b54eb add retry for node status update
Signed-off-by: chenchunxiu <chenchunxiu_yewu@cmss.chinamobile.com>
2021-11-29 09:23:23 +08:00
KubeEdge Bot
1dd38889f5
Merge pull request #3265 from zhu733756/iptables-daemonset
Optional loosely-coupled iptables manager for containerized deployment
2021-11-23 21:35:23 +08:00
zhu733756
dee189af38 Optimize startup configuration
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
2021-11-23 21:00:11 +08:00
zhu733756
50d9460700 fix useless forwordPort, add node affinity to the iptables manager ds
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
2021-11-18 17:49:29 +08:00
chenchunxiu
a4e55bca87
Merge branch 'master' into b2-multi-cloudcore 2021-11-17 14:38:43 +00:00
Haines Chan
94738a9eee Add type check for each implementation of Module interface
Signed-off-by: Haines Chan <hainescx@gmail.com>
2021-11-15 10:43:24 +08:00
chenchunxiu
41748122a6 change kubeletEndpoint port when cloudstream conneted
Signed-off-by: chenchunxiu <chenchunxiu_yewu@cmss.chinamobile.com>
2021-11-08 17:52:37 +08:00