Punj Prakash:
@Rahul Soni I am doing lightning lab 1. I have question on 2nd practice question. I ran $ kubectl exec -it webapp-color – sh and was able to do $ nc -z -v secure-service 80. But When I am trying get into secure-pod and trying to run netcat command. its saying not nc : not found
Punj Prakash:
master $ kubectl exec -it secure-pod – sh
nc -v secure-service 80
sh: 1: nc: not found
Rahul Soni:
Hey @Punj Prakash seems you need to install nc package. Can you try to install and check?
Punj Prakash:
ok thanks
Punj Prakash:
I used apt-get update and then apt install netcat. it works. Thanks @Rahul Soni for help!