Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Deploying the Optimize service in an existing RHOSO environment
If you have recently updated to Red Hat OpenStack Services on OpenShift (RHOSO) from version 18.0.13 or earlier, then you can add the Optimize service (watcher) to your existing RHOSO control plane to enable infrastructure resource optimization. Deploying the Optimize service allows you to create audits and action plans that improve resource utilization across your cloud environment.
The Red Hat OpenStack Services on OpenShift (RHOSO) control plane contains the RHOSO services that manage the cloud. The Optimize service (watcher) and the other RHOSO services run as a Red Hat OpenShift Container Platform (RHOCP) workload.
3.1. Creating the Optimize service in an existing RHOSO control plane Copiar o linkLink copiado para a área de transferência!
Enable the Optimize service (watcher) by adding its configuration to your existing Red Hat OpenStack Services on OpenShift (RHOSO) control plane custom resource. This configuration makes the service available for optimizing your infrastructure resource usage.
Prerequisites
-
You have the
occommand line tool installed on your workstation. -
You are logged on to a workstation that has access to the RHOSO control plane as a user with
cluster-adminprivileges.
Procedure
Add the following service configurations for the Optimize service (watcher) in your
openstack_control_plane.yamlcustom resource (CR) file:spec: notificationsBus: cluster: <rabbitmq_bus_name> ... watcher: enabled: true-
Replace
<rabbitmq_bus_name>with the RabbitMQ cluster that the OpenStack services use for notifications, for examplerabbitmq.
-
Replace
Apply the changes to the
OpenStackControlPlaneCR:$ oc apply -f openstack-control-plane.yaml -n openstack
Verification
Check the service status:
$ oc wait -n openstack --for condition=Ready --timeout=300s OpenStackControlPlane openstack-control-planeCheck that the watcher CR is ready:
oc get watcher -n openstackExample output:
NAME STATUS MESSAGE watcher True Setup complete