Welcome to the Linux Foundation Forum!

Can't reach the webserver from cp in 2.18. LABS

Posts: 5
edited June 2024 in LFD259 Class Forum

Can't reach the webserver from cp.

kubectl get pod:
NAME READY STATUS RESTARTS AGE
basicpod 1/1 Running 0 56m

kubectl get svc:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
basicservice NodePort 10.108.216.177 80:31736/TCP 5s
kubernetes ClusterIP 10.96.0.1 443/TCP 3h8m

curl ifconfig.io:
3.70.175.20

i could't never reach the webserver from cp, from worker it has worked with the curl command

but now with:
curl http://3.70.175.20:31736
curl: (7) Failed to connect to 3.70.175.20 port 31736 after 0 ms: Couldn't connect to server
from cp and worker

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training