mirror of https://github.com/abpframework/eventhub
1 changed files with 5 additions and 0 deletions
@ -1,7 +1,12 @@ |
|||||
|
$currentFolder = $PSScriptRoot |
||||
|
Set-Location $currentFolder |
||||
|
|
||||
kubectl delete -f .\corednsms.yaml --ignore-not-found=true |
kubectl delete -f .\corednsms.yaml --ignore-not-found=true |
||||
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns --ignore-not-found=true |
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns --ignore-not-found=true |
||||
kubectl rollout status deployment --namespace kube-system coredns |
kubectl rollout status deployment --namespace kube-system coredns |
||||
kubectl delete certificate eh-az-account-tls |
kubectl delete certificate eh-az-account-tls |
||||
|
|
||||
sleep 60 |
sleep 60 |
||||
|
|
||||
kubectl apply -f .\corednsms.yaml |
kubectl apply -f .\corednsms.yaml |
||||
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns |
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns |
||||
Loading…
Reference in new issue