Ajoutez une définition d'environnement à la propriété envs[] dans votre fichier de remplacement.
Notez que la propriété est un tableau. Par conséquent, vous pouvez y ajouter plusieurs définitions d'environnement.
Donnez au nouvel environnement le même nom que celui que vous avez créé dans l'interface utilisateur.
Par exemple, la configuration suivante définit deux environnements: test et prod:
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/04/09 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/04/09 (UTC)."],[[["This documentation is for Apigee hybrid version 1.8, which is end-of-life, and users should upgrade to a newer version."],["Creating a new environment in Apigee hybrid requires two steps: creating the environment in the management plane via the UI or API, and adding its configuration to the overrides file."],["New environment definitions should be added to the `envs[]` property in the overrides file, and multiple environments can be defined in this array."],["The name of the new environment defined in the overrides file must match the name created in the Apigee UI or API."],["After making changes to the overrides file, you will need to run the command `apigeectl apply -f overrides-file.yaml --all-envs` to update the cluster with the new configurations."]]],[]]