github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/exp.infrastructure.cluster.x-k8s.io_azuremachinepools.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: azuremachinepools.exp.infrastructure.cluster.x-k8s.io
    10  spec:
    11    group: exp.infrastructure.cluster.x-k8s.io
    12    names:
    13      categories:
    14      - cluster-api
    15      kind: AzureMachinePool
    16      listKind: AzureMachinePoolList
    17      plural: azuremachinepools
    18      shortNames:
    19      - amp
    20      singular: azuremachinepool
    21    scope: Namespaced
    22    versions:
    23    - additionalPrinterColumns:
    24      - description: AzureMachinePool replicas count
    25        jsonPath: .status.replicas
    26        name: Replicas
    27        type: string
    28      - description: AzureMachinePool replicas count
    29        jsonPath: .status.ready
    30        name: Ready
    31        type: string
    32      - description: Azure VMSS provisioning state
    33        jsonPath: .status.provisioningState
    34        name: State
    35        type: string
    36      - description: Cluster to which this AzureMachinePool belongs
    37        jsonPath: .metadata.labels.cluster\.x-k8s\.io/cluster-name
    38        name: Cluster
    39        priority: 1
    40        type: string
    41      - description: MachinePool object to which this AzureMachinePool belongs
    42        jsonPath: .metadata.ownerReferences[?(@.kind=="MachinePool")].name
    43        name: MachinePool
    44        priority: 1
    45        type: string
    46      - description: Azure VMSS ID
    47        jsonPath: .spec.providerID
    48        name: VMSS ID
    49        priority: 1
    50        type: string
    51      - description: Azure VM Size
    52        jsonPath: .spec.template.vmSize
    53        name: VM Size
    54        priority: 1
    55        type: string
    56      name: v1alpha3
    57      schema:
    58        openAPIV3Schema:
    59          description: AzureMachinePool is the Schema for the azuremachinepools API
    60          properties:
    61            apiVersion:
    62              description: 'APIVersion defines the versioned schema of this representation
    63                of an object. Servers should convert recognized schemas to the latest
    64                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    65              type: string
    66            kind:
    67              description: 'Kind is a string value representing the REST resource this
    68                object represents. Servers may infer this from the endpoint the client
    69                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    70              type: string
    71            metadata:
    72              type: object
    73            spec:
    74              description: AzureMachinePoolSpec defines the desired state of AzureMachinePool
    75              properties:
    76                additionalTags:
    77                  additionalProperties:
    78                    type: string
    79                  description: AdditionalTags is an optional set of tags to add to an
    80                    instance, in addition to the ones added by default by the Azure
    81                    provider. If both the AzureCluster and the AzureMachine specify
    82                    the same tag name with different values, the AzureMachine's value
    83                    takes precedence.
    84                  type: object
    85                location:
    86                  description: Location is the Azure region location e.g. westus2
    87                  type: string
    88                providerID:
    89                  description: ProviderID is the identification ID of the Virtual Machine
    90                    Scale Set
    91                  type: string
    92                providerIDList:
    93                  description: ProviderIDList are the identification IDs of machine
    94                    instances provided by the provider. This field must match the provider
    95                    IDs as seen on the node objects corresponding to a machine pool's
    96                    machine instances.
    97                  items:
    98                    type: string
    99                  type: array
   100                template:
   101                  description: Template contains the details used to build a replica
   102                    virtual machine within the Machine Pool
   103                  properties:
   104                    acceleratedNetworking:
   105                      description: AcceleratedNetworking enables or disables Azure accelerated
   106                        networking. If omitted, it will be set based on whether the
   107                        requested VMSize supports accelerated networking. If AcceleratedNetworking
   108                        is set to true with a VMSize that does not support it, Azure
   109                        will return an error.
   110                      type: boolean
   111                    dataDisks:
   112                      description: DataDisks specifies the list of data disks to be
   113                        created for a Virtual Machine
   114                      items:
   115                        description: DataDisk specifies the parameters that are used
   116                          to add one or more data disks to the machine.
   117                        properties:
   118                          diskSizeGB:
   119                            description: DiskSizeGB is the size in GB to assign to the
   120                              data disk.
   121                            format: int32
   122                            type: integer
   123                          lun:
   124                            description: Lun Specifies the logical unit number of the
   125                              data disk. This value is used to identify data disks within
   126                              the VM and therefore must be unique for each data disk
   127                              attached to a VM. The value must be between 0 and 63.
   128                            format: int32
   129                            type: integer
   130                          nameSuffix:
   131                            description: NameSuffix is the suffix to be appended to
   132                              the machine name to generate the disk name. Each disk
   133                              name will be in format <machineName>_<nameSuffix>.
   134                            type: string
   135                        required:
   136                        - diskSizeGB
   137                        - nameSuffix
   138                        type: object
   139                      type: array
   140                    image:
   141                      description: Image is used to provide details of an image to use
   142                        during Virtual Machine creation. If image details are omitted
   143                        the image will default the Azure Marketplace "capi" offer, which
   144                        is based on Ubuntu.
   145                      properties:
   146                        id:
   147                          description: ID specifies an image to use by ID
   148                          type: string
   149                        marketplace:
   150                          description: Marketplace specifies an image to use from the
   151                            Azure Marketplace
   152                          properties:
   153                            offer:
   154                              description: Offer specifies the name of a group of related
   155                                images created by the publisher. For example, UbuntuServer,
   156                                WindowsServer
   157                              minLength: 1
   158                              type: string
   159                            publisher:
   160                              description: Publisher is the name of the organization
   161                                that created the image
   162                              minLength: 1
   163                              type: string
   164                            sku:
   165                              description: SKU specifies an instance of an offer, such
   166                                as a major release of a distribution. For example, 18.04-LTS,
   167                                2019-Datacenter
   168                              minLength: 1
   169                              type: string
   170                            version:
   171                              description: Version specifies the version of an image
   172                                sku. The allowed formats are Major.Minor.Build or 'latest'.
   173                                Major, Minor, and Build are decimal numbers. Specify
   174                                'latest' to use the latest version of an image available
   175                                at deploy time. Even if you use 'latest', the VM image
   176                                will not automatically update after deploy time even
   177                                if a new version becomes available.
   178                              minLength: 1
   179                              type: string
   180                          required:
   181                          - offer
   182                          - publisher
   183                          - sku
   184                          - version
   185                          type: object
   186                        sharedGallery:
   187                          description: SharedGallery specifies an image to use from
   188                            an Azure Shared Image Gallery
   189                          properties:
   190                            gallery:
   191                              description: Gallery specifies the name of the shared
   192                                image gallery that contains the image
   193                              minLength: 1
   194                              type: string
   195                            name:
   196                              description: Name is the name of the image
   197                              minLength: 1
   198                              type: string
   199                            resourceGroup:
   200                              description: ResourceGroup specifies the resource group
   201                                containing the shared image gallery
   202                              minLength: 1
   203                              type: string
   204                            subscriptionID:
   205                              description: SubscriptionID is the identifier of the subscription
   206                                that contains the shared image gallery
   207                              minLength: 1
   208                              type: string
   209                            version:
   210                              description: Version specifies the version of the marketplace
   211                                image. The allowed formats are Major.Minor.Build or
   212                                'latest'. Major, Minor, and Build are decimal numbers.
   213                                Specify 'latest' to use the latest version of an image
   214                                available at deploy time. Even if you use 'latest',
   215                                the VM image will not automatically update after deploy
   216                                time even if a new version becomes available.
   217                              minLength: 1
   218                              type: string
   219                          required:
   220                          - gallery
   221                          - name
   222                          - resourceGroup
   223                          - subscriptionID
   224                          - version
   225                          type: object
   226                      type: object
   227                    osDisk:
   228                      description: OSDisk contains the operating system disk information
   229                        for a Virtual Machine
   230                      properties:
   231                        diffDiskSettings:
   232                          description: DiffDiskSettings describe ephemeral disk settings
   233                            for the os disk.
   234                          properties:
   235                            option:
   236                              description: Option enables ephemeral OS when set to "Local"
   237                                See https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks
   238                                for full details
   239                              enum:
   240                              - Local
   241                              type: string
   242                          required:
   243                          - option
   244                          type: object
   245                        diskSizeGB:
   246                          format: int32
   247                          type: integer
   248                        managedDisk:
   249                          description: ManagedDisk defines the managed disk options
   250                            for a VM.
   251                          properties:
   252                            storageAccountType:
   253                              type: string
   254                          required:
   255                          - storageAccountType
   256                          type: object
   257                        osType:
   258                          type: string
   259                      required:
   260                      - diskSizeGB
   261                      - managedDisk
   262                      - osType
   263                      type: object
   264                    sshPublicKey:
   265                      description: SSHPublicKey is the SSH public key string base64
   266                        encoded to add to a Virtual Machine
   267                      type: string
   268                    vmSize:
   269                      description: VMSize is the size of the Virtual Machine to build.
   270                        See https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/createorupdate#virtualmachinesizetypes
   271                      type: string
   272                  required:
   273                  - osDisk
   274                  - sshPublicKey
   275                  - vmSize
   276                  type: object
   277              required:
   278              - location
   279              - template
   280              type: object
   281            status:
   282              description: AzureMachinePoolStatus defines the observed state of AzureMachinePool
   283              properties:
   284                failureMessage:
   285                  description: "ErrorMessage will be set in the event that there is
   286                    a terminal problem reconciling the MachinePool and will contain
   287                    a more verbose string suitable for logging and human consumption.
   288                    \n This field should not be set for transitive errors that a controller
   289                    faces that are expected to be fixed automatically over time (like
   290                    service outages), but instead indicate that something is fundamentally
   291                    wrong with the MachinePool's spec or the configuration of the controller,
   292                    and that manual intervention is required. Examples of terminal errors
   293                    would be invalid combinations of settings in the spec, values that
   294                    are unsupported by the controller, or the responsible controller
   295                    itself being critically misconfigured. \n Any transient errors that
   296                    occur during the reconciliation of MachinePools can be added as
   297                    events to the MachinePool object and/or logged in the controller's
   298                    output."
   299                  type: string
   300                failureReason:
   301                  description: "ErrorReason will be set in the event that there is a
   302                    terminal problem reconciling the MachinePool and will contain a
   303                    succinct value suitable for machine interpretation. \n This field
   304                    should not be set for transitive errors that a controller faces
   305                    that are expected to be fixed automatically over time (like service
   306                    outages), but instead indicate that something is fundamentally wrong
   307                    with the MachinePool's spec or the configuration of the controller,
   308                    and that manual intervention is required. Examples of terminal errors
   309                    would be invalid combinations of settings in the spec, values that
   310                    are unsupported by the controller, or the responsible controller
   311                    itself being critically misconfigured. \n Any transient errors that
   312                    occur during the reconciliation of MachinePools can be added as
   313                    events to the MachinePool object and/or logged in the controller's
   314                    output."
   315                  type: string
   316                provisioningState:
   317                  description: VMState is the provisioning state of the Azure virtual
   318                    machine.
   319                  type: string
   320                ready:
   321                  description: Ready is true when the provider resource is ready.
   322                  type: boolean
   323                replicas:
   324                  description: Replicas is the most recently observed number of replicas.
   325                  format: int32
   326                  type: integer
   327              type: object
   328          type: object
   329      served: true
   330      storage: true
   331      subresources:
   332        status: {}
   333  status:
   334    acceptedNames:
   335      kind: ""
   336      plural: ""
   337    conditions: []
   338    storedVersions: []