add support for node affinity, pod affinity/anti_affinity
Change-Id: I142f63687fe1e4ccd6c5836b88a18e92476eed6c
diff --git a/README.rst b/README.rst
index c81b3d7..3c72d92 100644
--- a/README.rst
+++ b/README.rst
@@ -516,6 +516,77 @@
- name: config
mount: /test
+Affinity
+--------
+
+podAffinity
+===========
+
+Example pillar:
+
+.. code-block:: bash
+
+ kubernetes:
+ control:
+ service:
+ memcached:
+ affinity:
+ pod_affinity:
+ name: podAffinity
+ expression:
+ label_selector:
+ name: labelSelector
+ selectors:
+ - key: app
+ value: memcached
+ topology_key: kubernetes.io/hostname
+
+podAntiAffinity
+===============
+
+Example pillar:
+
+.. code-block:: bash
+
+ kubernetes:
+ control:
+ service:
+ memcached:
+ affinity:
+ anti_affinity:
+ name: podAntiAffinity
+ expression:
+ label_selector:
+ name: labelSelector
+ selectors:
+ - key: app
+ value: opencontrail-control
+ topology_key: kubernetes.io/hostname
+
+nodeAffinity
+===============
+
+Example pillar:
+
+.. code-block:: bash
+
+ kubernetes:
+ control:
+ service:
+ memcached:
+ affinity:
+ node_affinity:
+ name: nodeAffinity
+ expression:
+ match_expressions:
+ name: matchExpressions
+ selectors:
+ - key: key
+ operator: In
+ values:
+ - value1
+ - value2
+
Volumes
-------