Welcome to the Linux Foundation Forum!

Simple pod not reachable in CKAD simulator

Hello.
I tried the exam simulator today and created a pod running an nginx container in an exercise. The result looks as follows:
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES

project-plt-6cc-api 1/1 Running 0 8h 10.44.0.29 cluster1-worker1

Now. I'm not able to execute curl 10.44.0.29. I get a timeout.

If I do the same in my own cluster, the same pod specification works. But I have a 192.168... IP address.

Is that something special of the simulator? How can I solve the situation?

Thanks in advance for any help!
Thomas

Answers

  • chrispokorni
    chrispokorni Posts: 1,610

    Hi @thomasgrasse,

    The pod network may or may not be directly accessible to users (devs and admins) depending where the client CLI is running.

    If the client command runs directly on a cluster node, then the user has direct access to the Pod network - a set up used for labs in this course.

    If the client command runs on a remote host that is not on the cluster network, via this remote access mechanism the Pod network is no longer accessible to the user - requiring the user to expose the Pod via a Service prior to a validation attempt with curl.

    Regards,
    -Chris

Categories

Upcoming Training