diff --git a/kubernetes-client-demo-parent/pom.xml b/kubernetes-client-demo-parent/pom.xml
index 1c30ebd..6bbcb61 100644
--- a/kubernetes-client-demo-parent/pom.xml
+++ b/kubernetes-client-demo-parent/pom.xml
@@ -17,7 +17,7 @@
3.0.0-M7
3.0.0-M7
5.9.1
- 6.13.0
+ 6.13.2
diff --git a/src/main/java/io/fabric8/CustomConfig.java b/src/main/java/io/fabric8/CustomConfig.java
index ee100de..7c95f39 100644
--- a/src/main/java/io/fabric8/CustomConfig.java
+++ b/src/main/java/io/fabric8/CustomConfig.java
@@ -7,8 +7,10 @@
public class CustomConfig {
public static void main(String[] args) {
+ int max = 512;
System.setProperty("kubernetes.disable.autoConfig", "true");
- Config config = new ConfigBuilder()
+ Config config = new ConfigBuilder(Config.autoConfigure(null))
+ .withMaxConcurrentRequests(max )
.build();
try (KubernetesClient client = new KubernetesClientBuilder().withConfig(config).build()) {
client.pods().list();