This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b474612178f7223dfe19195ab8c883f2d84d9e50
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Sep 24 12:18:20 2019 +0200

    Regen docs
---
 .../kubernetes-resources-quota-component.adoc      | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git 
a/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc 
b/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc
index d878591..a502aee 100644
--- 
a/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc
+++ 
b/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc
@@ -111,3 +111,36 @@ The component supports 2 options, which are listed below.
 - createResourcesQuota
 - deleteResourcesQuota
 
+== Kubernetes Resource Quota Producer Examples
+
+- listResourcesQuota: this operation list the Resource Quotas on a kubernetes 
cluster
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:list").
+    
toF("kubernetes-resources-quota:///?kubernetesClient=#kubernetesClient&operation=listResourcesQuota").
+    to("mock:result");
+--------------------------------------------------------------------------------
+
+This operation return a List of Resource Quotas from your cluster
+
+- listResourcesQuotaByLabels:  this operation list the Resource Quotas by 
labels on a kubernetes cluster
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listByLabels").process(new Processor() {
+
+            @Override
+            public void process(Exchange exchange) throws Exception {
+                Map<String, String> labels = new HashMap<>();
+                labels.put("key1", "value1");
+                labels.put("key2", "value2");
+                
exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_RESOURCES_QUOTA_LABELS,
 labels);
+            }
+        });
+    
toF("kubernetes-resources-quota:///?kubernetesClient=#kubernetesClient&operation=listResourcesQuotaByLabels").
+    to("mock:result");
+--------------------------------------------------------------------------------
+
+This operation return a List of Resource Quotas from your cluster, using a 
label selector (with key1 and key2, with value value1 and value2)
+

Reply via email to