@Override
    public List<InstanceEntity> selectInstances(final String selectKey) {
        List<KubernetesInstance> instanceList = kubernetesClient.selectInstances(selectKey);
        return instanceList.stream().map(instance -> InstanceEntity.builder()
                .appName(instance.getServiceId())
                .host(instance.getHost())
                .port(instance.getPort())
                .uri(getURI(instance))
                .build()).collect(Collectors.toList());
    }
The type kubernetes instance register repository.
shenyu-registry/shenyu-registry-kubernetes/src/main/java/org/apache/shenyu/registry/kubernetes/KubernetesInstanceRegisterRepository.java