spurin / diveintokcna

Dive Into Containers, Kubernetes and the Kubernetes Cloud Native Associate Certification
34 stars 11 forks source link

[Lab Issue]: <Command Can be updated> #23

Closed Sujin451 closed 8 months ago

Sujin451 commented 8 months ago

How is the lab being run?

Docker Desktop Extension

Operating System

Windows

Browser

Chrome

Lab Details

Kubernetes Pods Lab

Issue Description

CommandUpdate_Suggestion

NGINX_IP=$(kubectl get pods -o wide | awk '/nginx/ { print $6 }'); echo $NGINX_IP

The above command might nota always show the IP as if there is restarts of the pod then the field value should be considered as as print $8 instead of 6. Its good to mention that or replace awk command to look for IP only.

Additional Feedback

No response

spurin commented 8 months ago

Hi @Sujin451 - For now I'm going to leave this one as it is and track going forward. I'm trying where possible to keep the labs on a 1:1 basis with the lessons. I think or at least hope, this was a one off network transient blip that can sometimes happen.

I very much appreciate you raising this. Will close the issue for now but will reference this one again, if it crops back up.

Sujin451 commented 8 months ago

Thanks for addressing this . No worries

Regards Sujin

On Mon, 4 Mar 2024, 9:30 pm James Spurin, @.***> wrote:

Hi @Sujin451 https://github.com/Sujin451 - For now I'm going to leave this one as it is and track going forward. I'm trying where possible to keep the labs on a 1:1 basis with the lessons. I think or at least hope, this was a one off network transient blip that can sometimes happen.

I very much appreciate you raising this. Will close the issue for now but will reference this one again, if it crops back up.

— Reply to this email directly, view it on GitHub https://github.com/spurin/diveintokcna/issues/23#issuecomment-1977402040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUP35XHNAEPJLLXDAF6L3VLYWTKXZAVCNFSM6AAAAABDZG2R4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXGQYDEMBUGA . You are receiving this because you were mentioned.Message ID: @.***>