Kubernetes DNS Operations: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Kubernetes Operations") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Kubernetes_Operations#Subjects|Kubernetes Operations]] | * [[Kubernetes_Operations#Subjects|Kubernetes Operations]] | ||
* [[Kubernetes_DNS_Concepts#DNS_Operations|Kubernetes DNS Concepts]] | |||
=Troubleshooting DNS Resolution= | |||
{{External|https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution}} | |||
To run a pod that comes with DNS troubleshooting tools: | |||
<syntaxhighlight lang='text'> | |||
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> |
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