[camel-k] branch master updated: Reviewed the affinity trait doc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[camel-k] branch master updated: Reviewed the affinity trait doc

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 9970054  Reviewed the affinity trait doc
9970054 is described below

commit 997005499853a2cbd9c6309d5266f4f38e54366e
Author: aldettinger <[hidden email]>
AuthorDate: Fri Nov 8 19:56:26 2019 +0100

    Reviewed the affinity trait doc
 docs/modules/ROOT/pages/traits.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/modules/ROOT/pages/traits.adoc b/docs/modules/ROOT/pages/traits.adoc
index b694679..9595740 100644
--- a/docs/modules/ROOT/pages/traits.adoc
+++ b/docs/modules/ROOT/pages/traits.adoc
@@ -120,15 +120,15 @@ $ kamel run -t affinity.node-affinity-labels="kubernetes.io/hostname in(node-66-
 * To schedule a single integration pod per node (using the `Exists` operator):
-$ kamel run -t affinity.node-anti-affinity-labels="camel.apache.org/integration" ...
+$ kamel run -t affinity.pod-anti-affinity-labels="camel.apache.org/integration" ...
 * To co-locate the integration pod(s) with other integration pod(s):
-$ kamel run -t affinity.node-affinity-labels="camel.apache.org/integration in(it1, it2)" ...
+$ kamel run -t affinity.pod-affinity-labels="camel.apache.org/integration in(it1, it2)" ...
 The labels options follow the requirements from https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors[Label selectors]. They can be multi-valuated, then the requirements list is ANDed, e.g., to schedule a single integration pod per node AND not co-located with the Camel K operator pod(s):
-$ kamel run -t affinity.node-anti-affinity-labels="camel.apache.org/integration" -t affinity.node-anti-affinity-labels="camel.apache.org/component=operator" ...
+$ kamel run -t affinity.pod-anti-affinity-labels="camel.apache.org/integration" -t affinity.pod-anti-affinity-labels="camel.apache.org/component=operator" ...
 More information can be found in the official Kubernetes documentation about https://kubernetes.io/docs/concepts/configuration/assign-pod-node/[Assigning Pods to Nodes].