Skip to content

Commit

Permalink
feat: check kube-proxy and coredns in diagnose
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Mar 12, 2020
1 parent 5b64a25 commit bdd021c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ for ns in $(kubectl get ns --no-headers -o custom-columns=NAME:.metadata.name);
done

kubectl rollout status daemonset/kube-ovn-pinger -n kube-system
kubectl rollout status deployment/coredns -n kube-system
echo "-------------------------------"
echo ""

Expand Down Expand Up @@ -933,10 +934,14 @@ vsctl(){
diagnose(){
kubectl get crd subnets.kubeovn.io
kubectl get crd ips.kubeovn.io
checkDaemonSet kube-proxy
checkDeployment ovn-central
checkDeployment kube-ovn-controller
checkDaemonSet kube-ovn-cni
checkDaemonSet ovs-ovn
checkDeployment coredns
type="$1"
case $type in
all)
Expand Down
3 changes: 3 additions & 0 deletions dist/images/kubectl-ko
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,13 @@ vsctl(){
diagnose(){
kubectl get crd subnets.kubeovn.io
kubectl get crd ips.kubeovn.io

checkDaemonSet kube-proxy
checkDeployment ovn-central
checkDeployment kube-ovn-controller
checkDaemonSet kube-ovn-cni
checkDaemonSet ovs-ovn
checkDeployment coredns
type="$1"
case $type in
all)
Expand Down

0 comments on commit bdd021c

Please sign in to comment.