Welcome to the Linux Foundation Forum!

Lab 3.5 - pt 6. Viewing webpage.

following Lab 3.5 pt 6, If I run
kubectl expose deployment nginx --type=LoadBalancer

I can curl the new IP + port 80, but the task is to view the nginx page svc IP + port# from a browser, and that is not working for me.

I have no firewalls or anything blocking comms, if anything it would be a subnet issue.

Running TCP dump from worker node in previous Lab was fine. So between VM's I'm good.
Local to VM's over 192.168.0.X subnet is fine because I can SSH into the VMs.
Kubernetes to Local I think maybe the issue.
My nginx svc IP is : 10.108.192.92:32753

Local PC: 192.168.0.x/24

VM's: 192.168.0.x/24
Docker: 172.17.X.X/16 (docker0)
Calico Config:

  • name: CALICO_IPV4POOL_CIDR
    value: "10.0.0.0/16"

Comments

  • @jacksom09 said:
    following Lab 3.5 pt 6, If I run
    kubectl expose deployment nginx --type=LoadBalancer

    I can curl the new IP + port 80, but the task is to view the nginx page svc IP + port# from a browser, and that is not working for me.
    https://snaptube.cam/
    I have no firewalls or anything blocking comms, if anything it would be a subnet issue.

    Running TCP dump from worker node in previous Lab was fine. So between VM's I'm good.
    Local to VM's over 192.168.0.X subnet is fine because I can SSH into the VMs.
    Kubernetes to Local I think maybe the issue.
    My nginx svc IP is : 10.108.192.92:32753

    Local PC: 192.168.0.x/24

    VM's: 192.168.0.x/24
    Docker: 172.17.X.X/16 (docker0)
    Calico Config:

    • name: CALICO_IPV4POOL_CIDR
      value: "10.0.0.0/16"

    I got this,..

  • ykapeliu
    ykapeliu Posts: 1

    In case someone will have the same issue and land here (like I did).
    Make sure you have the right port, in my case it was 30424.

    nginx LoadBalancer 10.105.142.183 80:30424/TCP 19m

Categories

Upcoming Training