The module lifecycle stagePreview
The module has requirements for installation

Opensearch

The Opensearch resource describes the desired state of an OpenSearch instance. It must be created in a user namespace and references an OpensearchClass created by the administrator.

Minimal Example

apiVersion: managed-services.deckhouse.io/v1alpha1
kind: Opensearch
metadata:
  name: my-opensearch
  namespace: my-namespace
spec:
  opensearchClassName: default
  instance:
    cpu:
      cores: 2
      coreFraction: 100%
    memory:
      size: 4Gi
    disk:
      size: 10Gi

Fields

opensearchClassName

Name of the OpensearchClass to use. Defaults to default.

instance

Resource requirements for the OpenSearch pod:

  • cpu.cores — number of CPU cores
  • cpu.coreFraction — guaranteed CPU share (e.g. 50%, 100%)
  • memory.size — memory limit
  • disk.size — persistent volume size (can only be increased after creation)

Status Conditions

Condition Meaning
Available The OpenSearch instance is running and healthy
ConfigurationValid The spec passes all validations from the linked OpensearchClass
LastValidConfigurationApplied The last valid configuration has been applied to the instance
ScaledToLastValidConfiguration The instance has been scaled to match the last valid configuration