Skip to content

Commit 531f280

Browse files
authored
Merge pull request #13578 from mburke5678/nodes-remove-ansible
Removing Ansible from Nodes topics
2 parents a1b47e8 + b164944 commit 531f280

5 files changed

+21
-45
lines changed

modules/nodes-containers-projected-volumes-about.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ An application using these resources could be deploying OpenStack on Kubernetes.
2020

2121
*ConfigMap + Secrets.*::
2222
Projected volumes allow you to deploy containers involving configuration data and passwords.
23-
For example, you might execute an Ansible playbook stored as a configmap, with some sensitive encrypted tasks that are decrypted using a vault password file.
23+
For example, you might execute a configmap with some sensitive encrypted tasks that are decrypted using a vault password file.
2424

2525
*ConfigMap + Downward API.*::
2626
Projected volumes allow you to generate a config including the pod name (available via the `metadata.name` selector). This application can then pass the pod name along with requests in order to easily determine the source without using IP tracking.

modules/nodes-nodes-problem-detector-about.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,5 @@ to catch kernel problems and application crashes on the host.
108108
The Node Problem Detector consumes resources. If you use the Node Problem Detector, make sure you have enough nodes to balance cluster performance.
109109
====
110110

111-
If `openshift_node_problem_detector_install` was set to `true` in the *_/etc/ansible/hosts_* inventory file,
112-
the installation creates a Node Problem Detector daemonset by default and creates a project for the detector, called `openshift-node-problem-detector`.
113111

114112

modules/nodes-nodes-problem-detector-installing.adoc

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,31 @@
55
[id='nodes-nodes-problem-detector-installing_{context}']
66
= Installing the {product-title} node problem detector
77

8-
If the Node Problem Detector is not installed, you can use an Ansible playbook to install the tool.
9-
10-
[NOTE]
11-
====
12-
Because the Node Problem Detector is in Technology Preview, the `openshift_node_problem_detector_install` is set to `false` by default.
13-
You must manually change the parameter to `true` when installing the Node Problem Detector.
14-
====
8+
You can use the {product-title} console to subscribe to the Node Problem Detector subscription,
9+
which creates the Node Problem Detector Operator.
1510

1611
.Procedure
1712

1813
To install the Node Problem Detector:
1914

20-
. Change to the playbook directory:
21-
+
22-
[source,bash]
23-
----
24-
$ cd /usr/share/ansible/openshift-ansible
25-
----
15+
.Procedure
2616

27-
. Edit the the *_/etc/ansible/hosts_* inventory file:
28-
+
29-
[source,bash]
30-
----
31-
openshift_node_problem_detector_install=`true`
32-
----
17+
To subscribe to the subscription:
18+
19+
. In the {product-title} console, click *Catalog* -> *Operator Hub* -> *node-problem-detector*.
3320

34-
. Use the following command to run the playbook to install Node Problem Detector:
21+
. In the *node-problem-detector* overview, click *Install*.
22+
23+
. In *Create Operator Subscription*:
24+
25+
.. Select the operator.
26+
27+
.. Select the update channel.
28+
29+
.. Select the approval strategy.
30+
+
31+
*Automatic*.
3532
+
36-
[source,bash]
37-
----
38-
$ ansible-playbook playbooks/openshift-node-problem-detector/config.yml
39-
----
33+
*Manual*.
4034

35+
. Click *Subscribe*.

modules/nodes-nodes-problem-detector-uninstalling.adoc

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,3 @@ If you need to remove the Node Problem Detector follow the steps below.
1010
.Procedure
1111

1212
To uninstall the Node Problem Detector:
13-
14-
. Add following options in Ansible inventory file:
15-
+
16-
[source,yaml]
17-
----
18-
[OSEv3:vars]
19-
openshift_node_problem_detector_state=absent
20-
----
21-
22-
. Change to the playbook directory and run the *_config.yml_* Ansible playbook:
23-
+
24-
[source,bash]
25-
----
26-
$ cd /usr/share/ansible/openshift-ansible
27-
$ ansible-playbook playbooks/openshift-node-problem-detector/config.yml
28-
----
29-

modules/nodes-nodes-viewing-listing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Non-terminated Pods: (14 in total) <10>
127127
kube-system master-api-m01.example.com 0 (0%) 0 (0%) 0 (0%) 0 (0%)
128128
kube-system master-controllers-m01.example.com 0 (0%) 0 (0%) 0 (0%) 0 (0%)
129129
kube-system master-etcd-m01.example.com 0 (0%) 0 (0%) 0 (0%) 0 (0%)
130-
openshift-ansible-service-broker asb-1-hnn5t 0 (0%) 0 (0%) 0 (0%) 0 (0%)
130+
service-broker sb-1-hnn5t 0 (0%) 0 (0%) 0 (0%) 0 (0%)
131131
openshift-node sync-dvhvs 0 (0%) 0 (0%) 0 (0%) 0 (0%)
132132
openshift-sdn ovs-zjs5k 100m (5%) 200m (10%) 300Mi (3%) 400Mi (5%)
133133
openshift-sdn sdn-zr4cb 100m (5%) 0 (0%) 200Mi (2%) 0 (0%)

0 commit comments

Comments
 (0)