If i create an deplyoment object by using command kubectl create deployment --im . . .

Aman Jain:
If i create an deplyoment object by using command kubectl create deployment --image nginx nginx1 then how this object is created and how can i acess its configuration fike if it exist if not exist then how the object is created

Mohamed Ayman:
Check this

What about

kubectl get deployment nginx -o yaml