I have the following scenario,
I have two deployments on Kubernetes, my first deployment needs to be shut down due to some issue and user requests need to route to the second deployment and then the first deployment will shut down, once the second is up and running.
How would I route user requests from the first to the second? I know that there are readiness and liveness check but how would I specifically specify in the script to send the requests to the second deployment.
Based on my limited knowledge I believe there might be some other ways to re-route the traffic from the first deployment to second deployment. Also, my user request is a continuous video image being sent from the user to the Kubernetes system.
Thanks, help is highly appreciated.