Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKS-2344: Fix issue when cleaning unused CloudTower labels created by CAPE every 24h #168

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

haijianyang
Copy link
Contributor

@haijianyang haijianyang commented Jan 15, 2024

Issue

问题:集群节点虚拟机标签丢失。

定位:#167 定时清理标签没有加上 TotalNum = 0 的条件。

Change

定时清理标签补上 TotalNum = 0 的条件。

Test

运行程序前,已有的标签如下:
image

运行程序后,剩余标签如下:
image

sks-cluster-name:sks-e2e-i6cer3-k8s-scale-groups 创建的时间为 2024-01-14 12:58:21.523,运行清理的时间为 2024-01-14T10:00:52Z,所以没有被删除。

sks-cluster-name:test3 被一个虚拟机引用,所以没有被删除。

@haijianyang
Copy link
Contributor Author

#167

@jessehu jessehu changed the title SKS-2344: Fix cleaning unused CloudTower labels created by CAPE every 24h SKS-2344: Fix issue when cleaning unused CloudTower labels created by CAPE every 24h Jan 15, 2024
@haijianyang haijianyang merged commit 66ba3c9 into smartxworks:master Jan 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants