Este conteúdo não está disponível no idioma selecionado.
Chapter 2. OLSConfig API reference
Use the OLSConfig API reference to identify the parameters and schema requirements for the OpenShift Lightspeed configuration object. This reference defines the technical specifications you must follow to configure your service deployments.
The API parameter information originated in the OLSConfig API reference and is provided here for convenience.
2.1. OLSConfig API specifications Copiar o linkLink copiado para a área de transferência!
- Description
- Red Hat Red Hat OpenShift Lightspeed Lightspeed instance. OLSConfig is the Schema for the olsconfigs API
- Type
-
object - Required
-
spec
-
| Property | Type | Description |
|---|---|---|
|
|
| APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and might reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
| Kind is a string value representing the REST resource this object represents. Servers might infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
|
| Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
|
|
| OLSConfigSpec defines the desired state of OLSConfig |
2.1.1. .metadata Copiar o linkLink copiado para a área de transferência!
- Description
- Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- Type
-
object
2.1.2. .spec Copiar o linkLink copiado para a área de transferência!
- Description
- OLSConfigSpec defines the desired state of OLSConfig
- Type
-
object - Required
-
llm -
ols
-
| Property | Type | Description |
|---|---|---|
|
|
| Feature Gates holds list of features to be enabled explicitly, otherwise they are disabled by default. possible values: MCPServer |
|
|
| LLMSpec defines the desired state of the large language model (LLM). |
|
|
| MCP Server settings |
|
|
| OLSSpec defines the desired state of OLS deployment. |
|
|
| OLSDataCollectorSpec defines allowed OLS data collector configuration. |
|
|
| ToolsApprovalConfig defines the configuration for tool execution approvals. |
2.1.3. .spec.llm Copiar o linkLink copiado para a área de transferência!
- Description
- LLMSpec defines the desired state of the large language model (LLM).
- Type
-
object - Required
-
providers
-
| Property | Type | Description |
|---|---|---|
|
|
|
2.1.4. .spec.llm.providers Copiar o linkLink copiado para a área de transferência!
- Description
- Type
-
array
2.1.5. .spec.llm.providers[] Copiar o linkLink copiado para a área de transferência!
- Description
- ProviderSpec defines the desired state of LLM provider.
- Type
-
object - Required
-
credentialsSecretRef -
models -
name -
type
-
| Property | Type | Description |
|---|---|---|
|
|
| API Version for Azure OpenAI provider |
|
|
| The name of the secret object that stores API provider credentials |
|
|
| Azure OpenAI deployment name |
|
|
| List of models from the provider |
|
|
| Provider name |
|
|
| Watsonx Project ID |
|
|
| TLS Security Profile used by connection to provider |
|
|
| Provider type |
|
|
| Provider API URL |
2.1.6. .spec.llm.providers[].credentialsSecretRef Copiar o linkLink copiado para a área de transferência!
- Description
- The name of the secret object that stores API provider credentials
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
2.1.7. .spec.llm.providers[].models Copiar o linkLink copiado para a área de transferência!
- Description
- List of models from the provider
- Type
-
array
2.1.8. .spec.llm.providers[].models[] Copiar o linkLink copiado para a área de transferência!
- Description
- ModelSpec defines the LLM model to use and its parameters.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Defines the model’s context window size, in tokens. The default is 128k tokens. |
|
|
| Model name |
|
|
| Model API parameters |
|
|
| Model API URL |
2.1.9. .spec.llm.providers[].models[].parameters Copiar o linkLink copiado para a área de transferência!
- Description
- Model API parameters
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Max tokens for response. The default is 2048 tokens. |
2.1.10. .spec.llm.providers[].tlsSecurityProfile Copiar o linkLink copiado para a área de transferência!
- Description
- TLS Security Profile used by connection to provider
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
| `` | custom is a user-defined TLS security profile. Be extremely careful using a custom profile as invalid configurations can be catastrophic. An example custom profile looks like this: ciphers: - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 minTLSVersion: VersionTLS11 |
|
| `` | intermediate is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29 and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES256-GCM-SHA384 - ECDHE-RSA-AES256-GCM-SHA384 - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - DHE-RSA-AES128-GCM-SHA256 - DHE-RSA-AES256-GCM-SHA384 minTLSVersion: VersionTLS12 |
|
| `` | modern is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 minTLSVersion: VersionTLS13 |
|
| `` | old is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES256-GCM-SHA384 - ECDHE-RSA-AES256-GCM-SHA384 - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - DHE-RSA-AES128-GCM-SHA256 - DHE-RSA-AES256-GCM-SHA384 - DHE-RSA-CHACHA20-POLY1305 - ECDHE-ECDSA-AES128-SHA256 - ECDHE-RSA-AES128-SHA256 - ECDHE-ECDSA-AES128-SHA - ECDHE-RSA-AES128-SHA - ECDHE-ECDSA-AES256-SHA384 - ECDHE-RSA-AES256-SHA384 - ECDHE-ECDSA-AES256-SHA - ECDHE-RSA-AES256-SHA - DHE-RSA-AES128-SHA256 - DHE-RSA-AES256-SHA256 - AES128-GCM-SHA256 - AES256-GCM-SHA384 - AES128-SHA256 - AES256-SHA256 - AES128-SHA - AES256-SHA - DES-CBC3-SHA minTLSVersion: VersionTLS10 |
|
|
| type is one of Old, Intermediate, Modern or Custom. Custom provides the ability to specify individual TLS security profile parameters. Old, Intermediate and Modern are TLS security profiles based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations The profiles are intent based, so they might change over time as new ciphers are developed and existing ciphers are found to be insecure. Depending on precisely which ciphers are available to a process, the list might be reduced. Note that the Modern profile is currently not supported because it is not yet well adopted by common software libraries. |
2.1.11. .spec.mcpServers Copiar o linkLink copiado para a área de transferência!
- Description
MCP Server settings
NoteThe
introspectionEnabledfield in theOLSConfigcustom resource (CR) istrueby default. You do not need to specify this field to use the built-in Kubernetes MCP server. To disable the built-in Kubernetes MCP server, you must setintrospectionEnabledtofalse.- Type
-
array
2.1.12. .spec.mcpServers[] Copiar o linkLink copiado para a área de transferência!
- Description
- MCPServer defines the settings for a single MCP server.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Custom arguments passed to the MCP server during initialization. |
|
|
| Name of the MCP server |
|
|
| Streamable HTTP Transport settings |
2.1.13. .spec.mcpServers[].args Copiar o linkLink copiado para a área de transferência!
- Description
- Custom arguments passed directly to the MCP server process initialization command.
- Type
-
array (string)
2.1.14. .spec.ols Copiar o linkLink copiado para a área de transferência!
- Description
- OLSSpec defines the desired state of OLS deployment.
- Type
-
object - Required
-
defaultModel -
defaultProvider
-
| Property | Type | Description |
|---|---|---|
|
|
| Additional CA certificates for TLS communication between OLS service and LLM Provider |
|
|
| Only use BYOK RAG sources, ignore the Red Hat OpenShift Lightspeed documentation RAG |
|
|
| Conversation cache settings |
|
|
| Default model for usage |
|
|
| Default provider for usage |
|
|
| OLS deployment settings |
|
|
| Enable introspection features |
|
|
| Log level. Valid options are DEBUG, INFO, WARNING, ERROR and CRITICAL. Default: "INFO". |
|
|
| Proxy settings for connecting to external servers, such as LLM providers. |
|
|
| Query filters |
|
|
| LLM Token Quota Configuration |
|
|
| RAG databases |
|
|
| Persistent Storage Configuration |
|
|
| TLS configuration of the Lightspeed backend’s HTTPS endpoint |
|
|
| TLS Security Profile used by API endpoints |
|
|
| User data collection switches |
2.1.15. .spec.ols.additionalCAConfigMapRef Copiar o linkLink copiado para a área de transferência!
- Description
- Additional CA certificates for TLS communication between OLS service and LLM Provider
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
2.1.16. .spec.ols.conversationCache Copiar o linkLink copiado para a área de transferência!
- Description
- Conversation cache settings
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| PostgresSpec defines the desired state of Postgres. |
|
|
| Conversation cache type. Default: "postgres" |
2.1.17. .spec.ols.conversationCache.postgres Copiar o linkLink copiado para a área de transferência!
- Description
- PostgresSpec defines the desired state of Postgres.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Secret that holds postgres credentials |
|
|
| Postgres database name |
|
|
| Postgres maxconnections. Default: "2000" |
|
|
| Postgres sharedbuffers |
|
|
| Postgres user name |
2.1.18. .spec.ols.deployment Copiar o linkLink copiado para a área de transferência!
- Description
- OLS deployment settings
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| API container settings. |
|
|
| Console container settings. |
|
|
| Data Collector container settings. |
|
|
| Database container settings. |
|
|
| MCP server container settings. |
|
|
| Defines the number of desired OLS pods. Default: "1" |
2.1.19. .spec.ols.deployment.api Copiar o linkLink copiado para a área de transferência!
- Description
- API container settings.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| |
|
|
| ResourceRequirements describes the compute resource requirements. |
|
|
|
2.1.20. .spec.ols.deployment.api.resources Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceRequirements describes the compute resource requirements.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
|
| Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
|
| Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
2.1.21. .spec.ols.deployment.api.resources.claims Copiar o linkLink copiado para a área de transferência!
- Description
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- Type
-
array
2.1.22. .spec.ols.deployment.api.resources.claims[] Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
|
|
| Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
2.1.23. .spec.ols.deployment.api.tolerations Copiar o linkLink copiado para a área de transferência!
- Description
- Type
-
array
2.1.24. .spec.ols.deployment.api.tolerations[] Copiar o linkLink copiado para a área de transferência!
- Description
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. |
|
|
| Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. |
|
|
| Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. |
|
|
| TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. |
|
|
| Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
2.1.25. .spec.ols.deployment.console Copiar o linkLink copiado para a área de transferência!
- Description
- Console container settings.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Certificate Authority (CA) certificate used by the console proxy endpoint. |
|
|
| |
|
|
| Defines the number of desired Console pods. Default: "1" |
|
|
| ResourceRequirements describes the compute resource requirements. |
|
|
|
2.1.26. .spec.ols.deployment.console.resources Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceRequirements describes the compute resource requirements.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
|
| Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
|
| Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
2.1.27. .spec.ols.deployment.console.resources.claims Copiar o linkLink copiado para a área de transferência!
- Description
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- Type
-
array
2.1.28. .spec.ols.deployment.console.resources.claims[] Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
|
|
| Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
2.1.29. .spec.ols.deployment.console.tolerations Copiar o linkLink copiado para a área de transferência!
- Description
- Type
-
array
2.1.30. .spec.ols.deployment.console.tolerations[] Copiar o linkLink copiado para a área de transferência!
- Description
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. |
|
|
| Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. |
|
|
| Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. |
|
|
| TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. |
|
|
| Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
2.1.31. .spec.ols.deployment.dataCollector Copiar o linkLink copiado para a área de transferência!
- Description
- Data Collector container settings.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| ResourceRequirements describes the compute resource requirements. |
2.1.32. .spec.ols.deployment.dataCollector.resources Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceRequirements describes the compute resource requirements.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
|
| Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
|
| Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
2.1.33. .spec.ols.deployment.dataCollector.resources.claims Copiar o linkLink copiado para a área de transferência!
- Description
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- Type
-
array
2.1.34. .spec.ols.deployment.dataCollector.resources.claims[] Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
|
|
| Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
2.1.35. .spec.ols.deployment.database Copiar o linkLink copiado para a área de transferência!
- Description
- Database container settings.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| |
|
|
| ResourceRequirements describes the compute resource requirements. |
|
|
|
2.1.36. .spec.ols.deployment.database.resources Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceRequirements describes the compute resource requirements.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
|
| Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
|
| Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
2.1.37. .spec.ols.deployment.database.resources.claims Copiar o linkLink copiado para a área de transferência!
- Description
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- Type
-
array
2.1.38. .spec.ols.deployment.database.resources.claims[] Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
|
|
| Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
2.1.39. .spec.ols.deployment.database.tolerations Copiar o linkLink copiado para a área de transferência!
- Description
- Type
-
array
2.1.40. .spec.ols.deployment.database.tolerations[] Copiar o linkLink copiado para a área de transferência!
- Description
- The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. |
|
|
| Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. |
|
|
| Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. |
|
|
| TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. |
|
|
| Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
2.1.41. .spec.ols.deployment.mcpServer Copiar o linkLink copiado para a área de transferência!
- Description
- MCP server container settings.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| ResourceRequirements describes the compute resource requirements. |
2.1.42. .spec.ols.deployment.mcpServer.resources Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceRequirements describes the compute resource requirements.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
|
|
| Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
|
|
| Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
2.1.43. .spec.ols.deployment.mcpServer.resources.claims Copiar o linkLink copiado para a área de transferência!
- Description
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
- Type
-
array
2.1.44. .spec.ols.deployment.mcpServer.resources.claims[] Copiar o linkLink copiado para a área de transferência!
- Description
- ResourceClaim references one entry in PodSpec.ResourceClaims.
- Type
-
object - Required
-
name
-
| Property | Type | Description |
|---|---|---|
|
|
| Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
|
|
| Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
2.1.45. .spec.ols.proxyConfig Copiar o linkLink copiado para a área de transferência!
- Description
- Proxy settings for connecting to external servers, such as LLM providers.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| The configmap holding proxy CA certificate |
|
|
| Proxy URL, e.g. https://proxy.example.com:8080 If not specified, the cluster wide proxy will be used, though env var "https_proxy". |
2.1.46. .spec.ols.proxyConfig.proxyCACertificate Copiar o linkLink copiado para a área de transferência!
- Description
- The configmap holding proxy CA certificate
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
2.1.47. .spec.ols.queryFilters Copiar o linkLink copiado para a área de transferência!
- Description
- Query filters
- Type
-
array
2.1.48. .spec.ols.queryFilters[] Copiar o linkLink copiado para a área de transferência!
- Description
- QueryFiltersSpec defines filters to manipulate questions/queries.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Filter name. |
|
|
| Filter pattern. |
|
|
| Replacement for the matched pattern. |
2.1.49. .spec.ols.quotaHandlersConfig Copiar o linkLink copiado para a área de transferência!
- Description
- LLM Token Quota Configuration
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Enable token history |
|
|
| Token quota limiters |
2.1.50. .spec.ols.quotaHandlersConfig.limitersConfig Copiar o linkLink copiado para a área de transferência!
- Description
- Token quota limiters
- Type
-
array
2.1.51. .spec.ols.quotaHandlersConfig.limitersConfig[] Copiar o linkLink copiado para a área de transferência!
- Description
- LimiterConfig defines settings for a token quota limiter
- Type
-
object - Required
-
initialQuota -
name -
period -
quotaIncrease -
type
-
| Property | Type | Description |
|---|---|---|
|
|
| Initial value of the token quota |
|
|
| Name of the limiter |
|
|
| Period of time the token quota is for |
|
|
| Token quota increase step |
|
|
| Type of the limiter |
2.1.52. .spec.ols.rag Copiar o linkLink copiado para a área de transferência!
- Description
- RAG databases
- Type
-
array
2.1.53. .spec.ols.rag[] Copiar o linkLink copiado para a área de transferência!
- Description
- RAGSpec defines how to retrieve a RAG databases.
- Type
-
object - Required
-
image
-
| Property | Type | Description |
|---|---|---|
|
|
| The URL of the container image to use as a RAG source |
|
|
| The Index ID of the RAG database |
|
|
| The path to the RAG database inside of the container image |
2.1.54. .spec.ols.storage Copiar o linkLink copiado para a área de transferência!
- Description
- Persistent Storage Configuration
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Storage class of the requested volume |
|
|
| Size of the requested volume |
2.1.55. .spec.ols.tlsConfig Copiar o linkLink copiado para a área de transferência!
- Description
- TLS configuration of the Lightspeed backend’s HTTPS endpoint
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| KeySecretRef is the secret that holds the TLS key. |
2.1.56. .spec.ols.tlsConfig.keyCertSecretRef Copiar o linkLink copiado para a área de transferência!
- Description
- KeySecretRef is the secret that holds the TLS key.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
2.1.57. .spec.ols.tlsSecurityProfile Copiar o linkLink copiado para a área de transferência!
- Description
- TLS Security Profile used by API endpoints
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
| `` | custom is a user-defined TLS security profile. Be extremely careful using a custom profile as invalid configurations can be catastrophic. An example custom profile looks like this: ciphers: - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 minTLSVersion: VersionTLS11 |
|
| `` | intermediate is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29 and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES256-GCM-SHA384 - ECDHE-RSA-AES256-GCM-SHA384 - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - DHE-RSA-AES128-GCM-SHA256 - DHE-RSA-AES256-GCM-SHA384 minTLSVersion: VersionTLS12 |
|
| `` | modern is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 minTLSVersion: VersionTLS13 |
|
| `` | old is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility and looks like this (yaml): ciphers: - TLS_AES_128_GCM_SHA256 - TLS_AES_256_GCM_SHA384 - TLS_CHACHA20_POLY1305_SHA256 - ECDHE-ECDSA-AES128-GCM-SHA256 - ECDHE-RSA-AES128-GCM-SHA256 - ECDHE-ECDSA-AES256-GCM-SHA384 - ECDHE-RSA-AES256-GCM-SHA384 - ECDHE-ECDSA-CHACHA20-POLY1305 - ECDHE-RSA-CHACHA20-POLY1305 - DHE-RSA-AES128-GCM-SHA256 - DHE-RSA-AES256-GCM-SHA384 - DHE-RSA-CHACHA20-POLY1305 - ECDHE-ECDSA-AES128-SHA256 - ECDHE-RSA-AES128-SHA256 - ECDHE-ECDSA-AES128-SHA - ECDHE-RSA-AES128-SHA - ECDHE-ECDSA-AES256-SHA384 - ECDHE-RSA-AES256-SHA384 - ECDHE-ECDSA-AES256-SHA - ECDHE-RSA-AES256-SHA - DHE-RSA-AES128-SHA256 - DHE-RSA-AES256-SHA256 - AES128-GCM-SHA256 - AES256-GCM-SHA384 - AES128-SHA256 - AES256-SHA256 - AES128-SHA - AES256-SHA - DES-CBC3-SHA minTLSVersion: VersionTLS10 |
|
|
| type is one of Old, Intermediate, Modern or Custom. Custom provides the ability to specify individual TLS security profile parameters. Old, Intermediate and Modern are TLS security profiles based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations The profiles are intent based, so they might change over time as new ciphers are developed and existing ciphers are found to be insecure. Depending on precisely which ciphers are available to a process, the list might be reduced. Note that the Modern profile is currently not supported because it is not yet well adopted by common software libraries. |
2.1.58. .spec.ols.userDataCollection Copiar o linkLink copiado para a área de transferência!
- Description
- User data collection switches
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| |
|
|
|
2.1.59. .spec.olsDataCollector Copiar o linkLink copiado para a área de transferência!
- Description
- OLSDataCollectorSpec defines allowed OLS data collector configuration.
- Type
-
object
| Property | Type | Description |
|---|---|---|
|
|
| Log level. Valid options are DEBUG, INFO, WARNING, ERROR and CRITICAL. Default: "INFO". |