Question 321 · 357 in bank
You are porting an existing Apache/MySQL/PHP application stack from a single machine to Google Kubernetes Engine. You need to determine how to containerize the application. Your approach should follow Google-recommended best practices for availability. What should you do?
Show answer
Answer: A
Explanation
A. Package each component in a separate container. Implement readiness and liveness probes. This is the recommended approach for containerizing an application for use on Kubernetes. By packaging each component in a separate container, you can ensure that each component is isolated and can be managed independently. You can then use readiness and liveness probes to monitor the health and availability of each component, which will help ensure the overall availability of the application.
Source: Adapted from community discussion — omermahgoub
