For creating pod , I can use kubectl run for creating deployment , I user kubect . . .

Rahul:
for creating pod , I can use kubectl run
for creating deployment , I user kubectl create
This is right?
I saw in 1 solution , they were using kubectl run --generator=run-pod/v1 - to create pod:open_mouth:

Madhan Kumar:
tutorial needs to be upated . in latest version of kubernetes run is just used for pods .