Welcome to the Linux Foundation Forum!

LF258 - Cannot access Service through Nodeport in lab 9.2

skopos
skopos Posts: 18
edited October 7 in LFS258 Class Forum


I am unable to access Service via curl
My environment is hosted in my workstation

Best Answer

  • chrispokorni
    chrispokorni Posts: 1,603
    Answer ✓

    Hi @skopos,

    Is your application exposing port 8080?
    Does your host computer know who k8scp is? Can the host system resolve that hostname or alias?

    Regards,
    -Chris

Answers

  • xplo8
    xplo8 Posts: 1
    edited November 14

    I had the same issue, additionally the CP does not seem to be able to access the endpoints directly. Node to node interface is working fine but the next abstracted layer seems to be having some issues with the configuration steps provided

  • chrispokorni
    chrispokorni Posts: 1,603

    Hi @xplo8,

    What type of infrastructure are you using? Are you on cloud instances or a local hypervisor?
    With the cluster in its current state, what are the outputs of:

    kubectl get nodes -o wide

    kubectl get pods -A -o wide

    Regards,
    -Chris

  • skopos
    skopos Posts: 18

    For me, the issue was originated from a config map done in previous labs.
    I set to default state and it ran smoothly.
    Thank you @chrispokorni and Tim for the kind help.

Categories

Upcoming Training