private List<Pod> getPods() {
        return kubernetesClient.pods()
                .inNamespace(namespace)
                .list()
                .getItems();
    }
Instantiates a new kubernetes registry.

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