...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/compute_v1beta1_computetargetpool.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: computetargetpools.compute.cnrm.cloud.google.com
    27spec:
    28  group: compute.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: ComputeTargetPool
    33    plural: computetargetpools
    34    shortNames:
    35    - gcpcomputetargetpool
    36    - gcpcomputetargetpools
    37    singular: computetargetpool
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              backupTargetPoolRef:
    75                oneOf:
    76                - not:
    77                    required:
    78                    - external
    79                  required:
    80                  - name
    81                - not:
    82                    anyOf:
    83                    - required:
    84                      - name
    85                    - required:
    86                      - namespace
    87                  required:
    88                  - external
    89                properties:
    90                  external:
    91                    description: 'Allowed value: The `selfLink` field of a `ComputeTargetPool`
    92                      resource.'
    93                    type: string
    94                  name:
    95                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    96                    type: string
    97                  namespace:
    98                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    99                    type: string
   100                type: object
   101              description:
   102                description: Immutable. Textual description field.
   103                type: string
   104              failoverRatio:
   105                description: Immutable. Ratio (0 to 1) of failed nodes before using
   106                  the backup pool (which must also be set).
   107                type: number
   108              healthChecks:
   109                items:
   110                  properties:
   111                    httpHealthCheckRef:
   112                      oneOf:
   113                      - not:
   114                          required:
   115                          - external
   116                        required:
   117                        - name
   118                      - not:
   119                          anyOf:
   120                          - required:
   121                            - name
   122                          - required:
   123                            - namespace
   124                        required:
   125                        - external
   126                      properties:
   127                        external:
   128                          description: 'Allowed value: The `selfLink` field of a `ComputeHTTPHealthCheck`
   129                            resource.'
   130                          type: string
   131                        name:
   132                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   133                          type: string
   134                        namespace:
   135                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   136                          type: string
   137                      type: object
   138                  type: object
   139                type: array
   140              instances:
   141                items:
   142                  oneOf:
   143                  - not:
   144                      required:
   145                      - external
   146                    required:
   147                    - name
   148                  - not:
   149                      anyOf:
   150                      - required:
   151                        - name
   152                      - required:
   153                        - namespace
   154                    required:
   155                    - external
   156                  properties:
   157                    external:
   158                      description: 'Allowed value: The `selfLink` field of a `ComputeInstance`
   159                        resource.'
   160                      type: string
   161                    name:
   162                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   163                      type: string
   164                    namespace:
   165                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   166                      type: string
   167                  type: object
   168                type: array
   169              region:
   170                description: Immutable. Where the target pool resides. Defaults to
   171                  project region.
   172                type: string
   173              resourceID:
   174                description: Immutable. Optional. The name of the resource. Used for
   175                  creation and acquisition. When unset, the value of `metadata.name`
   176                  is used as the default.
   177                type: string
   178              sessionAffinity:
   179                description: Immutable. How to distribute load. Options are "NONE"
   180                  (no affinity). "CLIENT_IP" (hash of the source/dest addresses /
   181                  ports), and "CLIENT_IP_PROTO" also includes the protocol (default
   182                  "NONE").
   183                type: string
   184            required:
   185            - region
   186            type: object
   187          status:
   188            properties:
   189              conditions:
   190                description: Conditions represent the latest available observation
   191                  of the resource's current state.
   192                items:
   193                  properties:
   194                    lastTransitionTime:
   195                      description: Last time the condition transitioned from one status
   196                        to another.
   197                      type: string
   198                    message:
   199                      description: Human-readable message indicating details about
   200                        last transition.
   201                      type: string
   202                    reason:
   203                      description: Unique, one-word, CamelCase reason for the condition's
   204                        last transition.
   205                      type: string
   206                    status:
   207                      description: Status is the status of the condition. Can be True,
   208                        False, Unknown.
   209                      type: string
   210                    type:
   211                      description: Type is the type of the condition.
   212                      type: string
   213                  type: object
   214                type: array
   215              observedGeneration:
   216                description: ObservedGeneration is the generation of the resource
   217                  that was most recently observed by the Config Connector controller.
   218                  If this is equal to metadata.generation, then that means that the
   219                  current reported status reflects the most recent desired state of
   220                  the resource.
   221                type: integer
   222              selfLink:
   223                description: The URI of the created resource.
   224                type: string
   225            type: object
   226        required:
   227        - spec
   228        type: object
   229    served: true
   230    storage: true
   231    subresources:
   232      status: {}
   233status:
   234  acceptedNames:
   235    kind: ""
   236    plural: ""
   237  conditions: []
   238  storedVersions: []

View as plain text