...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_computehealthchecks.compute.cnrm.cloud.google.com.yaml

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

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/managed-by-kcc: "true"
     9    cnrm.cloud.google.com/stability-level: stable
    10    cnrm.cloud.google.com/system: "true"
    11    cnrm.cloud.google.com/tf2crd: "true"
    12  name: computehealthchecks.compute.cnrm.cloud.google.com
    13spec:
    14  group: compute.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: ComputeHealthCheck
    19    plural: computehealthchecks
    20    shortNames:
    21    - gcpcomputehealthcheck
    22    - gcpcomputehealthchecks
    23    singular: computehealthcheck
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1beta1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              checkIntervalSec:
    62                description: |-
    63                  How often (in seconds) to send a health check. The default value is 5
    64                  seconds.
    65                type: integer
    66              description:
    67                description: |-
    68                  An optional description of this resource. Provide this property when
    69                  you create the resource.
    70                type: string
    71              grpcHealthCheck:
    72                description: A nested object resource.
    73                properties:
    74                  grpcServiceName:
    75                    description: |-
    76                      The gRPC service name for the health check.
    77                      The value of grpcServiceName has the following meanings by convention:
    78                        - Empty serviceName means the overall status of all services at the backend.
    79                        - Non-empty serviceName means the health of that gRPC service, as defined by the owner of the service.
    80                      The grpcServiceName can only be ASCII.
    81                    type: string
    82                  port:
    83                    description: |-
    84                      The port number for the health check request.
    85                      Must be specified if portName and portSpecification are not set
    86                      or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535.
    87                    type: integer
    88                  portName:
    89                    description: |-
    90                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
    91                      port_name are defined, port takes precedence.
    92                    type: string
    93                  portSpecification:
    94                    description: |-
    95                      Specifies how port is selected for health checking, can be one of the
    96                      following values:
    97
    98                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
    99
   100                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   101
   102                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   103                        network endpoint is used for health checking. For other backends, the
   104                        port or named port specified in the Backend Service is used for health
   105                        checking.
   106
   107                      If not specified, gRPC health check follows behavior specified in 'port' and
   108                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   109                    type: string
   110                type: object
   111              healthyThreshold:
   112                description: |-
   113                  A so-far unhealthy instance will be marked healthy after this many
   114                  consecutive successes. The default value is 2.
   115                type: integer
   116              http2HealthCheck:
   117                description: A nested object resource.
   118                properties:
   119                  host:
   120                    description: |-
   121                      The value of the host header in the HTTP2 health check request.
   122                      If left empty (default value), the public IP on behalf of which this health
   123                      check is performed will be used.
   124                    type: string
   125                  port:
   126                    description: |-
   127                      The TCP port number for the HTTP2 health check request.
   128                      The default value is 443.
   129                    type: integer
   130                  portName:
   131                    description: |-
   132                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
   133                      port_name are defined, port takes precedence.
   134                    type: string
   135                  portSpecification:
   136                    description: |-
   137                      Specifies how port is selected for health checking, can be one of the
   138                      following values:
   139
   140                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
   141
   142                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   143
   144                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   145                        network endpoint is used for health checking. For other backends, the
   146                        port or named port specified in the Backend Service is used for health
   147                        checking.
   148
   149                      If not specified, HTTP2 health check follows behavior specified in 'port' and
   150                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   151                    type: string
   152                  proxyHeader:
   153                    description: |-
   154                      Specifies the type of proxy header to append before sending data to the
   155                      backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"].
   156                    type: string
   157                  requestPath:
   158                    description: |-
   159                      The request path of the HTTP2 health check request.
   160                      The default value is /.
   161                    type: string
   162                  response:
   163                    description: |-
   164                      The bytes to match against the beginning of the response data. If left empty
   165                      (the default value), any response will indicate health. The response data
   166                      can only be ASCII.
   167                    type: string
   168                type: object
   169              httpHealthCheck:
   170                description: A nested object resource.
   171                properties:
   172                  host:
   173                    description: |-
   174                      The value of the host header in the HTTP health check request.
   175                      If left empty (default value), the public IP on behalf of which this health
   176                      check is performed will be used.
   177                    type: string
   178                  port:
   179                    description: |-
   180                      The TCP port number for the HTTP health check request.
   181                      The default value is 80.
   182                    type: integer
   183                  portName:
   184                    description: |-
   185                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
   186                      port_name are defined, port takes precedence.
   187                    type: string
   188                  portSpecification:
   189                    description: |-
   190                      Specifies how port is selected for health checking, can be one of the
   191                      following values:
   192
   193                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
   194
   195                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   196
   197                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   198                        network endpoint is used for health checking. For other backends, the
   199                        port or named port specified in the Backend Service is used for health
   200                        checking.
   201
   202                      If not specified, HTTP health check follows behavior specified in 'port' and
   203                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   204                    type: string
   205                  proxyHeader:
   206                    description: |-
   207                      Specifies the type of proxy header to append before sending data to the
   208                      backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"].
   209                    type: string
   210                  requestPath:
   211                    description: |-
   212                      The request path of the HTTP health check request.
   213                      The default value is /.
   214                    type: string
   215                  response:
   216                    description: |-
   217                      The bytes to match against the beginning of the response data. If left empty
   218                      (the default value), any response will indicate health. The response data
   219                      can only be ASCII.
   220                    type: string
   221                type: object
   222              httpsHealthCheck:
   223                description: A nested object resource.
   224                properties:
   225                  host:
   226                    description: |-
   227                      The value of the host header in the HTTPS health check request.
   228                      If left empty (default value), the public IP on behalf of which this health
   229                      check is performed will be used.
   230                    type: string
   231                  port:
   232                    description: |-
   233                      The TCP port number for the HTTPS health check request.
   234                      The default value is 443.
   235                    type: integer
   236                  portName:
   237                    description: |-
   238                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
   239                      port_name are defined, port takes precedence.
   240                    type: string
   241                  portSpecification:
   242                    description: |-
   243                      Specifies how port is selected for health checking, can be one of the
   244                      following values:
   245
   246                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
   247
   248                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   249
   250                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   251                        network endpoint is used for health checking. For other backends, the
   252                        port or named port specified in the Backend Service is used for health
   253                        checking.
   254
   255                      If not specified, HTTPS health check follows behavior specified in 'port' and
   256                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   257                    type: string
   258                  proxyHeader:
   259                    description: |-
   260                      Specifies the type of proxy header to append before sending data to the
   261                      backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"].
   262                    type: string
   263                  requestPath:
   264                    description: |-
   265                      The request path of the HTTPS health check request.
   266                      The default value is /.
   267                    type: string
   268                  response:
   269                    description: |-
   270                      The bytes to match against the beginning of the response data. If left empty
   271                      (the default value), any response will indicate health. The response data
   272                      can only be ASCII.
   273                    type: string
   274                type: object
   275              location:
   276                description: 'Location represents the geographical location of the
   277                  ComputeHealthCheck. Specify a region name or "global" for global
   278                  resources. Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
   279                type: string
   280              logConfig:
   281                description: Configure logging on this health check.
   282                properties:
   283                  enable:
   284                    description: |-
   285                      Indicates whether or not to export logs. This is false by default,
   286                      which means no health check logging will be done.
   287                    type: boolean
   288                type: object
   289              resourceID:
   290                description: Immutable. Optional. The name of the resource. Used for
   291                  creation and acquisition. When unset, the value of `metadata.name`
   292                  is used as the default.
   293                type: string
   294              sslHealthCheck:
   295                description: A nested object resource.
   296                properties:
   297                  port:
   298                    description: |-
   299                      The TCP port number for the SSL health check request.
   300                      The default value is 443.
   301                    type: integer
   302                  portName:
   303                    description: |-
   304                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
   305                      port_name are defined, port takes precedence.
   306                    type: string
   307                  portSpecification:
   308                    description: |-
   309                      Specifies how port is selected for health checking, can be one of the
   310                      following values:
   311
   312                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
   313
   314                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   315
   316                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   317                        network endpoint is used for health checking. For other backends, the
   318                        port or named port specified in the Backend Service is used for health
   319                        checking.
   320
   321                      If not specified, SSL health check follows behavior specified in 'port' and
   322                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   323                    type: string
   324                  proxyHeader:
   325                    description: |-
   326                      Specifies the type of proxy header to append before sending data to the
   327                      backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"].
   328                    type: string
   329                  request:
   330                    description: |-
   331                      The application data to send once the SSL connection has been
   332                      established (default value is empty). If both request and response are
   333                      empty, the connection establishment alone will indicate health. The request
   334                      data can only be ASCII.
   335                    type: string
   336                  response:
   337                    description: |-
   338                      The bytes to match against the beginning of the response data. If left empty
   339                      (the default value), any response will indicate health. The response data
   340                      can only be ASCII.
   341                    type: string
   342                type: object
   343              tcpHealthCheck:
   344                description: A nested object resource.
   345                properties:
   346                  port:
   347                    description: |-
   348                      The TCP port number for the TCP health check request.
   349                      The default value is 443.
   350                    type: integer
   351                  portName:
   352                    description: |-
   353                      Port name as defined in InstanceGroup#NamedPort#name. If both port and
   354                      port_name are defined, port takes precedence.
   355                    type: string
   356                  portSpecification:
   357                    description: |-
   358                      Specifies how port is selected for health checking, can be one of the
   359                      following values:
   360
   361                        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking.
   362
   363                        * 'USE_NAMED_PORT': The 'portName' is used for health checking.
   364
   365                        * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each
   366                        network endpoint is used for health checking. For other backends, the
   367                        port or named port specified in the Backend Service is used for health
   368                        checking.
   369
   370                      If not specified, TCP health check follows behavior specified in 'port' and
   371                      'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"].
   372                    type: string
   373                  proxyHeader:
   374                    description: |-
   375                      Specifies the type of proxy header to append before sending data to the
   376                      backend. Default value: "NONE" Possible values: ["NONE", "PROXY_V1"].
   377                    type: string
   378                  request:
   379                    description: |-
   380                      The application data to send once the TCP connection has been
   381                      established (default value is empty). If both request and response are
   382                      empty, the connection establishment alone will indicate health. The request
   383                      data can only be ASCII.
   384                    type: string
   385                  response:
   386                    description: |-
   387                      The bytes to match against the beginning of the response data. If left empty
   388                      (the default value), any response will indicate health. The response data
   389                      can only be ASCII.
   390                    type: string
   391                type: object
   392              timeoutSec:
   393                description: |-
   394                  How long (in seconds) to wait before claiming failure.
   395                  The default value is 5 seconds.  It is invalid for timeoutSec to have
   396                  greater value than checkIntervalSec.
   397                type: integer
   398              unhealthyThreshold:
   399                description: |-
   400                  A so-far healthy instance will be marked unhealthy after this many
   401                  consecutive failures. The default value is 2.
   402                type: integer
   403            required:
   404            - location
   405            type: object
   406          status:
   407            properties:
   408              conditions:
   409                description: Conditions represent the latest available observation
   410                  of the resource's current state.
   411                items:
   412                  properties:
   413                    lastTransitionTime:
   414                      description: Last time the condition transitioned from one status
   415                        to another.
   416                      type: string
   417                    message:
   418                      description: Human-readable message indicating details about
   419                        last transition.
   420                      type: string
   421                    reason:
   422                      description: Unique, one-word, CamelCase reason for the condition's
   423                        last transition.
   424                      type: string
   425                    status:
   426                      description: Status is the status of the condition. Can be True,
   427                        False, Unknown.
   428                      type: string
   429                    type:
   430                      description: Type is the type of the condition.
   431                      type: string
   432                  type: object
   433                type: array
   434              creationTimestamp:
   435                description: Creation timestamp in RFC3339 text format.
   436                type: string
   437              observedGeneration:
   438                description: ObservedGeneration is the generation of the resource
   439                  that was most recently observed by the Config Connector controller.
   440                  If this is equal to metadata.generation, then that means that the
   441                  current reported status reflects the most recent desired state of
   442                  the resource.
   443                type: integer
   444              selfLink:
   445                type: string
   446              type:
   447                description: The type of the health check. One of HTTP, HTTPS, TCP,
   448                  or SSL.
   449                type: string
   450            type: object
   451        required:
   452        - spec
   453        type: object
   454    served: true
   455    storage: true
   456    subresources:
   457      status: {}
   458status:
   459  acceptedNames:
   460    kind: ""
   461    plural: ""
   462  conditions: []
   463  storedVersions: []

View as plain text