You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/19 06:30:38 UTC

[GitHub] [skywalking] panniyuyu opened a new issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

panniyuyu opened a new issue #6584:
URL: https://github.com/apache/skywalking/issues/6584


   ### Question
    I found that only one configmap resource can be read, When i use configuration-k8s-configmap in server-configuration module.
   
   In this reference:
   org.apache.skywalking.oap.server.configuration.configmap.ConfigurationConfigmapInformer#doStartConfigMapInformer
   
   and this part:
   SharedIndexInformer<V1ConfigMap> configMapSharedIndexInformer = factory.sharedIndexInformerFor(
               params -> coreV1Api.listNamespacedConfigMapCall(
                   settings.getNamespace(), null, null, null, null, settings.getLabelSelector()
                   , 1, params.resourceVersion, 300, params.watch, null
               ),
               V1ConfigMap.class, V1ConfigMapList.class
           );
   
   The parameter limit is fixed at 1. When I modify the parameter limit to null or 2, and i get a empty configmap.
   I think that different types of configurations are often divided into multiple configmaps to save. 
   What should i do?Looking forward your answer.


-- 
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:
users@infra.apache.org



[GitHub] [skywalking] panniyuyu commented on issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

Posted by GitBox <gi...@apache.org>.
panniyuyu commented on issue #6584:
URL: https://github.com/apache/skywalking/issues/6584#issuecomment-802664839


   In my scene, I want to save the alarm rules of different businesses in different configmaps. I can isolate the alarm rules of different businesses and facilitate management.In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   
   > No matter what style of k8s API says, we require all configurations in one setting with YAML format. As all other config centers did in the same way.
   > 
   > > The parameter limit is fixed at 1. When I modify the parameter limit to null or 2, and i get a empty configmap.
   > 
   > Back to this, I think this is not SkyWalking's responsibility. You are using k8s-client API directly. If you have any question, ask their community.
   
   In my scene, I want to save the alarm rules of different businesses in different configmaps. In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   


-- 
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:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6584:
URL: https://github.com/apache/skywalking/issues/6584#issuecomment-802669469


   > In my scene, I want to save the alarm rules of different businesses in different configmaps. I can isolate the alarm rules of different businesses and facilitate management.In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   > 
   > > No matter what style of k8s API says, we require all configurations in one setting with YAML format. As all other config centers did in the same way.
   > > > The parameter limit is fixed at 1. When I modify the parameter limit to null or 2, and i get a empty configmap.
   > > 
   > > 
   > > Back to this, I think this is not SkyWalking's responsibility. You are using k8s-client API directly. If you have any question, ask their community.
   > 
   > In my scene, I want to save the alarm rules of different businesses in different configmaps. In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   
   Management is your concern, not community's.


-- 
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:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6584:
URL: https://github.com/apache/skywalking/issues/6584#issuecomment-802651476


   No matter what style of k8s API says, we require all configurations in one setting with YAML format. As all other config centers did in the same way.
   
   > The parameter limit is fixed at 1. When I modify the parameter limit to null or 2, and i get a empty configmap.
   
   Back to this, I think this is not SkyWalking's responsibility. You are using k8s-client API directly. If you have any question, ask their community.


-- 
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:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6584:
URL: https://github.com/apache/skywalking/issues/6584


   


-- 
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:
users@infra.apache.org



[GitHub] [skywalking] panniyuyu commented on issue #6584: Why the server-configuration module can only read one configMap resource in k8s?

Posted by GitBox <gi...@apache.org>.
panniyuyu commented on issue #6584:
URL: https://github.com/apache/skywalking/issues/6584#issuecomment-802677173


   > > In my scene, I want to save the alarm rules of different businesses in different configmaps. I can isolate the alarm rules of different businesses and facilitate management.In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   > > > No matter what style of k8s API says, we require all configurations in one setting with YAML format. As all other config centers did in the same way.
   > > > > The parameter limit is fixed at 1. When I modify the parameter limit to null or 2, and i get a empty configmap.
   > > > 
   > > > 
   > > > Back to this, I think this is not SkyWalking's responsibility. You are using k8s-client API directly. If you have any question, ask their community.
   > > 
   > > 
   > > In my scene, I want to save the alarm rules of different businesses in different configmaps. In this way, we can isolate the alert rules of different businesses and facilitate management.In my opinion, this should be a more general requirement.
   > 
   > Management is your concern, not community's.
   
   I will think of another way, thank you for your answer.Thanks♪(・ω・)ノ


-- 
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:
users@infra.apache.org