palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
44 lines • 2.04 kB
TypeScript
/**
* Copyright (c) Spectro Cloud
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Generated by orval v7.17.0 🍺
* Do not edit manually.
* Palette APIs - 4.8
* OpenAPI spec version: v1
*/
import type { MachinePoolConfigEntityAdditionalLabels } from './machinePoolConfigEntityAdditionalLabels';
import type { MachinePoolConfigEntityAdditionalTags } from './machinePoolConfigEntityAdditionalTags';
import type { MachinePoolProperties } from './machinePoolProperties';
import type { Taint } from './taint';
import type { UpdateStrategy } from './updateStrategy';
/**
* Machine pool configuration for the cluster
*/
export type MachinePoolConfigEntity = {
/** Additional labels to be part of the machine pool */
additionalLabels?: MachinePoolConfigEntityAdditionalLabels;
/** AdditionalTags is an optional set of tags to add to resources managed by the provider, in addition to the ones added by default. For eg., tags for EKS nodeGroup or EKS NodegroupIAMRole */
additionalTags?: MachinePoolConfigEntityAdditionalTags;
/** Whether this pool is for control plane */
isControlPlane?: boolean;
/** Labels for this machine pool, example: control-plane/worker, gpu, windows */
labels: string[];
machinePoolProperties?: MachinePoolProperties;
/** Max size of the pool, for scaling */
maxSize?: number;
/** Min size of the pool, for scaling */
minSize?: number;
name: string;
/** Minimum number of seconds a node should be Ready, before the next node is selected for repave. Applicable only for workerpools in infrastructure cluster */
nodeRepaveInterval?: number;
/** Size of the pool, number of nodes/machines */
size: number;
/** control plane or worker taints */
taints?: Taint[];
updateStrategy?: UpdateStrategy;
/** If IsControlPlane==true && useControlPlaneAsWorker==true, then will remove control plane taint this will not be used for worker pools */
useControlPlaneAsWorker?: boolean;
};
//# sourceMappingURL=machinePoolConfigEntity.d.ts.map