# Dry Run

> How do you test a kubectl command or manifest without actually creating or changing the resource, and what is the difference between client and server dry...

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-dry-run
Last updated: 2026-11-28

Difficulty: Beginner

## Question

How do you test a kubectl command or manifest without actually creating or changing the resource, and what is the difference between client and server dry run?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

--dry-run=client, --dry-run=server, kubectl diff, Admission Webhooks, YAML Generation

Previous: [Pod Security (Admission)](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pod-security-policies) · Next: [Force Delete](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-delete-force) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Port Forwarding](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-port-forwarding)
- [CRDs](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-custom-resource-definitions)
- [Operators](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-operators-pattern)
- [Etcd Role](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-etcd-role)
- [VPA](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-vertical-pod-autoscaler)
- [Cluster Autoscaler](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-cluster-autoscaler)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
