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

Test kubectl exec issue 357 #360

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hack/test-smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ EOF
INFO "Waiting for 3 replicas to be ready"
kubectl rollout status --timeout=5m statefulset

INFO "Ensure that kubectl exec works"
for f in {0..2}; do kubectl exec "dnstest-${f}" -- hostname; done
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vsoch I can't repro the issue

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll see if I can generate a test case - I was running an experiment today and didn't have the time!


INFO "Connecting to dnstest-{0,1,2}.dnstest.default.svc.cluster.local"
kubectl run -i --rm --image=alpine --restart=Never dnstest-shell -- sh -exc 'for f in $(seq 0 2); do wget -O- http://dnstest-${f}.dnstest.default.svc.cluster.local; done'

Expand Down