The specification of a Reasoning Engine deployment.
Package
@google-cloud/agentplatformProperties
agentGatewayConfig
agentGatewayConfig?: ReasoningEngineSpecDeploymentSpecAgentGatewayConfig;Optional. Agent Gateway configuration for the Reasoning Engine deployment.
agentServerMode
agentServerMode?: AgentServerMode;The agent server mode.
containerConcurrency
containerConcurrency?: number;Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.
env
env?: EnvVar[];Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.
keepAliveProbe
keepAliveProbe?: KeepAliveProbe;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.
maxInstances
maxInstances?: number;Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
minInstances
minInstances?: number;Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 75].
pscInterfaceConfig
pscInterfaceConfig?: PscInterfaceConfig;Optional. Configuration for PSC-I.
resourceLimits
resourceLimits?: Record<string, string>;Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only supported values for CPU are '1', '2', '4', '6' and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For required cpu on different memory values, go to https://cloud.google.com/run/docs/configuring/memory-limits
secretEnv
secretEnv?: SecretEnvVar[];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.