<p>From <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/" rel="nofollow noreferrer">this</a> article, I can specify 'userspace' as my proxy-mode, but I am unable to understand what command I need to use for it and at what stage? Like after creating deployment or service? 
I am running a minikube cluster currently.</p>

<p><a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/" rel="nofollow noreferrer"><code>kube-proxy</code></a> is a process that runs on each kubernetes node to <a href="https://supergiant.io/blog/understanding-kubernetes-kube-proxy/" rel="nofollow noreferrer">manage network connections coming into and out of kubernetes</a>.</p>

<p>You don't run the command as such, but your deployment method (usually kubeadm) configures the options for it to run. </p>

<p>As @Hang Du mentioned, in minikube you can modify it's options by editing the <code>kube-proxy</code> configmap and changing <code>mode</code> to <code>userspace</code></p>

<pre><code>kubectl -n kube-system edit configmap kube-proxy
</code></pre>

<p>Then delete the Pod. </p>

<pre><code>kubectl -n kube-system get pod
kubectl -n kube-system delete pod kube-proxy-XXXXX
</code></pre>
