github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/infrastructure.giantswarm.io_awsmachinedeployments.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: awsmachinedeployments.infrastructure.giantswarm.io
    10  spec:
    11    group: infrastructure.giantswarm.io
    12    names:
    13      categories:
    14      - aws
    15      - giantswarm
    16      - cluster-api
    17      kind: AWSMachineDeployment
    18      listKind: AWSMachineDeploymentList
    19      plural: awsmachinedeployments
    20      singular: awsmachinedeployment
    21    scope: Namespaced
    22    versions:
    23    - name: v1alpha2
    24      schema:
    25        openAPIV3Schema:
    26          description: AWSMachineDeployment is the infrastructure provider referenced
    27            in Kubernetes Cluster API MachineDeployment resources. It contains provider-specific
    28            specification and status for a node pool. In use on AWS since Giant Swarm
    29            release v10.x.x and reconciled by aws-operator.
    30          properties:
    31            apiVersion:
    32              description: 'APIVersion defines the versioned schema of this representation
    33                of an object. Servers should convert recognized schemas to the latest
    34                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    35              type: string
    36            kind:
    37              description: 'Kind is a string value representing the REST resource this
    38                object represents. Servers may infer this from the endpoint the client
    39                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    40              type: string
    41            metadata:
    42              type: object
    43            spec:
    44              description: Contains the specification.
    45              properties:
    46                nodePool:
    47                  description: Specifies details of node pool and the worker nodes it
    48                    should contain.
    49                  properties:
    50                    description:
    51                      description: User-friendly name or description of the purpose
    52                        of the node pool.
    53                      type: string
    54                    machine:
    55                      description: Specification of the worker node machine.
    56                      properties:
    57                        dockerVolumeSizeGB:
    58                          description: 'Size of the volume reserved for Docker images
    59                            and overlay file systems of Docker containers. Unit: 1 GB
    60                            = 1,000,000,000 Bytes.'
    61                          type: integer
    62                        kubeletVolumeSizeGB:
    63                          description: 'Size of the volume reserved for the kubelet,
    64                            which can be used by Pods via volumes of type EmptyDir.
    65                            Unit: 1 GB = 1,000,000,000 Bytes.'
    66                          type: integer
    67                      required:
    68                      - dockerVolumeSizeGB
    69                      - kubeletVolumeSizeGB
    70                      type: object
    71                    scaling:
    72                      description: Scaling settings for the node pool, configuring the
    73                        cluster-autoscaler determining the number of nodes to have in
    74                        this node pool.
    75                      properties:
    76                        max:
    77                          description: Maximum number of worker nodes in this node pool.
    78                          type: integer
    79                        min:
    80                          description: Minimum number of worker nodes in this node pool.
    81                          type: integer
    82                      required:
    83                      - max
    84                      - min
    85                      type: object
    86                  required:
    87                  - description
    88                  - machine
    89                  - scaling
    90                  type: object
    91                provider:
    92                  description: Contains AWS specific details.
    93                  properties:
    94                    availabilityZones:
    95                      description: Name(s) of the availability zone(s) to use for worker
    96                        nodes. Using multiple availability zones results in higher resilience
    97                        but can also result in higher cost due to network traffic between
    98                        availability zones.
    99                      items:
   100                        type: string
   101                      type: array
   102                    instanceDistribution:
   103                      description: Settings defining the distribution of on-demand and
   104                        spot instances in the node pool.
   105                      properties:
   106                        onDemandBaseCapacity:
   107                          default: 0
   108                          description: Base capacity of on-demand instances to use for
   109                            worker nodes in this pool. When this larger than 0, this
   110                            value defines a number of worker nodes that will be created
   111                            using on-demand EC2 instances, regardless of the value configured
   112                            as `onDemandPercentageAboveBaseCapacity`.
   113                          minimum: 0
   114                          type: integer
   115                        onDemandPercentageAboveBaseCapacity:
   116                          description: Percentage of on-demand EC2 instances to use
   117                            for worker nodes, instead of spot instances, for instances
   118                            exceeding `onDemandBaseCapacity`. For example, to have half
   119                            of the worker nodes use spot instances and half use on-demand,
   120                            set this value to 50.
   121                          maximum: 100
   122                          minimum: 0
   123                          type: integer
   124                      type: object
   125                    worker:
   126                      description: Specification of worker nodes.
   127                      properties:
   128                        instanceType:
   129                          description: AWS EC2 instance type name to use for the worker
   130                            nodes in this node pool.
   131                          type: string
   132                        useAlikeInstanceTypes:
   133                          default: false
   134                          description: If true, certain instance types with specs similar
   135                            to instanceType will be used.
   136                          type: boolean
   137                      required:
   138                      - instanceType
   139                      - useAlikeInstanceTypes
   140                      type: object
   141                  required:
   142                  - availabilityZones
   143                  - worker
   144                  type: object
   145              required:
   146              - nodePool
   147              - provider
   148              type: object
   149            status:
   150              description: Holds status information.
   151              properties:
   152                provider:
   153                  description: Status specific to AWS.
   154                  properties:
   155                    worker:
   156                      description: Status of worker nodes.
   157                      properties:
   158                        instanceTypes:
   159                          description: AWS EC2 instance types used for the worker nodes
   160                            in this node pool.
   161                          items:
   162                            type: string
   163                          type: array
   164                        spotInstances:
   165                          description: Number of EC2 spot instances used in this node
   166                            pool.
   167                          type: integer
   168                      type: object
   169                  type: object
   170              type: object
   171          required:
   172          - spec
   173          type: object
   174      served: true
   175      storage: true
   176      subresources:
   177        status: {}
   178  status:
   179    acceptedNames:
   180      kind: ""
   181      plural: ""
   182    conditions: []
   183    storedVersions: []