Rolling update "www" containers of "frontend" deployment, updating the image:
kubectl set image deployment/frontend www=image:v2
Check the history of deployments including the revision:
kubectl rollout history deployment/frontend
Rollback to the previous deployment:
kubectl rollout undo deployment/frontend