Hi! Could someone tell me if there's any difference between the kubectl option " . . .

Antonio Mateo:
Hi! Could someone tell me if there’s any difference between the kubectl option “–dry-run=client” and just “–dry-run” as the default value is none. Thanks in advance!

tavora:
from the docs:

Must be “none”, “server”, or “client”. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.

tavora:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands

unnivkn:
Hi @Antonio Mateo --dry-run is deprecated and is replaced with --dry-run=client

Bighnesh Kumar Pati:
Thank you @unnivkn and @tavora for the links ! : )