Kubernetes DNS Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(3 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=
=Troubleshooting DNS Resolution=
{{External|https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-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

https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-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