You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Auto-cleanup**| Yes (TTL or manual) | No (manual deletion only) |
147
+
|**Resource Isolation**| Pod-level | Deployment + Service |
148
+
|**Cost Model**| Pay per use (TTL-based) | Continuous running |
149
+
150
+
### When to Use Which?
151
+
152
+
**Choose Environment Instance when:**
153
+
154
+
- Running temporary development or test workloads
155
+
- Executing one-time data processing jobs
156
+
- Testing environment configurations
157
+
- Running CI/CD pipeline steps
158
+
- Need automatic resource cleanup
159
+
160
+
**Choose Environment Service when:**
161
+
162
+
- Deploying production applications
163
+
- Need high availability and load balancing
164
+
- Require persistent data storage
165
+
- Running long-term agent services
166
+
- Need to scale horizontally
167
+
- Require predictable service endpoints
168
+
65
169
### Environment
66
170
67
171
An environment is a **static definition** that contains all metadata, configuration items, and component declarations required for agent operation. It describes what capabilities the environment "possesses" and what resources it "needs", but contains no runtime state.
@@ -74,7 +178,7 @@ An environment is a **static definition** that contains all metadata, configurat
74
178
-**Immutability**: Once published, the environment definition content is typically immutable, with evolution managed through versioning.
75
179
-**Reusability**: The same environment definition can be shared and referenced by multiple environment instances.
76
180
77
-
### Environment Instance
181
+
### Environment Instance (Detailed)
78
182
79
183
An environment instance is the **concrete runtime entity** of an environment template. When an environment is actually used, the system dynamically creates corresponding instances based on its definition.
0 commit comments