Skip to content

Commit

Permalink
Add documentation to deploy RSCT (#111)
Browse files Browse the repository at this point in the history
Signed-off-by: Pravin Dsilva <pravin.d-silva@ibm.com>
  • Loading branch information
Pravin D Silva authored Mar 12, 2021
1 parent c357b66 commit ec7252f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
33 changes: 33 additions & 0 deletions docs/rsct-deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Deploy RSCT/RMC on an OCP Cluster on PowerVM
=========

These instructions will help you deploy the RSCT/RMC daemonset on an OCP cluster running on PowerVM:

**1. Setting up the inventory**

Use the instructions provided [here](https://github.com/ocp-power-automation/ocp4-playbooks#setting-up-inventory) to setup the inventory for your cluster. For deploying RSCT, you would only need to set the bastion host details in the inventory.


**2. Set up the variables**

Make use of the sample file at examples/rmc_vars.yaml.

```
cp examples/rmc_vars.yaml .
```

**3. Run the playbook to deploy RSCT**

The ocp-customization [module](https://github.com/ocp-power-automation/ocp4-playbooks/tree/master/playbooks/roles/ocp-customization) is used to deploy RSCT/RMC daemonset on the cluster.

```
ansible-playbook -i inventory -e @rmc_vars.yaml playbooks/customization.yaml
```

**4. Post deployment checks**

After the playbook execution completes, the daemonset and pods should be available in the `powervm-rmc` namespace on the cluster. Run the following command to list them:

```
oc get daemonset,pods -n powervm-rmc
```
2 changes: 2 additions & 0 deletions examples/rmc_vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
powervm_rmc: true
2 changes: 1 addition & 1 deletion playbooks/roles/ocp-customization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use this to modify kernel tunables for nodes/pods via [tuned operator](https://d
**3. RSCT/RMC**

Use this to deploy containerized version of [RSCT](https://www.ibm.com/support/knowledgecenter/SGVKBA) on every OCP node running on PowerVM infrastructure.
This is enabled by default when deploying OCP in PowerVM or PowerVS
This is enabled by default when deploying OCP in PowerVM or PowerVS. Follow the instructions provided [here](/docs/rsct-deploy.md) to deploy RSCT on an existing OCP cluster.

Requirements
------------
Expand Down

0 comments on commit ec7252f

Please sign in to comment.