/* tslint:disable */ /* eslint-disable */ /** * KubeBlocks Cloud Internal API * The Internal API is using for interaction of ApeCloud platform microservices. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { ClusterSchedulingPolicy } from './cluster-scheduling-policy'; // May contain unused imports in some cases // @ts-ignore import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class'; // May contain unused imports in some cases // @ts-ignore import type { SystemComponentSchedulerPolicy } from './system-component-scheduler-policy'; // May contain unused imports in some cases // @ts-ignore import type { TolerateDefaultTaints } from './tolerate-default-taints'; /** * Configuration of resource scheduling for this environment * @export * @interface SchedulingConfig */ export interface SchedulingConfig { /** * * @type {ClusterSchedulingPolicy} * @memberof SchedulingConfig */ 'clusterSchedulingPolicy'?: ClusterSchedulingPolicy; /** * Additional Kubernetes topology label keys used by pod anti-affinity and topology spread for subsequently created or re-rendered clusters; existing Pods are not migrated automatically. Omit or use null during environment creation to store an empty list. Values must be valid Kubernetes qualified label keys. For KubeBlocks 1.x, the standard topology.kubernetes.io/zone key uses soft zone spread regardless of the scheduling policy. Infrastructure integrations or administrators must label all eligible nodes consistently; missing labels can cause unintended scheduling behavior and undermine failure-domain isolation. Too few eligible topology domains can leave Pods Pending under hard anti-affinity. If the Kubernetes LimitPodHardAntiAffinityTopology admission plugin is enabled, Pod creation is rejected for required anti-affinity using topology keys other than kubernetes.io/hostname, which can prevent the database cluster from becoming ready. * @type {Array} * @memberof SchedulingConfig */ 'additionalTopologyKeys'?: Array | null; /** * * @type {TolerateDefaultTaints} * @memberof SchedulingConfig */ 'tolerateDefaultTaints'?: TolerateDefaultTaints; /** * * @type {SystemComponentSchedulerPolicy} * @memberof SchedulingConfig */ 'systemComponentSchedulerPolicy'?: SystemComponentSchedulerPolicy; /** * * @type {KoordinatorReservationResourceClass} * @memberof SchedulingConfig */ 'systemComponentReservationResourceClass'?: KoordinatorReservationResourceClass; }