github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/config/crd/bases/sriovnetwork.openshift.io_sriovnetworkpoolconfigs.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.9.0
     7    creationTimestamp: null
     8    name: sriovnetworkpoolconfigs.sriovnetwork.openshift.io
     9  spec:
    10    group: sriovnetwork.openshift.io
    11    names:
    12      kind: SriovNetworkPoolConfig
    13      listKind: SriovNetworkPoolConfigList
    14      plural: sriovnetworkpoolconfigs
    15      singular: sriovnetworkpoolconfig
    16    scope: Namespaced
    17    versions:
    18    - name: v1
    19      schema:
    20        openAPIV3Schema:
    21          description: SriovNetworkPoolConfig is the Schema for the sriovnetworkpoolconfigs
    22            API
    23          properties:
    24            apiVersion:
    25              description: 'APIVersion defines the versioned schema of this representation
    26                of an object. Servers should convert recognized schemas to the latest
    27                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    28              type: string
    29            kind:
    30              description: 'Kind is a string value representing the REST resource this
    31                object represents. Servers may infer this from the endpoint the client
    32                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    33              type: string
    34            metadata:
    35              type: object
    36            spec:
    37              description: SriovNetworkPoolConfigSpec defines the desired state of SriovNetworkPoolConfig
    38              properties:
    39                maxUnavailable:
    40                  anyOf:
    41                  - type: integer
    42                  - type: string
    43                  description: "maxUnavailable defines either an integer number or percentage
    44                    of nodes in the pool that can go Unavailable during an update. \n
    45                    A value larger than 1 will mean multiple nodes going unavailable
    46                    during the update, which may affect your workload stress on the
    47                    remaining nodes. Drain will respect Pod Disruption Budgets (PDBs)
    48                    such as etcd quorum guards, even if maxUnavailable is greater than
    49                    one."
    50                  x-kubernetes-int-or-string: true
    51                nodeSelector:
    52                  description: nodeSelector specifies a label selector for Nodes
    53                  properties:
    54                    matchExpressions:
    55                      description: matchExpressions is a list of label selector requirements.
    56                        The requirements are ANDed.
    57                      items:
    58                        description: A label selector requirement is a selector that
    59                          contains values, a key, and an operator that relates the key
    60                          and values.
    61                        properties:
    62                          key:
    63                            description: key is the label key that the selector applies
    64                              to.
    65                            type: string
    66                          operator:
    67                            description: operator represents a key's relationship to
    68                              a set of values. Valid operators are In, NotIn, Exists
    69                              and DoesNotExist.
    70                            type: string
    71                          values:
    72                            description: values is an array of string values. If the
    73                              operator is In or NotIn, the values array must be non-empty.
    74                              If the operator is Exists or DoesNotExist, the values
    75                              array must be empty. This array is replaced during a strategic
    76                              merge patch.
    77                            items:
    78                              type: string
    79                            type: array
    80                        required:
    81                        - key
    82                        - operator
    83                        type: object
    84                      type: array
    85                    matchLabels:
    86                      additionalProperties:
    87                        type: string
    88                      description: matchLabels is a map of {key,value} pairs. A single
    89                        {key,value} in the matchLabels map is equivalent to an element
    90                        of matchExpressions, whose key field is "key", the operator
    91                        is "In", and the values array contains only "value". The requirements
    92                        are ANDed.
    93                      type: object
    94                  type: object
    95                ovsHardwareOffloadConfig:
    96                  description: OvsHardwareOffloadConfig describes the OVS HWOL configuration
    97                    for selected Nodes
    98                  properties:
    99                    name:
   100                      description: 'Name is mandatory and must be unique. On Kubernetes:
   101                        Name is the name of OvsHardwareOffloadConfig On OpenShift: Name
   102                        is the name of MachineConfigPool to be enabled with OVS hardware
   103                        offload'
   104                      type: string
   105                  type: object
   106              type: object
   107            status:
   108              description: SriovNetworkPoolConfigStatus defines the observed state of
   109                SriovNetworkPoolConfig
   110              type: object
   111          type: object
   112      served: true
   113      storage: true
   114      subresources:
   115        status: {}