palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
19 lines • 797 B
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 { UpdateStrategyType } from './updateStrategyType';
/**
* UpdatesStrategy will be used to translate to RollingUpdateStrategy of a MachineDeployment We'll start with default values for the translation, can expose more details later Following is details of parameters translated from the type ScaleOut => maxSurge=1, maxUnavailable=0 ScaleIn => maxSurge=0, maxUnavailable=1
*/
export type UpdateStrategy = {
/** update strategy, either ScaleOut or ScaleIn if empty, will default to RollingUpdateScaleOut */
type?: UpdateStrategyType;
};
//# sourceMappingURL=updateStrategy.d.ts.map