Skip to content

Using Kops loadbalancer to access services installed on the cluster #17360

Open
@ankur6ue

Description

@ankur6ue

Hello, I'm attempting to access web services running on the cluster through the network load balancer created by Kops, through which kubctl accesses the kubernetes API server.

I first created a nginx pod on the cluster and verified and exposed it via nodeport service and then via loadbalancer. I verified I can access it from my desktop using both.

Now I'm trying to access the nginx pod through the kops created loadbalancer. To do this, I created a target group as shown below

Image

I pointed that targetgroup to a port on the controlplane instance, where a nodeport service is listening

Image

I can access the nginx server via the nodeport service by typing instance ip address:nodeport service port number, but not via the network load balancer..

Any tips on how to set this up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions