kubectl delete dry run code example
Example 1: kubectl run create service
kubectl expose deployment/my-nginx
Example 2: kubectl run create service
service/my-nginx exposed
kubectl expose deployment/my-nginx
service/my-nginx exposed