/* tslint:disable */ /* eslint-disable */ /** * Argo Workflows API * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ * * OpenAPI spec version: VERSION * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { IoK8sApiCoreV1NodeSelector } from './io-k8s-api-core-v1-node-selector'; import { IoK8sApiCoreV1PreferredSchedulingTerm } from './io-k8s-api-core-v1-preferred-scheduling-term'; /** * Node affinity is a group of node affinity scheduling rules. * @export * @interface IoK8sApiCoreV1NodeAffinity */ export interface IoK8sApiCoreV1NodeAffinity { /** * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. * @type {Array} * @memberof IoK8sApiCoreV1NodeAffinity */ preferredDuringSchedulingIgnoredDuringExecution?: Array; /** * * @type {IoK8sApiCoreV1NodeSelector} * @memberof IoK8sApiCoreV1NodeAffinity */ requiredDuringSchedulingIgnoredDuringExecution?: IoK8sApiCoreV1NodeSelector; }