CompTIA Linux+ XK0-005 Practice Question
A Linux administrator is deploying an application on Kubernetes and needs to ensure that two containers (a web server and a caching service) share the same network and storage resources. Which of the following is the BEST option to achieve this requirement?
Deploy both containers within a single pod
Use a DaemonSet to ensure that both containers run on each node in the cluster
Create a new Kubernetes service to facilitate communication between two standalone pods
Launch separate pods for each container and use a service to link them