03 2021 档案
摘要:一般强制删除 kubernetes 的资源: kubectl delete <resource> <resourename> --grace-period=0 --force --wait=false强制删除不掉的话,可以使用: kubectl patch <resource> <resourena
阅读全文
摘要:Warning SyncLoadBalancerFailed 4m55s (x8 over 15m) service-controller Error syncing load balancer: failed to ensure load balancer: network.SubnetsClie
阅读全文
摘要:写个脚本 #!/bin/bash NAMESPACE=corekubectl proxy &kubectl get namespace $NAMESPACE -o json |jq '.spec = {"finalizers":[]}' >temp.jsoncurl -k -H "Content-T
阅读全文
摘要:https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=dnf
阅读全文
摘要:[root@***]# az aks install-cliDownloading client to "/usr/local/bin/kubectl" from "https://storage.googleapis.com/kubernetes-release/release/v1.20.4/b
阅读全文
摘要:执行DROP DATABASE testdb;的时候提示: ERROR: database "testdb" is being accessed by other users DETAIL: There are 3 other sessions using the database. 注:Postg
阅读全文