apiVersion: batch/v1
kind: Job
metadata:
name: test-dns
spec:
template:
restartPolicy: OnFailure
containers:
- image: busybox
imagePullPolicy: IfNotPresent
name: busybox
command:
- nslookup
- kubernetes