Lightning Labs Lab 2

Print the names of all deployments in the admin2406 namespace in the following format:
DEPLOYMENT CONTAINER_IMAGE READY_REPLICAS NAMESPACE
<deployment name> <container image used> <ready replica count> <Namespace>
. The data should be sorted by the increasing order of the deployment name .

=====================

There is an issue where the tool is trying to compare the output with the one stored in /var/answers/

However the answer output is incorrect.

master $ /var/answers/answer2.mdDEPLOYMENT CONTAINER_IMAGE READY_REPLICAS NAMESPACE
deploy1 nginx 1 admin2406
deploy2 nginx:alpine 1 admin2406
deploy3 nginx:1.16 1 admin2406
deploy4 nginx:1.17 1 admin2406
deploy5 nginx:latest 1 admin2406
master $

Above output is compared against below
master $ cat /var/answers/answer2-data
DEPLOYMENT CONTAINER_IMAGE READY_REPLICAS NAMESPACE
deploy1 nginx 1 admin2406
deploy2 nginx:alpine 1 admin2406
deploy3 nginx:1.16 1 admin2406
deploy4 nginx:1.17 1 admin2406
deploy5 nginx:latest 1 admin2406
master $

which doesnt match as the format is incorrect

Hello @bkodekloud,

Can you please provide me with the Lab link?

https://kodekloud.com/courses/675080/lectures/14560177

Hi @bkodekloud,

You can find the solution at /var/answers/answer2.md, Kindly check the attached.
Note: If you faced any issues with the environment, try to refresh the page to restart the lab.