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