I want the command like follows:
docker run -d --net=host
How can I pass the --net=host params to the docker through kubectl.
You can set the "hostNetwork" field to true in the pod spec to enable host networking. See the kube-apiserver manifest for an example.