sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/config-capi/crd/bases/cluster.x-k8s.io_clusters.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    creationTimestamp: null
     7    name: clusters.cluster.x-k8s.io
     8  spec:
     9    group: cluster.x-k8s.io
    10    names:
    11      kind: Cluster
    12      plural: clusters
    13      shortNames:
    14      - cl
    15    scope: Namespaced
    16    subresources:
    17      status: {}
    18    validation:
    19      openAPIV3Schema:
    20        description: Cluster is the Schema for the clusters API
    21        properties:
    22          apiVersion:
    23            description: 'APIVersion defines the versioned schema of this representation
    24              of an object. Servers should convert recognized schemas to the latest
    25              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    26            type: string
    27          kind:
    28            description: 'Kind is a string value representing the REST resource this
    29              object represents. Servers may infer this from the endpoint the client
    30              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    31            type: string
    32          metadata:
    33            type: object
    34          spec:
    35            description: / [ClusterSpec] ClusterSpec defines the desired state of Cluster
    36            properties:
    37              clusterNetwork:
    38                description: Cluster network configuration
    39                properties:
    40                  pods:
    41                    description: The network ranges from which Pod networks are allocated.
    42                    properties:
    43                      cidrBlocks:
    44                        items:
    45                          type: string
    46                        type: array
    47                    required:
    48                    - cidrBlocks
    49                    type: object
    50                  serviceDomain:
    51                    description: Domain name for services.
    52                    type: string
    53                  services:
    54                    description: The network ranges from which service VIPs are allocated.
    55                    properties:
    56                      cidrBlocks:
    57                        items:
    58                          type: string
    59                        type: array
    60                    required:
    61                    - cidrBlocks
    62                    type: object
    63                required:
    64                - pods
    65                - serviceDomain
    66                - services
    67                type: object
    68              infrastructureRef:
    69                description: InfrastructureRef is a reference to a provider-specific
    70                  resource that holds the details for provisioning infrastructure for
    71                  a cluster in said provider.
    72                properties:
    73                  apiVersion:
    74                    description: API version of the referent.
    75                    type: string
    76                  fieldPath:
    77                    description: 'If referring to a piece of an object instead of an
    78                      entire object, this string should contain a valid JSON/Go field
    79                      access statement, such as desiredState.manifest.containers[2].
    80                      For example, if the object reference is to a container within
    81                      a pod, this would take on a value like: "spec.containers{name}"
    82                      (where "name" refers to the name of the container that triggered
    83                      the event) or if no container name is specified "spec.containers[2]"
    84                      (container with index 2 in this pod). This syntax is chosen only
    85                      to have some well-defined way of referencing a part of an object.
    86                      TODO: this design is not final and this field is subject to change
    87                      in the future.'
    88                    type: string
    89                  kind:
    90                    description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    91                    type: string
    92                  name:
    93                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    94                    type: string
    95                  namespace:
    96                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    97                    type: string
    98                  resourceVersion:
    99                    description: 'Specific resourceVersion to which this reference is
   100                      made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
   101                    type: string
   102                  uid:
   103                    description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
   104                    type: string
   105                type: object
   106            type: object
   107          status:
   108            description: / [ClusterStatus] ClusterStatus defines the observed state
   109              of Cluster
   110            properties:
   111              apiEndpoints:
   112                description: APIEndpoints represents the endpoints to communicate with
   113                  the control plane.
   114                items:
   115                  description: / [APIEndpoint] APIEndpoint represents a reachable Kubernetes
   116                    API endpoint.
   117                  properties:
   118                    host:
   119                      description: The hostname on which the API server is serving.
   120                      type: string
   121                    port:
   122                      description: The port on which the API server is serving.
   123                      type: integer
   124                  required:
   125                  - host
   126                  - port
   127                  type: object
   128                type: array
   129              errorMessage:
   130                description: ErrorMessage indicates that there is a problem reconciling
   131                  the state, and will be set to a descriptive error message.
   132                type: string
   133              errorReason:
   134                description: ErrorReason indicates that there is a problem reconciling
   135                  the state, and will be set to a token value suitable for programmatic
   136                  interpretation.
   137                type: string
   138              infrastructureReady:
   139                description: InfrastructureReady is the state of the infrastructure
   140                  provider.
   141                type: boolean
   142              phase:
   143                description: Phase represents the current phase of cluster actuation.
   144                  E.g. Pending, Running, Terminating, Failed etc.
   145                type: string
   146            type: object
   147        type: object
   148    version: v1alpha2
   149    versions:
   150    - name: v1alpha2
   151      served: true
   152      storage: true
   153  status:
   154    acceptedNames:
   155      kind: ""
   156      plural: ""
   157    conditions: []
   158    storedVersions: []