jerrypeng commented on a change in pull request #3735: Implementing 
authentication for Pulsar Functions
URL: https://github.com/apache/pulsar/pull/3735#discussion_r262191642
 
 

 ##########
 File path: 
pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntimeFactory.java
 ##########
 @@ -158,6 +164,11 @@ public KubernetesRuntimeFactory(String k8Uri,
         this.expectedMetricsCollectionInterval = 
expectedMetricsCollectionInterval == null ? -1 : 
expectedMetricsCollectionInterval;
         this.secretsProviderConfigurator = secretsProviderConfigurator;
         this.functionInstanceMinResources = functionInstanceMinResources;
+        try {
+            setupClient();
+        } catch (Exception e) {
+            throw new RuntimeException(e);
 
 Review comment:
   will add

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to