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

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 oc command 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-admin privileges.

Procedure

  1. Add the following service configurations for the Optimize service (watcher) in your openstack_control_plane.yaml custom 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 example rabbitmq.
  2. Apply the changes to the OpenStackControlPlane CR:

    $ oc apply -f openstack-control-plane.yaml -n openstack

Verification

  1. Check the service status:

    $ oc wait -n openstack --for condition=Ready --timeout=300s OpenStackControlPlane openstack-control-plane
  2. Check that the watcher CR is ready:

    oc get watcher -n openstack

    Example output:

    NAME          STATUS          MESSAGE
    watcher       True            Setup complete
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo