Kubernetes DNS Operations: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 8: | Line 8: | ||
<syntaxhighlight lang='text'> | <syntaxhighlight lang='text'> | ||
kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools | kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools | ||
</syntaxhighlight> | |||
<syntaxhighlight lang='text'> | |||
kubectl run dnsutils --image=tutum/dnsutils --generator=run-pod/v1 --command -- sleep infinity | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 22:58, 22 September 2020
Internal
Troubleshooting DNS Resolution
To run a pod that comes with DNS troubleshooting tools:
kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools
kubectl run dnsutils --image=tutum/dnsutils --generator=run-pod/v1 --command -- sleep infinity