To get cluster information, run kubectl cluster-info
For deploy nginx image from dockerhub, run kubectl create deployment nginx --image nginx
For expose port publicly, run kubectl expose deployment nginx --port 80 --type=NodePort
To get cluster information, run kubectl cluster-info
For deploy nginx image from dockerhub, run kubectl create deployment nginx --image nginx
For expose port publicly, run kubectl expose deployment nginx --port 80 --type=NodePort