EvanLjp commented on issue #4800:
URL: https://github.com/apache/skywalking/issues/4800#issuecomment-630598959


   Similar to cluster-kubernetes-plugi, it's depends on 
   <dependency>
               <groupId>io.kubernetes</groupId>
               <artifactId>client-java</artifactId>
           </dependency>
   
   
   the api is  use event to watch: watch = Watch.createWatch(client, 
api.listNamespacedPodCall(namespace, null, null, null, null, labelSelector, 
Integer.MAX_VALUE, null, null, Boolean.TRUE, null, null), new 
TypeToken<Watch.Response<V1Pod>>() {
               }.getType());
   
   and spring cloud config is already implement it ,you can refer to this
   
   
https://github.com/spring-cloud/spring-cloud-kubernetes/tree/master/spring-cloud-kubernetes-config


----------------------------------------------------------------
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:
[email protected]


Reply via email to