The image related to https://github.com/kubernetes/perf-tests/tree/master/dns , avoid to install python-numpy and other dependent libraries.
https://github.com/kubernetes/perf-tests/tree/master/dns need to kubectl that connect Kubernetes cluster, so should mount kubectl command and kubeconfig to container.
# docker run -it --rm -v /usr/bin/kubectl:/usr/bin/kubectl -v /root/.kube:/root/.kube -v /tmp/out:/tmp/out af.hikvision.com.cn/docker-drpd/kubernetes/kube-perf-dns-amd64:1.0 /bin/bash
root@1c445c486f5f:/# cd perf-dns/
root@1c445c486f5f:/perf-dns# ls
Dockerfile Makefile OWNERS README.md cluster fixtures image ingest jsonify out params perf py pylintrc queries run sql
root@1c445c486f5f:/perf-dns# ./run core-dns /tmp/out
Content type
Image
Digest
Size
348.6 MB
Last updated
over 6 years ago
docker pull pytimer/kube-perf-dns-amd64:1.0