sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/config-capi/crds/cluster.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.k8s.io
     8  spec:
     9    group: cluster.k8s.io
    10    names:
    11      kind: Cluster
    12      plural: clusters
    13      shortNames:
    14      - cl
    15    scope: Namespaced
    16    validation:
    17      openAPIV3Schema:
    18        description: / [Cluster] Cluster is the Schema for the clusters API
    19        properties:
    20          apiVersion:
    21            description: 'APIVersion defines the versioned schema of this representation
    22              of an object. Servers should convert recognized schemas to the latest
    23              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    24            type: string
    25          kind:
    26            description: 'Kind is a string value representing the REST resource this
    27              object represents. Servers may infer this from the endpoint the client
    28              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    29            type: string
    30          metadata:
    31            type: object
    32          spec:
    33            description: / [ClusterSpec] ClusterSpec defines the desired state of Cluster
    34            properties:
    35              clusterNetwork:
    36                description: Cluster network configuration
    37                properties:
    38                  pods:
    39                    description: The network ranges from which Pod networks are allocated.
    40                    properties:
    41                      cidrBlocks:
    42                        items:
    43                          type: string
    44                        type: array
    45                    required:
    46                    - cidrBlocks
    47                    type: object
    48                  serviceDomain:
    49                    description: Domain name for services.
    50                    type: string
    51                  services:
    52                    description: The network ranges from which service VIPs are allocated.
    53                    properties:
    54                      cidrBlocks:
    55                        items:
    56                          type: string
    57                        type: array
    58                    required:
    59                    - cidrBlocks
    60                    type: object
    61                required:
    62                - pods
    63                - serviceDomain
    64                - services
    65                type: object
    66              providerSpec:
    67                description: Provider-specific serialized configuration to use during
    68                  cluster creation. It is recommended that providers maintain their
    69                  own versioned API types that should be serialized/deserialized from
    70                  this field.
    71                properties:
    72                  value:
    73                    description: Value is an inlined, serialized representation of the
    74                      resource configuration. It is recommended that providers maintain
    75                      their own versioned API types that should be serialized/deserialized
    76                      from this field, akin to component config.
    77                    type: object
    78                  valueFrom:
    79                    description: Source for the provider configuration. Cannot be used
    80                      if value is not empty.
    81                    properties:
    82                      machineClass:
    83                        description: The machine class from which the provider config
    84                          should be sourced.
    85                        properties:
    86                          apiVersion:
    87                            description: API version of the referent.
    88                            type: string
    89                          fieldPath:
    90                            description: 'If referring to a piece of an object instead
    91                              of an entire object, this string should contain a valid
    92                              JSON/Go field access statement, such as desiredState.manifest.containers[2].
    93                              For example, if the object reference is to a container
    94                              within a pod, this would take on a value like: "spec.containers{name}"
    95                              (where "name" refers to the name of the container that
    96                              triggered the event) or if no container name is specified
    97                              "spec.containers[2]" (container with index 2 in this pod).
    98                              This syntax is chosen only to have some well-defined way
    99                              of referencing a part of an object. TODO: this design
   100                              is not final and this field is subject to change in the
   101                              future.'
   102                            type: string
   103                          kind:
   104                            description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
   105                            type: string
   106                          name:
   107                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   108                            type: string
   109                          namespace:
   110                            description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   111                            type: string
   112                          provider:
   113                            description: Provider is the name of the cloud-provider
   114                              which MachineClass is intended for.
   115                            type: string
   116                          resourceVersion:
   117                            description: 'Specific resourceVersion to which this reference
   118                              is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
   119                            type: string
   120                          uid:
   121                            description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
   122                            type: string
   123                        type: object
   124                    type: object
   125                type: object
   126            type: object
   127          status:
   128            description: / [ClusterStatus] ClusterStatus defines the observed state
   129              of Cluster
   130            properties:
   131              apiEndpoints:
   132                description: APIEndpoint represents the endpoint to communicate with
   133                  the IP.
   134                items:
   135                  description: / [APIEndpoint] APIEndpoint represents a reachable Kubernetes
   136                    API endpoint.
   137                  properties:
   138                    host:
   139                      description: The hostname on which the API server is serving.
   140                      type: string
   141                    port:
   142                      description: The port on which the API server is serving.
   143                      type: integer
   144                  required:
   145                  - host
   146                  - port
   147                  type: object
   148                type: array
   149              errorMessage:
   150                description: If set, indicates that there is a problem reconciling the
   151                  state, and will be set to a descriptive error message.
   152                type: string
   153              errorReason:
   154                description: If set, indicates that there is a problem reconciling the
   155                  state, and will be set to a token value suitable for programmatic
   156                  interpretation.
   157                type: string
   158              providerStatus:
   159                description: Provider-specific status. It is recommended that providers
   160                  maintain their own versioned API types that should be serialized/deserialized
   161                  from this field.
   162                type: object
   163            type: object
   164        type: object
   165    version: v1alpha1
   166    versions:
   167    - name: v1alpha1
   168      served: true
   169      storage: true
   170  status:
   171    acceptedNames:
   172      kind: ""
   173      plural: ""
   174    conditions: []
   175    storedVersions: []