From 00a2c9522f297774277c4e982d5b99cb91056acc Mon Sep 17 00:00:00 2001 From: Alexei Pastuchov Date: Thu, 9 May 2024 20:49:43 +0200 Subject: [PATCH] exercises 29: set correct selector value --- exercises/29-troubleshooting-service/solution/solution.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/29-troubleshooting-service/solution/solution.md b/exercises/29-troubleshooting-service/solution/solution.md index ef5bbbd1..f26536c7 100644 --- a/exercises/29-troubleshooting-service/solution/solution.md +++ b/exercises/29-troubleshooting-service/solution/solution.md @@ -66,7 +66,7 @@ Session Affinity: None Events: ``` -Upon inspecting the Deployment, you will find that the Pod template uses the label assignment `app=webapp`. The container port is set to 3000. This information doesn't match with the configuration of the Service. The endpoints of the `web-app` Service now points to the IP address and container port of the replicas controlled by the Deployment. +Upon inspecting the Deployment, you will find that the Pod template uses the label assignment `app=web-app`. The container port is set to 3000. This information doesn't match with the configuration of the Service. The endpoints of the `web-app` Service now points to the IP address and container port of the replicas controlled by the Deployment. ``` $ kubectl get endpoints -n y72 @@ -74,7 +74,7 @@ NAME ENDPOINTS AGE web-app 10.244.0.3:3000,10.244.0.4:3000 24m ``` -Edit the live object of the Service. Change the label selector from `run=myapp` to `app=webapp`, and the target port from 3001 to 3000. +Edit the live object of the Service. Change the label selector from `run=myapp` to `app=web-app`, and the target port from 3001 to 3000. ``` $ kubectl edit service web-app -n y72