kubemark: static binary, replace deprecated --log-file parameter

The --log-file parameter will be deprecated as of Kubernetes 1.23 and should be
avoided. The replacement for distroless images is the image with go-runner, a
tool that handles output redirection.

For kubemark to run in that image it must be built as static binary.
This commit is contained in:
Patrick Ohly
2021-11-04 11:33:00 +01:00
parent 23df2b97f7
commit c3cd9a3902
3 changed files with 13 additions and 7 deletions

View File

@@ -336,6 +336,7 @@ readonly KUBE_STATIC_LIBRARIES=(
kube-proxy
kubeadm
kubectl
kubemark
)
# Fully-qualified package names that we want to instrument for coverage information.