Interface PreviewPodDeployment

Deployment configuration for a pod-based index.

PodDeployment

interface PreviewPodDeployment {
    deploymentType: "pod";
    environment: string;
    podType: string;
    replicas?: number;
    shards?: number;
}

Properties

deploymentType: "pod"

Identifies this as a pod-based deployment. Must be pod.

PodDeployment

environment: string

The environment where the index is hosted.

PodDeployment

podType: string

The type of pod to use. One of s1, p1, or p2 appended with . and one of x1, x2, x4, or x8.

PodDeployment

replicas?: number

The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.

PodDeployment

shards?: number

The number of shards. Shards split your data across multiple pods so you can fit more data into an index.

PodDeployment