Questo contenuto non è disponibile nella lingua selezionata.

Chapter 18. Managing technology preview features


You can enable or disable features that are Technology Preview by using feature flags.

Important

Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

18.1. Managing feature flags

18.1.1. Prerequisites

  • You have access to the environment where the RHACS component is deployed.
  • You have permission to modify environment variables.
  • You understand that the Technology Preview features might be incomplete and are provided with limited support.
  • You know if the flag for the Technology Preview feature needs to be configured before the deployment. Check the installation manifests to see if they use the required flag.

Procedure

  1. Identify the environment variable name associated with the feature flag. Consult the release notes or the /v1/featureflags API endpoint to identify the flag for the feature you want to enable or disable.
  2. Modify the feature flag by completing one of the following actions:

    • To enable a feature, configure the environment variable associated with the flag by setting its value to true. Configure this directly on the Kubernetes deployment or during installation by using the Helm chart or the Operator custom resource (CR).
    • To disable a feature, set the environment variable associated with the flag to false.
  3. After the application is restarted or redeployed, verify that the feature has been enabled or disabled by completing the following steps:

    • Check the output of the /v1/featureflags API endpoint.
    • Check the application functionality related to the feature.
    • Review logs or monitoring tools for any errors or confirmation messages.

18.1.2. Best practices

Follow these best practices for using the feature flag:

  • Always test feature changes in a staging environment before applying them to production.
  • Keep a record of all feature flags and their current status.
  • Be prepared to revert the changes if the feature causes issues.

18.1.3. Troubleshooting

Follow these troubleshooting guidelines:

  • If the feature does not appear, ensure that the environment variable is correctly named and set. Check application logs for any errors related to feature flag parsing.
  • If enabling a feature causes application errors, disable the feature and contact Red Hat Support.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.