@Override
    public void init(final RegisterConfig config) {
        Properties properties = config.getProps();
        KubernetesConfig kubernetesConfig = new KubernetesConfig();
        kubernetesConfig.setDiscoveryServerUrl(config.getServerLists());
        kubernetesConfig.setEnabled(config.getEnabled());
        kubernetesConfig.setNamespaces(Arrays.asList(properties.getProperty("namespaces").split(",")));
        this.kubernetesClient = new KubernetesClient(kubernetesConfig);
    }
The type kubernetes instance register repository.
shenyu-registry/shenyu-registry-kubernetes/src/main/java/org/apache/shenyu/registry/kubernetes/KubernetesInstanceRegisterRepository.java