Skip to content

Commit

Permalink
gha: retrieve additional coredns-related troubleshooting info
Browse files Browse the repository at this point in the history
This workflow is currently plagued by a flake where one of the pods
cannot reach an external endpoint, with curl timing out due to DNS:

  curl: (28) Resolving timed out after 2000 milliseconds\n"

Let's try to gather more info to understand if the issue is related
to Cilium or not.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
  • Loading branch information
giorio94 authored and julianwiedmann committed Mar 18, 2024
1 parent 5067744 commit b1774e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/conformance-clustermesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ jobs:
- 8.8.8.8
"
kubectl --context ${{ env.contextName1 }} -n kube-system get configmap coredns -o yaml | \
sed '/loadbalance/a \ log' | kubectl --context ${{ env.contextName1 }} replace -f -
kubectl --context ${{ env.contextName2 }} -n kube-system get configmap coredns -o yaml | \
sed '/loadbalance/a \ log' | kubectl --context ${{ env.contextName2 }} replace -f -
kubectl --context ${{ env.contextName1 }} patch deployment -n kube-system coredns --patch="$COREDNS_PATCH"
kubectl --context ${{ env.contextName2 }} patch deployment -n kube-system coredns --patch="$COREDNS_PATCH"
Expand Down Expand Up @@ -493,6 +498,9 @@ jobs:
kubectl get pods --all-namespaces -o wide
cilium sysdump --output-filename cilium-sysdump-context2-final-${{ join(matrix.*, '-') }}
kubectl --context ${{ env.contextName1 }} logs -n kube-system -l k8s-app=kube-dns --prefix --timestamps
kubectl --context ${{ env.contextName2 }} logs -n kube-system -l k8s-app=kube-dns --prefix --timestamps
if [ "${{ matrix.mode }}" == "external" ]; then
for i in {1..2}; do
echo
Expand Down

0 comments on commit b1774e1

Please sign in to comment.