Send feedback
Create environments
Stay organized with collections
Save and categorize content based on your preferences.
You are currently viewing version 1.5 of the
Apigee hybrid documentation. This version is end of life. You should upgrade to a
newer version. For more information, see
Supported versions .
Version 1.5 (unsupported) keyboard_arrow_down
This topic explains how to create new environments for Apigee hybrid. For an introduction, see
About environments and environment groups .
About environment creation
Environment creation is a two-step process:
Create an environment in the management
plane using either the UI or an Apigee API.
Add configuration for that environment
to your overrides file and apply it to the cluster.
The steps for adding an environment are described in adding and configuring an environment are
explained in Step 5: Add an environment and
Specify configuration overrides .
How to create an environment
Create one or more new environments in the Apigee UI or with the
Create environments API . For the basic steps, see Step 5: Add an environment .
Add a new environment definition to the envs[]
property in your overrides file.
Note that the property is an array; therefore, you can add more than one environment definition
to it.
Give the new environment the same name as the one you created in the UI.
For example, the following configuration defines two environments: test
and prod :
namespace: my-namespace
org: my-organization
...
envs:
- name: test
serviceAccountPaths:
synchronizer: "your_keypath/synchronizer-manager-service-account.json
udca: "your_keypath/analytic-agent-service-account.json
- name: prod
serviceAccountPaths:
synchronizer: "your_keypath/synchronizer-manager-service-account.json
udca: "your_keypath/analytic-agent-service-account.json
...
Apply any changes to the cluster:
apigeectl apply -f overrides-file .yaml --all-envs
For more information about virtual host configuration see Configure virtual hosts .
For a complete list of environment configuration elements, see envs in the
Configuration
property reference .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-30 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-30 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-30 UTC."],[],[]]