--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 creationTimestamp: null name: slicenodeaffinities.networking.kubeslice.io spec: group: networking.kubeslice.io names: kind: SliceNodeAffinity listKind: SliceNodeAffinityList plural: slicenodeaffinities singular: slicenodeaffinity scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: SliceNodeAffinity is the Schema for the slicenodeaffinities API properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: description: SliceNodeAffinitySpec defines the desired state of SliceNodeAffinity type: object status: description: SliceNodeAffinityStatus defines the observed state of SliceNodeAffinity properties: nodeAffinityRules: description: NodeAffinityRules contains the list of rules per namespace items: description: NodeAffinityRule defines the rules to select nodes for a particular namespace properties: namespace: description: Namespace is the namespace in the slice this rule applies to type: string nodeSelectorLabels: description: NodeSelectorLabels defines the label selectors to select nodes for assigning to pods items: description: A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. properties: key: description: The label key that the selector applies to. type: string operator: description: Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: description: An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. items: type: string type: array required: - key - operator type: object type: array required: - namespace - nodeSelectorLabels type: object type: array sliceName: description: SliceName defines the name of the slice for the NodeAffinity type: string type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []