calm-coat-56369
02/07/2024, 12:41 PMapiVersion: v1
kind: Pod
metadata:
name: dns-debugger
namespace: default
spec:
containers:
- name: dns-utils
image: busybox
command:
- sleep
- "3600" # Der Container wird 1 Stunde lang laufen, um Zugang zu haben.
restartPolicy: Never
root@NODE-0:~# kubectl exec -it dns-debugger -- nslookup google.de
;; connection timed out; no servers could be reached
command terminated with exit code 1
root@NODE-0:~# kubectl exec -it dns-debugger -- ping google.de
ping: bad address 'google.de'
command terminated with exit code 1