palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
52 lines • 2.69 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 { GcpMachinePoolConfigAdditionalLabels } from './gcpMachinePoolConfigAdditionalLabels';
import type { GcpMachinePoolConfigAdditionalTags } from './gcpMachinePoolConfigAdditionalTags';
import type { InstanceConfig } from './instanceConfig';
import type { MachinePoolProperties } from './machinePoolProperties';
import type { GcpMachinePoolConfigSubnetIds } from './gcpMachinePoolConfigSubnetIds';
import type { Taint } from './taint';
import type { UpdateStrategy } from './updateStrategy';
export type GcpMachinePoolConfig = {
/** additionalLabels */
additionalLabels?: GcpMachinePoolConfigAdditionalLabels;
/** 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?: GcpMachinePoolConfigAdditionalTags;
azs?: string[];
instanceConfig?: InstanceConfig;
instanceType: string;
/** 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;
/** Size of root volume in GB. Default is 30GB */
rootDeviceSize?: number;
/** size of the pool, number of machines */
size?: number;
/** Subnet specifies the subnetwork to use for given instance. If not specified, the first subnet from the cluster region and network is used */
subnet?: string;
/** AZ to subnet mapping filled by ally from hubble SubnetIDs ["us-west-2d"] = "subnet-079b6061" This field is optional If we don't provide a subnetId then by default the first private subnet from the AZ will be picked up for deployment */
subnetIds?: GcpMachinePoolConfigSubnetIds;
/** 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=gcpMachinePoolConfig.d.ts.map