kubectl run docker image code example
Example 1: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 2: kubectl logs with grep
kubectl log bino | grep "error unable-to-access-website" >> John/Doe/Bino/log.txt
Example 3: how to login to docker inside kubernetes cluster
kubectl create secret docker-registry regcred --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>