palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
46 lines • 2.37 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 { VsphereMachinePoolConfigAdditionalLabels } from './vsphereMachinePoolConfigAdditionalLabels';
import type { VsphereMachinePoolConfigAdditionalTags } from './vsphereMachinePoolConfigAdditionalTags';
import type { VsphereInstanceType } from './vsphereInstanceType';
import type { MachinePoolProperties } from './machinePoolProperties';
import type { VspherePlacementConfig } from './vspherePlacementConfig';
import type { Taint } from './taint';
import type { UpdateStrategy } from './updateStrategy';
export type VsphereMachinePoolConfig = {
/** additionalLabels */
additionalLabels?: VsphereMachinePoolConfigAdditionalLabels;
/** 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?: VsphereMachinePoolConfigAdditionalTags;
instanceType: VsphereInstanceType;
/** whether this pool is for control plane */
isControlPlane: boolean;
/** labels for this 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;
/** Placements configuration Placements If defined, will replace default values defined in VsphereClusterConfig Array means one MachinePool can span across multiple vsphere compute cluster */
placements?: VspherePlacementConfig[];
/** size of the pool, number of 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=vsphereMachinePoolConfig.d.ts.map