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
feat: add support for keep alive probe in agent engines
Keep alive probe allows reasoning engine users to configure a probe that a deployment host can use to keep the container alive, based on the probe settings. If the keep alive endpoint returns a 2xx status, the deployment host will make a best effort (up to 1 hour) to keep the container alive.
Reasoning engine users with custom container specs (BYOC) have the option to configure a custom keep alive probe while the users without custom container specs (BYOC) have the option to configure an empty keep alive probe {} and the reasoning engine platform will handle the configuration and logic for keep alive probe.
To opt in, users should set the keep alive probe field when creating or updating reasoning engines.
PiperOrigin-RevId: 889254469
/** Specifies the HTTP GET configuration for the probe. */
244
+
exportdeclareinterfaceKeepAliveProbeHttpGet{
245
+
/** Required. Specifies the path of the HTTP GET request (e.g., "/is_busy"). */
246
+
path?: string;
247
+
/** Optional. Specifies the port number on the container to which the request is sent. */
248
+
port?: number;
249
+
}
250
+
251
+
/** Represents the configuration for keep-alive probe. Contains configuration on a specified endpoint that a deployment host should use to keep the container alive based on the probe settings. */
252
+
exportdeclareinterfaceKeepAliveProbe{
253
+
/** Optional. Specifies the HTTP GET configuration for the probe. */
254
+
httpGet?: KeepAliveProbeHttpGet;
255
+
/** Optional. Specifies the maximum duration (in seconds) to keep the instance alive via this probe. Can be a maximum of 3600 seconds (1 hour). */
256
+
maxSeconds?: number;
257
+
}
258
+
243
259
/** The specification of a Reasoning Engine deployment. */
/** Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent. */
260
276
secretEnv?: SecretEnvVar[];
277
+
/** Optional. Specifies the configuration for keep-alive probe. Contains configuration on a specified endpoint that a deployment host should use to keep the container alive based on the probe settings. */
0 commit comments