Red Hat Insights Advisor for Red Hat OpenShift, as an integral part of the Red Hat Hybrid Cloud Console, provides cluster-wide Insights recommendations—steps to proactively avoid potential issues on your clusters or help resolve existing ones. These recommendations are based on analytical data from the OpenShift clusters, and one of the components responsible for this data delivery is the Insights Operator. (See the Remote Health Monitoring chapter in the OpenShift documentation for more details.)
Insights Operator packages and sends data from the OpenShift cluster every two hours. This delay can be inconvenient when Insights makes recommendations, and you must confirm that you successfully addressed them. Waiting for up to two hours can be tedious, which is why we introduced the new on-demand data collection feature as a technology preview in OpenShift 4.14.
This new feature is centered around a new CustomResourceDefinition (CRD) datagathers.insights.openshift.io/v1alpha1. You can see the CRD and its instances under the CustomResourceDefinitions in the Administration menu:
![Screenshot of the CustomeResourceDefinitions window in Red Hat OpenShift](/rhdc/managed-files/styles/wysiwyg_full_width/private/insights-on-demand-data-img1.png?itok=ZzGWPvKk)
Instances of the CRD may already exist because a new instance of the DataGather resource is created each time the operator collects data. Note that these instances have the prefix periodic-gathering.
You can create your own instance of this resource by clicking the Create DataGather button. You must provide a unique resource name (i.e., there must be no resource with this name, for example, on-demand-collection-1). It looks like this:
![Screenshot of the Create DataGather window in Red Hat OpenShift](/rhdc/managed-files/styles/wysiwyg_full_width/private/insights-on-demand-data-img2.png?itok=1TxdS7Hs)
Creating a new DataGather resource is how you trigger a new Insights on-demand data collection. You can create the resource with the OpenShift command line interface using the following YAML definition:
apiVersion: insights.openshift.io/v1alpha1 kind: DataGather metadata: name: on-demand-data-collection spec: gatherers: - name: workloads state: Disabled
To confirm that you have entered the right values, you should see a new Pod in the openshift-insights namespace with the same name as the newly created resource:
![Screenshot of the Podss window in Red Hat OpenShift](/rhdc/managed-files/styles/wysiwyg_full_width/private/insights-on-demand-data-img3.png?itok=ikvrtXUz)
This Pod now runs a new data collection. Once finished, it uploads the data archive to Red Hat and checks if it was successfully processed. You can check the DataGather resource conditions on its Details page:
![Screenshot of the DataGather details window in Red Hat OpenShift](/rhdc/managed-files/styles/wysiwyg_full_width/private/insights-on-demand-data-img4.png?itok=hBfEN1Z-)
Once the gathering Pod completes successfully, the operator downloads new Insights analysis results. You will see the most recent Insights analysis result in the Insights status widget on the OpenShift WebConsole overview page. You can also check the insightsoperators.operators.openshift.io cluster resource, which provides information on active Insights recommendations:
![Screenshot of the Insights Operator YAML window in Red Hat OpenShift](/rhdc/managed-files/styles/wysiwyg_full_width/private/insights-on-demand-data-img5.png?itok=Pj5CvlYo)
What should you do?
We recommend using the on-demand gathering feature to validate critical recommendations and their remediations. This approach can help confirm your clusters are in the most optimized state and that you have mitigated potential or existing high severity issues.
Please note that this feature is currently in technology preview. As such, we are always looking for additional use cases and welcome any feedback that can help improve it. Please send your suggestions to insights@redhat.com.
Learn more
À propos de l'auteur
Tomas works in the Observability team for Red Hat OpenShift and focuses on data collection in OpenShift clusters and related operators.
Parcourir par canal
Automatisation
Les dernières nouveautés en matière d'automatisation informatique pour les technologies, les équipes et les environnements
Intelligence artificielle
Actualité sur les plateformes qui permettent aux clients d'exécuter des charges de travail d'IA sur tout type d'environnement
Cloud hybride ouvert
Découvrez comment créer un avenir flexible grâce au cloud hybride
Sécurité
Les dernières actualités sur la façon dont nous réduisons les risques dans tous les environnements et technologies
Edge computing
Actualité sur les plateformes qui simplifient les opérations en périphérie
Infrastructure
Les dernières nouveautés sur la plateforme Linux d'entreprise leader au monde
Applications
À l’intérieur de nos solutions aux défis d’application les plus difficiles
Programmes originaux
Histoires passionnantes de créateurs et de leaders de technologies d'entreprise
Produits
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Services cloud
- Voir tous les produits
Outils
- Formation et certification
- Mon compte
- Assistance client
- Ressources développeurs
- Rechercher un partenaire
- Red Hat Ecosystem Catalog
- Calculateur de valeur Red Hat
- Documentation
Essayer, acheter et vendre
Communication
- Contacter le service commercial
- Contactez notre service clientèle
- Contacter le service de formation
- Réseaux sociaux
À propos de Red Hat
Premier éditeur mondial de solutions Open Source pour les entreprises, nous fournissons des technologies Linux, cloud, de conteneurs et Kubernetes. Nous proposons des solutions stables qui aident les entreprises à jongler avec les divers environnements et plateformes, du cœur du datacenter à la périphérie du réseau.
Sélectionner une langue
Red Hat legal and privacy links
- À propos de Red Hat
- Carrières
- Événements
- Bureaux
- Contacter Red Hat
- Lire le blog Red Hat
- Diversité, équité et inclusion
- Cool Stuff Store
- Red Hat Summit