Horje
delete namespace stuck in terminating Code Example
delete namespace stuck in terminating
# inline version

kubectl get namespace "stucked-namespace" -o json   | tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/"   | kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -
namespace stuck in terminating
kubectl get namespace "stucked-namespace" -o json \
  | tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
  | kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -




Shell

Related
bash wait for input to continue Code Example bash wait for input to continue Code Example
ubuntu ram check ssh Code Example ubuntu ram check ssh Code Example
remove local commiits Code Example remove local commiits Code Example
git force sync with remote Code Example git force sync with remote Code Example
fix windows and linux time Code Example fix windows and linux time Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13