@Override
    public void destroy() {
        // unRegister consumer
        consumerListeners.forEach((k, v) -> unSubscribe(k));

        // close kubernetes client
        kubernetesClient.close();
    }
Instantiates a new kubernetes registry.

@param registryConfig
registry/registry-kubernetes/src/main/java/com/alipay/sofa/rpc/registry/kubernetes/KubernetesRegistry.java