title: kubectl : --dry-run is deprecated and can be replaced with --dry-run=client
body: <p>I have aws-eks cluster and below is my command to replace existing the configuration.</p>
  <pre><code>kubectl create configmap flink-config --from-file=./config -o yaml --dry-run | kubectl replace -
  </code></pre>
  <p>but when I run this command. it gives an error like</p>
  <pre><code>W1009 17:00:14.998329  323115 helpers.go:553] --dry-run is deprecated and can be replaced with --dry-run=client.
  </code></pre>
  <p>Will it do the same thing If I replace -dry-run to -dry-run=client?</p>