Skip to content

Loadbalancer with SERVICE mode cannot discover newly created services #1970

@limo520

Description

@limo520

If the application is started before the Kubernetes service is created, it will fail to discover the service. It seems to be because CachingServiceInstanceListSupplier with KubernetesClientServicesListSupplier#get only query k8s services once on the first call.

I'm not sure if this is intentional or a bug, and the module involved is spring-cloud-kubernetes-client-loadbalancer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions