You are investigating issues in your production application that runs on Google Kubernetes Engine (GKE). You determined that the source of the issue is a recently updated container image, although the exact change in code was not identified. The deployment is currently pointing to the latest tag. You need to update your cluster to run a version of the container that functions as intended. What should you do?
- ACreate a new tag called stable that points to the previously working container, and change the deployment to point to the new tag.
- BAlter the deployment to point to the sha256 digest of the previously working container. (correct answer)
- CBuild a new container from a previous Git tag, and do a rolling update on the deployment to the new container.
- DApply the latest tag to the previous container image, and do a rolling update on the deployment.
Reveal answer & explanationHide answer
The correct answer is B. Option B: Alter the deployment to point to the sha256 digest of the previously working container.