Merge pull request #7567 from danfengliu/debug-ns-deletion-hung-issue

Delete ns using kubectl
This commit is contained in:
qiuming
2024-04-01 13:31:55 +08:00
committed by GitHub
3 changed files with 33 additions and 18 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func (n *NodePort) Init() error {
n.NSIncluded = &[]string{}
for nsNum := 0; nsNum < n.NamespacesTotal; nsNum++ {
createNSName := fmt.Sprintf("%s-%00000d", n.CaseBaseName, nsNum)
n.namespaceToCollision = append(n.namespaceToCollision, createNSName+"tmp")
n.namespaceToCollision = append(n.namespaceToCollision, createNSName+"-tmp")
*n.NSIncluded = append(*n.NSIncluded, createNSName)
}