Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gha: retrieve additional coredns-related troubleshooting info #31384

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/conformance-clustermesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,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 @@ -492,6 +497,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