...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/cloudtasks_v1alpha1_cloudtasksqueue.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: alpha
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: cloudtasksqueues.cloudtasks.cnrm.cloud.google.com
    27spec:
    28  group: cloudtasks.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: CloudTasksQueue
    33    plural: cloudtasksqueues
    34    shortNames:
    35    - gcpcloudtasksqueue
    36    - gcpcloudtasksqueues
    37    singular: cloudtasksqueue
    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: v1alpha1
    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              appEngineRoutingOverride:
    75                description: |-
    76                  Overrides for task-level appEngineRouting. These settings apply only
    77                  to App Engine tasks in this queue.
    78                properties:
    79                  host:
    80                    description: The host that the task is sent to.
    81                    type: string
    82                  instance:
    83                    description: |-
    84                      App instance.
    85
    86                      By default, the task is sent to an instance which is available when the task is attempted.
    87                    type: string
    88                  service:
    89                    description: |-
    90                      App service.
    91
    92                      By default, the task is sent to the service which is the default service when the task is attempted.
    93                    type: string
    94                  version:
    95                    description: |-
    96                      App version.
    97
    98                      By default, the task is sent to the version which is the default version when the task is attempted.
    99                    type: string
   100                type: object
   101              location:
   102                description: Immutable. The location of the queue.
   103                type: string
   104              projectRef:
   105                description: The project that this resource belongs to.
   106                oneOf:
   107                - not:
   108                    required:
   109                    - external
   110                  required:
   111                  - name
   112                - not:
   113                    anyOf:
   114                    - required:
   115                      - name
   116                    - required:
   117                      - namespace
   118                  required:
   119                  - external
   120                properties:
   121                  external:
   122                    description: 'Allowed value: The `name` field of a `Project` resource.'
   123                    type: string
   124                  name:
   125                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   126                    type: string
   127                  namespace:
   128                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   129                    type: string
   130                type: object
   131              rateLimits:
   132                description: |-
   133                  Rate limits for task dispatches.
   134
   135                  The queue's actual dispatch rate is the result of:
   136
   137                  * Number of tasks in the queue
   138                  * User-specified throttling: rateLimits, retryConfig, and the queue's state.
   139                  * System throttling due to 429 (Too Many Requests) or 503 (Service
   140                    Unavailable) responses from the worker, high error rates, or to
   141                    smooth sudden large traffic spikes.
   142                properties:
   143                  maxBurstSize:
   144                    description: |-
   145                      The max burst size.
   146
   147                      Max burst size limits how fast tasks in queue are processed when many tasks are
   148                      in the queue and the rate is high. This field allows the queue to have a high
   149                      rate so processing starts shortly after a task is enqueued, but still limits
   150                      resource usage when many tasks are enqueued in a short period of time.
   151                    type: integer
   152                  maxConcurrentDispatches:
   153                    description: |-
   154                      The maximum number of concurrent tasks that Cloud Tasks allows to
   155                      be dispatched for this queue. After this threshold has been
   156                      reached, Cloud Tasks stops dispatching tasks until the number of
   157                      concurrent requests decreases.
   158                    type: integer
   159                  maxDispatchesPerSecond:
   160                    description: |-
   161                      The maximum rate at which tasks are dispatched from this queue.
   162
   163                      If unspecified when the queue is created, Cloud Tasks will pick the default.
   164                    type: number
   165                type: object
   166              resourceID:
   167                description: Immutable. Optional. The name of the resource. Used for
   168                  creation and acquisition. When unset, the value of `metadata.name`
   169                  is used as the default.
   170                type: string
   171              retryConfig:
   172                description: Settings that determine the retry behavior.
   173                properties:
   174                  maxAttempts:
   175                    description: |-
   176                      Number of attempts per task.
   177
   178                      Cloud Tasks will attempt the task maxAttempts times (that is, if
   179                      the first attempt fails, then there will be maxAttempts - 1
   180                      retries). Must be >= -1.
   181
   182                      If unspecified when the queue is created, Cloud Tasks will pick
   183                      the default.
   184
   185                      -1 indicates unlimited attempts.
   186                    type: integer
   187                  maxBackoff:
   188                    description: |-
   189                      A task will be scheduled for retry between minBackoff and
   190                      maxBackoff duration after it fails, if the queue's RetryConfig
   191                      specifies that the task should be retried.
   192                    type: string
   193                  maxDoublings:
   194                    description: |-
   195                      The time between retries will double maxDoublings times.
   196
   197                      A task's retry interval starts at minBackoff, then doubles maxDoublings times,
   198                      then increases linearly, and finally retries retries at intervals of maxBackoff
   199                      up to maxAttempts times.
   200                    type: integer
   201                  maxRetryDuration:
   202                    description: |-
   203                      If positive, maxRetryDuration specifies the time limit for
   204                      retrying a failed task, measured from when the task was first
   205                      attempted. Once maxRetryDuration time has passed and the task has
   206                      been attempted maxAttempts times, no further attempts will be
   207                      made and the task will be deleted.
   208
   209                      If zero, then the task age is unlimited.
   210                    type: string
   211                  minBackoff:
   212                    description: |-
   213                      A task will be scheduled for retry between minBackoff and
   214                      maxBackoff duration after it fails, if the queue's RetryConfig
   215                      specifies that the task should be retried.
   216                    type: string
   217                type: object
   218              stackdriverLoggingConfig:
   219                description: Configuration options for writing logs to Stackdriver
   220                  Logging.
   221                properties:
   222                  samplingRatio:
   223                    description: |-
   224                      Specifies the fraction of operations to write to Stackdriver Logging.
   225                      This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the
   226                      default and means that no operations are logged.
   227                    type: number
   228                required:
   229                - samplingRatio
   230                type: object
   231            required:
   232            - location
   233            - projectRef
   234            type: object
   235          status:
   236            properties:
   237              conditions:
   238                description: Conditions represent the latest available observation
   239                  of the resource's current state.
   240                items:
   241                  properties:
   242                    lastTransitionTime:
   243                      description: Last time the condition transitioned from one status
   244                        to another.
   245                      type: string
   246                    message:
   247                      description: Human-readable message indicating details about
   248                        last transition.
   249                      type: string
   250                    reason:
   251                      description: Unique, one-word, CamelCase reason for the condition's
   252                        last transition.
   253                      type: string
   254                    status:
   255                      description: Status is the status of the condition. Can be True,
   256                        False, Unknown.
   257                      type: string
   258                    type:
   259                      description: Type is the type of the condition.
   260                      type: string
   261                  type: object
   262                type: array
   263              observedGeneration:
   264                description: ObservedGeneration is the generation of the resource
   265                  that was most recently observed by the Config Connector controller.
   266                  If this is equal to metadata.generation, then that means that the
   267                  current reported status reflects the most recent desired state of
   268                  the resource.
   269                type: integer
   270            type: object
   271        required:
   272        - spec
   273        type: object
   274    served: true
   275    storage: true
   276    subresources:
   277      status: {}
   278status:
   279  acceptedNames:
   280    kind: ""
   281    plural: ""
   282  conditions: []
   283  storedVersions: []

View as plain text