Skip to content
代码片段 群组 项目
未验证 提交 c6f8aae7 编辑于 作者: Danny McCormick's avatar Danny McCormick 提交者: GitHub
浏览文件

Temporarily skip deleting beam-performancetests-singlestoreio-12661373176 (#33545)

* Add printing to k8s script

* Temporarily skip bad namespace

* Update stale_k8s_workload_cleaner.sh

* Add context

* Update for all singlestore io instances
上级 6b3783fb
No related branches found
No related tags found
无相关合并请求
......@@ -43,7 +43,10 @@ function should_teardown() {
gcloud container clusters get-credentials io-datastores --zone us-central1-a --project apache-beam-testing
while read NAME STATUS AGE; do
if [[ $NAME =~ ^beam-.+(test|-it) ]] && should_teardown $AGE; then
# Regex has temporary workaround to avoid trying to delete beam-performancetests-singlestoreio-* to avoid getting stuck in a terminal state
# See https://github.com/apache/beam/pull/33545 for context.
# This may be safe to remove if https://cloud.google.com/knowledge/kb/deleted-namespace-remains-in-terminating-status-000004867 has been resolved, just try it before checking in :)
if [[ $NAME =~ ^beam-.+(test|-it)(?!s-singlestoreio) ]] && should_teardown $AGE; then
kubectl delete namespace $NAME
fi
done < <( kubectl get namespaces --context=gke_${PROJECT}_${LOCATION}_${CLUSTER} )
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册