-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dnsutils image for DNS debugging (#18001)
DNS debugging documentation is using a busybox image as example. This image has different known issues with the way it resolves the DNS names in k8s, creating confusion with users that try to follow the docs. The e2e tests use a custom small image ~4.3MB for DNS testing with all the necessary tools. Also, the fact that this image is being used for the k8s e2e testing guarantees it's compatibility.
- Loading branch information
1 parent
a3c0cc6
commit d2dc2c6
Showing
2 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: dnsutils | ||
namespace: default | ||
spec: | ||
containers: | ||
- name: dnsutils | ||
image: gcr.io/kubernetes-e2e-test-images/dnsutils:1.3 | ||
command: | ||
- sleep | ||
- "3600" | ||
imagePullPolicy: IfNotPresent | ||
restartPolicy: Always |