import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1Config } from "../../common.k8s.elastic.co/v1beta1/Config.js"; import { IIoK8sApiCoreV1PodTemplateSpec } from "kubernetes-models/v1/PodTemplateSpec"; import { IIoK8sApiCoreV1PersistentVolumeClaim } from "kubernetes-models/v1/PersistentVolumeClaim"; import { ModelData, Model } from "@kubernetes-models/base"; /** * NodeSet is the specification for a group of Elasticsearch nodes sharing the same configuration and a Pod template. */ export interface INodeSet { /** * Config holds the Elasticsearch configuration. */ "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1Config; /** * Count of Elasticsearch nodes to deploy. */ "count": number; /** * Name of this set of nodes. Becomes a part of the Elasticsearch node.name setting. */ "name": string; /** * PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the Pods belonging to this NodeSet. */ "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; /** * VolumeClaimTemplates is a list of persistent volume claims to be used by each Pod in this NodeSet. * Every claim in this list must have a matching volumeMount in one of the containers defined in the PodTemplate. * Items defined here take precedence over any default claims added by the operator with the same name. */ "volumeClaimTemplates"?: Array; } /** * NodeSet is the specification for a group of Elasticsearch nodes sharing the same configuration and a Pod template. */ export declare class NodeSet extends Model implements INodeSet { "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1Config; "count": number; "name": string; "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; "volumeClaimTemplates"?: Array; constructor(data?: ModelData); } export type { INodeSet as IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1beta1NodeSet, NodeSet as ComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1beta1NodeSet };