...
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: dataflowjobs.dataflow.cnrm.cloud.google.com
27spec:
28 group: dataflow.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: DataflowJob
33 plural: dataflowjobs
34 shortNames:
35 - gcpdataflowjob
36 - gcpdataflowjobs
37 singular: dataflowjob
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 additionalExperiments:
75 description: List of experiments that should be used by the job. An
76 example value is ["enable_stackdriver_agent_metrics"].
77 items:
78 type: string
79 type: array
80 enableStreamingEngine:
81 description: Indicates if the job should use the streaming engine
82 feature.
83 type: boolean
84 ipConfiguration:
85 description: The configuration for VM IPs. Options are "WORKER_IP_PUBLIC"
86 or "WORKER_IP_PRIVATE".
87 type: string
88 kmsKeyRef:
89 description: The name for the Cloud KMS key for the job.
90 oneOf:
91 - not:
92 required:
93 - external
94 required:
95 - name
96 - not:
97 anyOf:
98 - required:
99 - name
100 - required:
101 - namespace
102 required:
103 - external
104 properties:
105 external:
106 description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
107 resource.'
108 type: string
109 name:
110 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
111 type: string
112 namespace:
113 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
114 type: string
115 type: object
116 machineType:
117 description: The machine type to use for the job.
118 type: string
119 maxWorkers:
120 description: Immutable. The number of workers permitted to work on
121 the job. More workers may improve processing speed at additional
122 cost.
123 type: integer
124 networkRef:
125 oneOf:
126 - not:
127 required:
128 - external
129 required:
130 - name
131 - not:
132 anyOf:
133 - required:
134 - name
135 - required:
136 - namespace
137 required:
138 - external
139 properties:
140 external:
141 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
142 resource.'
143 type: string
144 name:
145 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
146 type: string
147 namespace:
148 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
149 type: string
150 type: object
151 parameters:
152 description: Key/Value pairs to be passed to the Dataflow job (as
153 used in the template).
154 type: object
155 x-kubernetes-preserve-unknown-fields: true
156 region:
157 description: Immutable. The region in which the created job should
158 run.
159 type: string
160 resourceID:
161 description: Immutable. Optional. The name of the resource. Used for
162 creation and acquisition. When unset, the value of `metadata.name`
163 is used as the default.
164 type: string
165 serviceAccountRef:
166 oneOf:
167 - not:
168 required:
169 - external
170 required:
171 - name
172 - not:
173 anyOf:
174 - required:
175 - name
176 - required:
177 - namespace
178 required:
179 - external
180 properties:
181 external:
182 description: 'Allowed value: The `email` field of an `IAMServiceAccount`
183 resource.'
184 type: string
185 name:
186 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
187 type: string
188 namespace:
189 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
190 type: string
191 type: object
192 subnetworkRef:
193 oneOf:
194 - not:
195 required:
196 - external
197 required:
198 - name
199 - not:
200 anyOf:
201 - required:
202 - name
203 - required:
204 - namespace
205 required:
206 - external
207 properties:
208 external:
209 description: 'Allowed value: The `selfLink` field of a `ComputeSubnetwork`
210 resource.'
211 type: string
212 name:
213 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
214 type: string
215 namespace:
216 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
217 type: string
218 type: object
219 tempGcsLocation:
220 description: A writeable location on Google Cloud Storage for the
221 Dataflow job to dump its temporary data.
222 type: string
223 templateGcsPath:
224 description: The Google Cloud Storage path to the Dataflow job template.
225 type: string
226 transformNameMapping:
227 description: Only applicable when updating a pipeline. Map of transform
228 name prefixes of the job to be replaced with the corresponding name
229 prefixes of the new job.
230 type: object
231 x-kubernetes-preserve-unknown-fields: true
232 zone:
233 description: Immutable. The zone in which the created job should run.
234 If it is not provided, the provider zone is used.
235 type: string
236 required:
237 - tempGcsLocation
238 - templateGcsPath
239 type: object
240 status:
241 properties:
242 conditions:
243 description: Conditions represent the latest available observation
244 of the resource's current state.
245 items:
246 properties:
247 lastTransitionTime:
248 description: Last time the condition transitioned from one status
249 to another.
250 type: string
251 message:
252 description: Human-readable message indicating details about
253 last transition.
254 type: string
255 reason:
256 description: Unique, one-word, CamelCase reason for the condition's
257 last transition.
258 type: string
259 status:
260 description: Status is the status of the condition. Can be True,
261 False, Unknown.
262 type: string
263 type:
264 description: Type is the type of the condition.
265 type: string
266 type: object
267 type: array
268 jobId:
269 description: The unique ID of this job.
270 type: string
271 observedGeneration:
272 description: ObservedGeneration is the generation of the resource
273 that was most recently observed by the Config Connector controller.
274 If this is equal to metadata.generation, then that means that the
275 current reported status reflects the most recent desired state of
276 the resource.
277 type: integer
278 state:
279 description: The current state of the resource, selected from the
280 JobState enum.
281 type: string
282 type:
283 description: The type of this job, selected from the JobType enum.
284 type: string
285 type: object
286 required:
287 - spec
288 type: object
289 served: true
290 storage: true
291 subresources:
292 status: {}
293status:
294 acceptedNames:
295 kind: ""
296 plural: ""
297 conditions: []
298 storedVersions: []
View as plain text