github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1beta1/infrastructure.giantswarm.io_g8scontrolplanes.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: g8scontrolplanes.infrastructure.giantswarm.io
    10  spec:
    11    group: infrastructure.giantswarm.io
    12    names:
    13      categories:
    14      - aws
    15      - cluster-api
    16      - giantswarm
    17      kind: G8sControlPlane
    18      listKind: G8sControlPlaneList
    19      plural: g8scontrolplanes
    20      singular: g8scontrolplane
    21    scope: Namespaced
    22    subresources:
    23      status: {}
    24    validation:
    25      openAPIV3Schema:
    26        description: The G8sControlPlane resource defines the Control Plane nodes (Kubernetes
    27          master nodes) of a Giant Swarm tenant cluster. It is reconciled by cluster-operator.
    28        properties:
    29          apiVersion:
    30            description: 'APIVersion defines the versioned schema of this representation
    31              of an object. Servers should convert recognized schemas to the latest
    32              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    33            type: string
    34          kind:
    35            description: 'Kind is a string value representing the REST resource this
    36              object represents. Servers may infer this from the endpoint the client
    37              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    38            type: string
    39          metadata:
    40            type: object
    41          spec:
    42            description: Specification part.
    43            properties:
    44              infrastructureRef:
    45                description: Reference to a provider-specific resource. On AWS, this
    46                  would be of kind [AWSControlPlane](https://docs.giantswarm.io/reference/cp-k8s-api/awscontrolplanes.infrastructure.giantswarm.io/).
    47                properties:
    48                  apiVersion:
    49                    description: API version of the referent.
    50                    type: string
    51                  fieldPath:
    52                    description: 'If referring to a piece of an object instead of an
    53                      entire object, this string should contain a valid JSON/Go field
    54                      access statement, such as desiredState.manifest.containers[2].
    55                      For example, if the object reference is to a container within
    56                      a pod, this would take on a value like: "spec.containers{name}"
    57                      (where "name" refers to the name of the container that triggered
    58                      the event) or if no container name is specified "spec.containers[2]"
    59                      (container with index 2 in this pod). This syntax is chosen only
    60                      to have some well-defined way of referencing a part of an object.
    61                      TODO: this design is not final and this field is subject to change
    62                      in the future.'
    63                    type: string
    64                  kind:
    65                    description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    66                    type: string
    67                  name:
    68                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    69                    type: string
    70                  namespace:
    71                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    72                    type: string
    73                  resourceVersion:
    74                    description: 'Specific resourceVersion to which this reference is
    75                      made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
    76                    type: string
    77                  uid:
    78                    description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
    79                    type: string
    80                type: object
    81              replicas:
    82                description: Number of master nodes.
    83                enum:
    84                - 1
    85                - 3
    86                type: integer
    87            required:
    88            - infrastructureRef
    89            type: object
    90          status:
    91            description: Status information.
    92            properties:
    93              readyReplicas:
    94                description: Total number of fully running and ready control plane machines.
    95                format: int32
    96                type: integer
    97              replicas:
    98                description: Total number of non-terminated machines targeted by this
    99                  control plane (their labels match the selector).
   100                format: int32
   101                type: integer
   102            type: object
   103        required:
   104        - spec
   105        type: object
   106    version: v1alpha2
   107    versions:
   108    - name: v1alpha2
   109      served: true
   110      storage: true
   111  status:
   112    acceptedNames:
   113      kind: ""
   114      plural: ""
   115    conditions: []
   116    storedVersions: []