diff --git a/pom.xml b/pom.xml
index 45990f2..c41a8f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,10 +77,16 @@
3.1.1
provided
+
+ io.fabric8
+ kubernetes-client-api
+ 6.13.3
+
io.fabric8
kubernetes-client
- 5.12.4
+ 6.13.3
+ runtime
redis.clients
@@ -99,4 +105,4 @@
provided
-
\ No newline at end of file
+
diff --git a/src/main/java/net/azisaba/kuvel/Kuvel.java b/src/main/java/net/azisaba/kuvel/Kuvel.java
index 49dc1c5..629def6 100644
--- a/src/main/java/net/azisaba/kuvel/Kuvel.java
+++ b/src/main/java/net/azisaba/kuvel/Kuvel.java
@@ -7,13 +7,14 @@
import com.velocitypowered.api.plugin.Plugin;
import com.velocitypowered.api.plugin.annotation.DataDirectory;
import com.velocitypowered.api.proxy.ProxyServer;
-import io.fabric8.kubernetes.client.DefaultKubernetesClient;
import io.fabric8.kubernetes.client.KubernetesClient;
import java.io.File;
import java.nio.file.Path;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
+
+import io.fabric8.kubernetes.client.KubernetesClientBuilder;
import lombok.Getter;
import net.azisaba.kuvel.config.KuvelConfig;
import net.azisaba.kuvel.discovery.impl.redis.RedisLoadBalancerDiscovery;
@@ -57,7 +58,7 @@ public Kuvel(ProxyServer server, Logger logger, @DataDirectory Path dataDirector
@Subscribe
public void onProxyInitialization(ProxyInitializeEvent event) {
- client = new DefaultKubernetesClient();
+ client = new KubernetesClientBuilder().build();
kuvelConfig = new KuvelConfig(this);
try {