Welcome to the Linux Foundation Forum!

LF258 - Cannot access Service through Nodeport in lab 9.2

Posts: 21
edited October 2022 in LFS258 Class Forum


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

Welcome!

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

Best Answer

  • Posts: 2,434
    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

  • Posts: 1
    edited November 2022

    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

  • 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

  • Posts: 21

    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.

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