Add kubernets.client state
Add kubernetes.client state that allows to manage kubectl resources.
This patch adds support to manage node lables.
kubernetes:
client:
enabled: true
apiserver:
insecure_address: 0.0.0.0
insecure_port: 8080
resources:
enabled: true
label:
test:
value: enabled
node:
- cmp1
- cmp2
enabled: true
key: mylabel
Change-Id: Id9b3b21467ccc390977d47aba5034ac26e24502b
Related-Prod: PROD-27977
diff --git a/README.rst b/README.rst
index 263d1a3..3cf026d 100644
--- a/README.rst
+++ b/README.rst
@@ -1185,6 +1185,29 @@
test:
kind: User
+Manage client (kubectl resources)
+Assign labels to nodes:
+
+.. code-block:: yaml
+
+ kubernetes:
+ client:
+ enabled: true
+ apiserver:
+ insecure_address: 0.0.0.0
+ insecure_port: 8080
+ resources:
+ enabled: true
+ label:
+ test:
+ value: enabled
+ status: 'present'
+ node:
+ - cmp1
+ - cmp2
+ enabled: true
+ key: mylabel
+
More Information
================