blob: 2a5ab5b6c429e729e2295eb4379f572040d540d0 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="run_v1.html">Cloud Run API</a> . <a href="run_v1.namespaces.html">namespaces</a> . <a href="run_v1.namespaces.configurations.html">configurations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
79<p class="firstline">Get information about a configuration.</p>
80<p class="toc_element">
81 <code><a href="#list">list(parent, labelSelector=None, fieldSelector=None, resourceVersion=None, includeUninitialized=None, continue=None, limit=None, watch=None, x__xgafv=None)</a></code></p>
82<p class="firstline">List configurations.</p>
83<h3>Method Details</h3>
84<div class="method">
85 <code class="details" id="get">get(name, x__xgafv=None)</code>
86 <pre>Get information about a configuration.
87
88Args:
89 name: string, The name of the configuration to retrieve.
90For Cloud Run (fully managed), replace {namespace_id} with the project ID
91or number. (required)
92 x__xgafv: string, V1 error format.
93 Allowed values
94 1 - v1 error format
95 2 - v2 error format
96
97Returns:
98 An object of the form:
99
100 { # Configuration represents the &quot;floating HEAD&quot; of a linear history of
101 # Revisions, and optionally how the containers those revisions reference are
102 # built. Users create new Revisions by updating the Configuration&#x27;s spec. The
103 # &quot;latest created&quot; revision&#x27;s name is available under status, as is the &quot;latest
104 # ready&quot; revision&#x27;s name. See also:
105 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration
106 &quot;status&quot;: { # ConfigurationStatus communicates the observed state of the Configuration # Status communicates the observed state of the Configuration (from the
107 # controller).
108 # (from the controller).
109 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # LatestCreatedRevisionName is the last revision that was created from this
110 # Configuration. It might not be ready yet, for that use
111 # LatestReadyRevisionName.
112 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # LatestReadyRevisionName holds the name of the latest Revision stamped out
113 # from this Configuration that has had its &quot;Ready&quot; condition become &quot;True&quot;.
114 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
115 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
116 # state of the world.
117 { # Condition defines a generic condition for a Resource
118 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
119 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
120 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
121 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
122 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
123 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
124 # See also:
125 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
126 # Types common to all resources include:
127 # * &quot;Ready&quot;: True when the Resource is ready.
128 },
129 ],
130 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Configuration that
131 # was last processed by the controller. The observed generation is updated
132 # even if the controller failed to process the spec and create the Revision.
133 #
134 # Clients polling for completed reconciliation should poll until
135 # observedGeneration = metadata.generation, and the Ready condition&#x27;s status
136 # is True or False.
137 },
138 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
139 &quot;spec&quot;: { # ConfigurationSpec holds the desired state of the Configuration (from the # Spec holds the desired state of the Configuration (from the client).
140 # client).
141 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Optional metadata for this Revision, including labels and annotations. Name
142 # will be generated by the Configuration.
143 # To set minimum instances for this revision, use the
144 # &quot;autoscaling.knative.dev/minScale&quot; annotation key. (Cloud Run for Anthos
145 # only). To set maximum instances for this revision, use the
146 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
147 # To set Cloud SQL connections for the revision, use the
148 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key. Values should be
149 # comma separated.
150 # from a template. Based on:
151 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
152 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Optional metadata for this Revision, including labels and annotations. Name
153 # will be generated by the Configuration.
154 # To set minimum instances for this revision, use the
155 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
156 # To set maximum instances for this revision, use the
157 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
158 # To set Cloud SQL connections for the revision, use the
159 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
160 # persisted resources must have, which includes all objects users must create.
161 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
162 #
163 # CreationTimestamp is a timestamp representing the server time when this
164 # object was created. It is not guaranteed to be set in happens-before order
165 # across separate operations. Clients may not set this value. It is
166 # represented in RFC3339 form and is in UTC.
167 #
168 # Populated by the system.
169 # Read-only.
170 # Null for lists.
171 # More info:
172 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
173 &quot;labels&quot;: { # (Optional)
174 #
175 # Map of string keys and values that can be used to organize and categorize
176 # (scope and select) objects. May match selectors of replication controllers
177 # and routes.
178 # More info: http://kubernetes.io/docs/user-guide/labels
179 &quot;a_key&quot;: &quot;A String&quot;,
180 },
181 &quot;generation&quot;: 42, # (Optional)
182 #
183 # A sequence number representing a specific generation of the desired state.
184 # Populated by the system. Read-only.
185 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
186 #
187 # An opaque value that represents the internal version of this object that
188 # can be used by clients to determine when objects have changed. May be used
189 # for optimistic concurrency, change detection, and the watch operation on a
190 # resource or set of resources. Clients must treat these values as opaque and
191 # passed unmodified back to the server. They may only be valid for a
192 # particular resource or set of resources.
193 #
194 # Populated by the system.
195 # Read-only.
196 # Value must be treated as opaque by clients and .
197 # More info:
198 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
199 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
200 #
201 # SelfLink is a URL representing this object.
202 # Populated by the system.
203 # Read-only.
204 # string selfLink = 4;
205 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
206 #
207 # UID is the unique in time and space value for this object. It is typically
208 # generated by the server on successful creation of a resource and is not
209 # allowed to change on PUT operations.
210 #
211 # Populated by the system.
212 # Read-only.
213 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
214 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
215 # Cloud Run region. In Cloud Run the namespace must be equal to either the
216 # project ID or project number.
217 &quot;annotations&quot;: { # (Optional)
218 #
219 # Annotations is an unstructured key value map stored with a resource that
220 # may be set by external tools to store and retrieve arbitrary metadata. They
221 # are not queryable and should be preserved when modifying objects. More
222 # info: http://kubernetes.io/docs/user-guide/annotations
223 &quot;a_key&quot;: &quot;A String&quot;,
224 },
225 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
226 #
227 # Cloud Run fully managed: not supported
228 #
229 # Cloud Run for Anthos: supported
230 #
231 # GenerateName is an optional prefix, used by the server, to generate a
232 # unique name ONLY IF the Name field has not been provided. If this field is
233 # used, the name returned to the client will be different than the name
234 # passed. This value will also be combined with a unique suffix. The provided
235 # value has the same validation rules as the Name field, and may be truncated
236 # by the length of the suffix required to make the value unique on the
237 # server.
238 #
239 # If this field is specified and the generated name exists, the server will
240 # NOT return a 409 - instead, it will either return 201 Created or 500 with
241 # Reason ServerTimeout indicating a unique name could not be found in the
242 # time allotted, and the client should retry (optionally after the time
243 # indicated in the Retry-After header).
244 #
245 # Applied only if Name is not specified.
246 # More info:
247 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
248 # string generateName = 2;
249 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
250 # Is required when creating
251 # resources, although some resources may allow a client to request the
252 # generation of an appropriate name automatically. Name is primarily intended
253 # for creation idempotence and configuration definition. Cannot be updated.
254 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
255 # +optional
256 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
257 #
258 # Cloud Run fully managed: not supported
259 #
260 # Cloud Run for Anthos: supported
261 #
262 # Number of seconds allowed for this object to gracefully terminate before
263 # it will be removed from the system. Only set when deletionTimestamp is also
264 # set. May only be shortened. Read-only.
265 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
266 #
267 # Cloud Run fully managed: not supported
268 #
269 # Cloud Run for Anthos: supported
270 #
271 # The name of the cluster which the object belongs to.
272 # This is used to distinguish resources with same name and namespace in
273 # different clusters. This field is not set anywhere right now and apiserver
274 # is going to ignore it if set in create or update request.
275 &quot;finalizers&quot;: [ # (Optional)
276 #
277 # Cloud Run fully managed: not supported
278 #
279 # Cloud Run for Anthos: supported
280 #
281 # Must be empty before the object is deleted from the registry. Each entry
282 # is an identifier for the responsible component that will remove the entry
283 # from the list. If the deletionTimestamp of the object is non-nil, entries
284 # in this list can only be removed.
285 # +patchStrategy=merge
286 &quot;A String&quot;,
287 ],
288 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
289 #
290 # Cloud Run fully managed: not supported
291 #
292 # Cloud Run for Anthos: supported
293 #
294 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
295 # deleted. This field is set by the server when a graceful deletion is
296 # requested by the user, and is not directly settable by a client. The
297 # resource is expected to be deleted (no longer visible from resource lists,
298 # and not reachable by name) after the time in this field, once the
299 # finalizers list is empty. As long as the finalizers list contains items,
300 # deletion is blocked. Once the deletionTimestamp is set, this value may not
301 # be unset or be set further into the future, although it may be shortened or
302 # the resource may be deleted prior to this time. For example, a user may
303 # request that a pod is deleted in 30 seconds. The Kubelet will react by
304 # sending a graceful termination signal to the containers in the pod. After
305 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
306 # to the container and after cleanup, remove the pod from the API. In the
307 # presence of network partitions, this object may still exist after this
308 # timestamp, until an administrator or automated process can determine the
309 # resource is fully terminated.
310 # If not set, graceful deletion of the object has not been requested.
311 #
312 # Populated by the system when a graceful deletion is requested.
313 # Read-only.
314 # More info:
315 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
316 &quot;ownerReferences&quot;: [ # (Optional)
317 #
318 # Cloud Run fully managed: not supported
319 #
320 # Cloud Run for Anthos: supported
321 #
322 # List of objects that own this object. If ALL objects in the list have
323 # been deleted, this object will be garbage collected.
324 { # OwnerReference contains enough information to let you identify an owning
325 # object. Currently, an owning object must be in the same namespace, so there
326 # is no namespace field.
327 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
328 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
329 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
330 # +optional
331 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
332 # More info:
333 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
334 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
335 # the owner cannot be deleted from the key-value store until this
336 # reference is removed.
337 # Defaults to false.
338 # To set this field, a user needs &quot;delete&quot; permission of the owner,
339 # otherwise 422 (Unprocessable Entity) will be returned.
340 # +optional
341 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
342 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
343 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
344 },
345 ],
346 },
347 &quot;spec&quot;: { # RevisionSpec holds the desired state of the Revision (from the client). # RevisionSpec holds the desired state of the Revision (from the client).
348 &quot;volumes&quot;: [
349 { # Cloud Run fully managed: not supported
350 #
351 # Cloud Run for Anthos: supported
352 #
353 # Volume represents a named volume in a container.
354 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
355 #
356 # Cloud Run for Anthos: supported
357 #
358 # Cloud Run for Anthos: supported
359 #
360 # Adapts a ConfigMap into a volume.
361 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
362 # volume as files using the keys in the Data field as the file names, unless
363 # the items element is populated with specific mappings of keys to paths.
364 &quot;optional&quot;: True or False, # (Optional)
365 #
366 # Cloud Run fully managed: not supported
367 #
368 # Cloud Run for Anthos: supported
369 #
370 # Specify whether the Secret or its keys must be defined.
371 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
372 #
373 # Cloud Run for Anthos: supported
374 #
375 # Name of the config.
376 &quot;defaultMode&quot;: 42, # (Optional)
377 #
378 # Cloud Run fully managed: not supported
379 #
380 # Cloud Run for Anthos: supported
381 #
382 # Mode bits to use on created files by default. Must be a value between 0 and
383 # 0777. Defaults to 0644. Directories within the path are not affected by
384 # this setting. This might be in conflict with other options that affect the
385 # file mode, like fsGroup, and the result can be other mode bits set.
386 &quot;items&quot;: [ # (Optional)
387 #
388 # Cloud Run fully managed: not supported
389 #
390 # Cloud Run for Anthos: supported
391 #
392 # If unspecified, each key-value pair in the Data field of the referenced
393 # Secret will be projected into the volume as a file whose name is the
394 # key and content is the value. If specified, the listed keys will be
395 # projected into the specified paths, and unlisted keys will not be
396 # present. If a key is specified which is not present in the Secret,
397 # the volume setup will error unless it is marked optional.
398 { # Cloud Run fully managed: not supported
399 #
400 # Cloud Run for Anthos: supported
401 #
402 # Maps a string key to a path within a volume.
403 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
404 #
405 # Cloud Run for Anthos: supported
406 #
407 # The key to project.
408 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
409 #
410 # Cloud Run for Anthos: supported
411 #
412 # The relative path of the file to map the key to.
413 # May not be an absolute path.
414 # May not contain the path element &#x27;..&#x27;.
415 # May not start with the string &#x27;..&#x27;.
416 &quot;mode&quot;: 42, # (Optional)
417 #
418 # Cloud Run fully managed: not supported
419 #
420 # Cloud Run for Anthos: supported
421 #
422 # Mode bits to use on this file, must be a value between 0 and 0777. If not
423 # specified, the volume defaultMode will be used. This might be in conflict
424 # with other options that affect the file mode, like fsGroup, and the result
425 # can be other mode bits set.
426 },
427 ],
428 },
429 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
430 #
431 # Cloud Run for Anthos: supported
432 #
433 # Volume&#x27;s name.
434 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
435 #
436 # Cloud Run for Anthos: supported
437 #
438 # Cloud Run for Anthos: supported
439 #
440 # The contents of the target Secret&#x27;s Data field will be presented in a volume
441 # as files using the keys in the Data field as the file names.
442 &quot;optional&quot;: True or False, # (Optional)
443 #
444 # Cloud Run fully managed: not supported
445 #
446 # Cloud Run for Anthos: supported
447 #
448 # Specify whether the Secret or its keys must be defined.
449 &quot;defaultMode&quot;: 42, # (Optional)
450 #
451 # Cloud Run fully managed: not supported
452 #
453 # Cloud Run for Anthos: supported
454 #
455 # Mode bits to use on created files by default. Must be a value between 0 and
456 # 0777. Defaults to 0644. Directories within the path are not affected by
457 # this setting. This might be in conflict with other options that affect the
458 # file mode, like fsGroup, and the result can be other mode bits set.
459 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
460 #
461 # Cloud Run for Anthos: supported
462 #
463 # Name of the secret in the container&#x27;s namespace to use.
464 &quot;items&quot;: [ # (Optional)
465 #
466 # Cloud Run fully managed: not supported
467 #
468 # Cloud Run for Anthos: supported
469 #
470 # If unspecified, each key-value pair in the Data field of the referenced
471 # Secret will be projected into the volume as a file whose name is the
472 # key and content is the value. If specified, the listed keys will be
473 # projected into the specified paths, and unlisted keys will not be
474 # present. If a key is specified which is not present in the Secret,
475 # the volume setup will error unless it is marked optional.
476 { # Cloud Run fully managed: not supported
477 #
478 # Cloud Run for Anthos: supported
479 #
480 # Maps a string key to a path within a volume.
481 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
482 #
483 # Cloud Run for Anthos: supported
484 #
485 # The key to project.
486 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
487 #
488 # Cloud Run for Anthos: supported
489 #
490 # The relative path of the file to map the key to.
491 # May not be an absolute path.
492 # May not contain the path element &#x27;..&#x27;.
493 # May not start with the string &#x27;..&#x27;.
494 &quot;mode&quot;: 42, # (Optional)
495 #
496 # Cloud Run fully managed: not supported
497 #
498 # Cloud Run for Anthos: supported
499 #
500 # Mode bits to use on this file, must be a value between 0 and 0777. If not
501 # specified, the volume defaultMode will be used. This might be in conflict
502 # with other options that affect the file mode, like fsGroup, and the result
503 # can be other mode bits set.
504 },
505 ],
506 },
507 },
508 ],
509 &quot;containerConcurrency&quot;: 42, # (Optional)
510 #
511 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
512 # requests per container instance of the Revision.
513 #
514 # Cloud Run fully managed: supported, defaults to 80
515 #
516 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
517 # to the application is not limited, and the system decides the
518 # target concurrency for the autoscaler.
519 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
520 # responding to a request.
521 # Not currently used by Cloud Run.
522 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
523 # of the service. The service account represents the identity of the
524 # running revision, and determines what permissions the revision has. If
525 # not provided, the revision will use the project&#x27;s default service account.
526 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
527 # for this Revision. In the context of a Revision, we disallow a number of
528 # fields on this Container, including: name and lifecycle.
529 # In Cloud Run, only a single container may be provided.
530 # The runtime contract is documented here:
531 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
532 { # A single application container.
533 # This specifies both the container to run, the command to run in the container
534 # and the arguments to supply to it.
535 # Note that additional arguments may be supplied by the system to the container
536 # at runtime.
537 &quot;volumeMounts&quot;: [ # (Optional)
538 #
539 # Cloud Run fully managed: not supported
540 #
541 # Cloud Run for Anthos: supported
542 #
543 # Pod volumes to mount into the container&#x27;s filesystem.
544 { # Cloud Run fully managed: not supported
545 #
546 # Cloud Run for Anthos: supported
547 #
548 # VolumeMount describes a mounting of a Volume within a container.
549 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
550 #
551 # Cloud Run for Anthos: supported
552 #
553 # This must match the Name of a Volume.
554 &quot;readOnly&quot;: True or False, # (Optional)
555 #
556 # Cloud Run fully managed: not supported
557 #
558 # Cloud Run for Anthos: supported
559 #
560 # Only true is accepted.
561 # Defaults to true.
562 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
563 #
564 # Cloud Run for Anthos: supported
565 #
566 # Path within the container at which the volume should be mounted. Must
567 # not contain &#x27;:&#x27;.
568 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
569 #
570 # Cloud Run fully managed: not supported
571 #
572 # Cloud Run for Anthos: supported
573 #
574 # Path within the volume from which the container&#x27;s volume should be mounted.
575 # Defaults to &quot;&quot; (volume&#x27;s root).
576 },
577 ],
578 &quot;args&quot;: [ # (Optional)
579 #
580 # Cloud Run fully managed: supported
581 #
582 # Cloud Run for Anthos: supported
583 #
584 # Arguments to the entrypoint.
585 # The docker image&#x27;s CMD is used if this is not provided.
586 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
587 # environment. If a variable cannot be resolved, the reference in the input
588 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
589 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
590 # regardless of whether the variable exists or not.
591 # More info:
592 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
593 &quot;A String&quot;,
594 ],
595 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
596 #
597 # Cloud Run fully managed: not supported
598 #
599 # Cloud Run for Anthos: supported
600 #
601 # Container&#x27;s working directory.
602 # If not specified, the container runtime&#x27;s default will be used, which
603 # might be configured in the container image.
604 &quot;ports&quot;: [ # (Optional)
605 #
606 # List of ports to expose from the container. Only a single port can be
607 # specified. The specified ports must be listening on all interfaces
608 # (0.0.0.0) within the container to be accessible.
609 #
610 # If omitted, a port number will be chosen and passed to the container
611 # through the PORT environment variable for the container to listen on.
612 { # ContainerPort represents a network port in a single container.
613 &quot;containerPort&quot;: 42, # (Optional)
614 #
615 # Port number the container listens on.
616 # This must be a valid port number, 0 &lt; x &lt; 65536.
617 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
618 #
619 # Cloud Run fully managed: not supported
620 #
621 # Cloud Run for Anthos: supported
622 #
623 # Protocol for port. Must be &quot;TCP&quot;.
624 # Defaults to &quot;TCP&quot;.
625 &quot;name&quot;: &quot;A String&quot;, # (Optional)
626 #
627 # Cloud Run fully managed: not supported
628 #
629 # Cloud Run for Anthos: supported
630 #
631 # If specified, used to specify which protocol to use.
632 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
633 },
634 ],
635 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
636 # Registry
637 #
638 # Cloud Run for Anthos: supported
639 #
640 # URL of the Container image.
641 # More info: https://kubernetes.io/docs/concepts/containers/images
642 &quot;envFrom&quot;: [ # (Optional)
643 #
644 # Cloud Run fully managed: not supported
645 #
646 # Cloud Run for Anthos: supported
647 #
648 # List of sources to populate environment variables in the container.
649 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
650 # will be reported as an event when the container is starting. When a key
651 # exists in multiple sources, the value associated with the last source will
652 # take precedence. Values defined by an Env with a duplicate key will take
653 # precedence. Cannot be updated.
654 { # Cloud Run fully managed: not supported
655 #
656 # Cloud Run for Anthos: supported
657 #
658 # EnvFromSource represents the source of a set of ConfigMaps
659 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
660 #
661 # Cloud Run fully managed: not supported
662 #
663 # Cloud Run for Anthos: supported
664 #
665 # An optional identifier to prepend to each key in the ConfigMap. Must be a
666 # C_IDENTIFIER.
667 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
668 #
669 # Cloud Run fully managed: not supported
670 #
671 # Cloud Run for Anthos: supported
672 #
673 # The ConfigMap to select from
674 #
675 # Cloud Run for Anthos: supported
676 #
677 # ConfigMapEnvSource selects a ConfigMap to populate the environment
678 # variables with.
679 #
680 # The contents of the target ConfigMap&#x27;s Data field will represent the
681 # key-value pairs as environment variables.
682 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
683 # directly into the message. Use the &quot;name&quot; field instead.
684 #
685 # Cloud Run for Anthos: supported
686 #
687 # LocalObjectReference contains enough information to let you locate the
688 # referenced object inside the same namespace.
689 &quot;name&quot;: &quot;A String&quot;, # (Optional)
690 #
691 # Cloud Run fully managed: not supported
692 #
693 # Cloud Run for Anthos: supported
694 #
695 # Name of the referent.
696 # More info:
697 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
698 },
699 &quot;optional&quot;: True or False, # (Optional)
700 #
701 # Cloud Run fully managed: not supported
702 #
703 # Cloud Run for Anthos: supported
704 #
705 # Specify whether the ConfigMap must be defined
706 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
707 #
708 # Cloud Run for Anthos: supported
709 #
710 # The ConfigMap to select from.
711 },
712 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
713 #
714 # Cloud Run fully managed: not supported
715 #
716 # Cloud Run for Anthos: supported
717 #
718 # The Secret to select from
719 #
720 # Cloud Run for Anthos: supported
721 #
722 # SecretEnvSource selects a Secret to populate the environment
723 # variables with.
724 #
725 # The contents of the target Secret&#x27;s Data field will represent the
726 # key-value pairs as environment variables.
727 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
728 # directly into the message. Use the &quot;name&quot; field instead.
729 #
730 # Cloud Run for Anthos: supported
731 #
732 # LocalObjectReference contains enough information to let you locate the
733 # referenced object inside the same namespace.
734 &quot;name&quot;: &quot;A String&quot;, # (Optional)
735 #
736 # Cloud Run fully managed: not supported
737 #
738 # Cloud Run for Anthos: supported
739 #
740 # Name of the referent.
741 # More info:
742 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
743 },
744 &quot;optional&quot;: True or False, # (Optional)
745 #
746 # Cloud Run fully managed: not supported
747 #
748 # Cloud Run for Anthos: supported
749 #
750 # Specify whether the Secret must be defined
751 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
752 #
753 # Cloud Run for Anthos: supported
754 #
755 # The Secret to select from.
756 },
757 },
758 ],
759 &quot;name&quot;: &quot;A String&quot;, # (Optional)
760 #
761 # Name of the container specified as a DNS_LABEL.
762 &quot;command&quot;: [
763 &quot;A String&quot;,
764 ],
765 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
766 #
767 # Cloud Run fully managed: not supported
768 #
769 # Cloud Run for Anthos: supported
770 #
771 # Indicate how the termination message should be populated. File will use the
772 # contents of terminationMessagePath to populate the container status message
773 # on both success and failure. FallbackToLogsOnError will use the last chunk
774 # of container log output if the termination message file is empty and the
775 # container exited with an error. The log output is limited to 2048 bytes or
776 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
777 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
778 #
779 # Cloud Run fully managed: not supported
780 #
781 # Cloud Run for Anthos: supported
782 #
783 # Security options the pod should run with.
784 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
785 # More info:
786 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
787 #
788 # Cloud Run for Anthos: supported
789 #
790 # SecurityContext holds security configuration that will be applied to a
791 # container. Some fields are present in both SecurityContext and
792 # PodSecurityContext. When both are set, the values in SecurityContext take
793 # precedence.
794 &quot;runAsUser&quot;: 42, # (Optional)
795 #
796 # Cloud Run fully managed: not supported
797 #
798 # Cloud Run for Anthos: supported
799 #
800 # The UID to run the entrypoint of the container process.
801 # Defaults to user specified in image metadata if unspecified.
802 # May also be set in PodSecurityContext. If set in both SecurityContext and
803 # PodSecurityContext, the value specified in SecurityContext takes
804 # precedence.
805 },
806 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
807 #
808 # Cloud Run fully managed: not supported
809 #
810 # Cloud Run for Anthos: supported
811 #
812 # Periodic probe of container liveness.
813 # Container will be restarted if the probe fails.
814 # More info:
815 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
816 #
817 # Cloud Run for Anthos: supported
818 #
819 # Probe describes a health check to be performed against a container to
820 # determine whether it is alive or ready to receive traffic.
821 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
822 #
823 # Cloud Run fully managed: not supported
824 #
825 # Cloud Run for Anthos: supported
826 #
827 # HTTPGet specifies the http request to perform.
828 #
829 # A field inlined from the Handler message.
830 #
831 # Cloud Run for Anthos: supported
832 #
833 # HTTPGetAction describes an action based on HTTP Get requests.
834 &quot;httpHeaders&quot;: [ # (Optional)
835 #
836 # Cloud Run fully managed: not supported
837 #
838 # Cloud Run for Anthos: supported
839 #
840 # Custom headers to set in the request. HTTP allows repeated headers.
841 { # Cloud Run fully managed: not supported
842 #
843 # Cloud Run for Anthos: supported
844 #
845 # HTTPHeader describes a custom header to be used in HTTP probes
846 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
847 #
848 # Cloud Run for Anthos: supported
849 #
850 # The header field name
851 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
852 #
853 # Cloud Run for Anthos: supported
854 #
855 # The header field value
856 },
857 ],
858 &quot;path&quot;: &quot;A String&quot;, # (Optional)
859 #
860 # Cloud Run fully managed: not supported
861 #
862 # Cloud Run for Anthos: supported
863 #
864 # Path to access on the HTTP server.
865 &quot;host&quot;: &quot;A String&quot;, # (Optional)
866 #
867 # Cloud Run fully managed: not supported
868 #
869 # Cloud Run for Anthos: supported
870 #
871 # Host name to connect to, defaults to the pod IP. You probably want to set
872 # &quot;Host&quot; in httpHeaders instead.
873 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
874 #
875 # Cloud Run fully managed: not supported
876 #
877 # Cloud Run for Anthos: supported
878 #
879 # Scheme to use for connecting to the host.
880 # Defaults to HTTP.
881 },
882 &quot;failureThreshold&quot;: 42, # (Optional)
883 #
884 # Cloud Run fully managed: not supported
885 #
886 # Cloud Run for Anthos: supported
887 #
888 # Minimum consecutive failures for the probe to be considered failed after
889 # having succeeded. Defaults to 3. Minimum value is 1.
890 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
891 #
892 # Cloud Run fully managed: not supported
893 #
894 # Cloud Run for Anthos: supported
895 #
896 # One and only one of the following should be specified.
897 # Exec specifies the action to take.
898 #
899 # A field inlined from the Handler message.
900 #
901 # Cloud Run for Anthos: supported
902 #
903 # ExecAction describes a &quot;run in container&quot; action.
904 &quot;command&quot;: &quot;A String&quot;, # (Optional)
905 #
906 # Cloud Run fully managed: not supported
907 #
908 # Cloud Run for Anthos: supported
909 #
910 # Command is the command line to execute inside the container, the working
911 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
912 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
913 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
914 # explicitly call out to that shell. Exit status of 0 is treated as
915 # live/healthy and non-zero is unhealthy.
916 },
917 &quot;initialDelaySeconds&quot;: 42, # (Optional)
918 #
919 # Cloud Run fully managed: not supported
920 #
921 # Cloud Run for Anthos: supported
922 #
923 # Number of seconds after the container has started before liveness probes
924 # are initiated. More info:
925 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
926 &quot;timeoutSeconds&quot;: 42, # (Optional)
927 #
928 # Cloud Run fully managed: not supported
929 #
930 # Cloud Run for Anthos: supported
931 #
932 # Number of seconds after which the probe times out.
933 # Defaults to 1 second. Minimum value is 1.
934 # More info:
935 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
936 &quot;successThreshold&quot;: 42, # (Optional)
937 #
938 # Cloud Run fully managed: not supported
939 #
940 # Cloud Run for Anthos: supported
941 #
942 # Minimum consecutive successes for the probe to be considered successful
943 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
944 # is 1.
945 &quot;periodSeconds&quot;: 42, # (Optional)
946 #
947 # Cloud Run fully managed: not supported
948 #
949 # Cloud Run for Anthos: supported
950 #
951 # How often (in seconds) to perform the probe.
952 # Default to 10 seconds. Minimum value is 1.
953 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
954 #
955 # Cloud Run fully managed: not supported
956 #
957 # Cloud Run for Anthos: supported
958 #
959 # TCPSocket specifies an action involving a TCP port.
960 # TCP hooks not yet supported
961 #
962 # A field inlined from the Handler message.
963 #
964 # Cloud Run for Anthos: supported
965 #
966 # TCPSocketAction describes an action based on opening a socket
967 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
968 #
969 # Cloud Run for Anthos: supported
970 #
971 # Number or name of the port to access on the container.
972 # Number must be in the range 1 to 65535.
973 # Name must be an IANA_SVC_NAME.
974 #
975 # This field is currently limited to integer types only because of proto&#x27;s
976 # inability to properly support the IntOrString golang type.
977 &quot;host&quot;: &quot;A String&quot;, # (Optional)
978 #
979 # Cloud Run fully managed: not supported
980 #
981 # Cloud Run for Anthos: supported
982 #
983 # Optional: Host name to connect to, defaults to the pod IP.
984 },
985 },
986 &quot;env&quot;: [ # (Optional)
987 #
988 # Cloud Run fully managed: supported
989 #
990 # Cloud Run for Anthos: supported
991 #
992 # List of environment variables to set in the container.
993 { # EnvVar represents an environment variable present in a Container.
994 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
995 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
996 #
997 # Cloud Run fully managed: not supported
998 #
999 # Cloud Run for Anthos: supported
1000 #
1001 # Source for the environment variable&#x27;s value. Cannot be used if value is not
1002 # empty.
1003 #
1004 # Cloud Run for Anthos: supported
1005 #
1006 # EnvVarSource represents a source for the value of an EnvVar.
1007 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
1008 #
1009 # Cloud Run fully managed: not supported
1010 #
1011 # Cloud Run for Anthos: supported
1012 #
1013 # Selects a key of a secret in the pod&#x27;s namespace
1014 #
1015 # Cloud Run for Anthos: supported
1016 #
1017 # SecretKeySelector selects a key of a Secret.
1018 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1019 #
1020 # Cloud Run for Anthos: supported
1021 #
1022 # The key of the secret to select from. Must be a valid secret key.
1023 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1024 #
1025 # Cloud Run for Anthos: supported
1026 #
1027 # The name of the secret in the pod&#x27;s namespace to select from.
1028 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
1029 # directly into the message. Use the &quot;name&quot; field instead.
1030 #
1031 # Cloud Run for Anthos: supported
1032 #
1033 # LocalObjectReference contains enough information to let you locate the
1034 # referenced object inside the same namespace.
1035 &quot;name&quot;: &quot;A String&quot;, # (Optional)
1036 #
1037 # Cloud Run fully managed: not supported
1038 #
1039 # Cloud Run for Anthos: supported
1040 #
1041 # Name of the referent.
1042 # More info:
1043 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1044 },
1045 &quot;optional&quot;: True or False, # (Optional)
1046 #
1047 # Cloud Run fully managed: not supported
1048 #
1049 # Cloud Run for Anthos: supported
1050 #
1051 # Specify whether the Secret or its key must be defined
1052 },
1053 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
1054 #
1055 # Cloud Run fully managed: not supported
1056 #
1057 # Cloud Run for Anthos: supported
1058 #
1059 # Selects a key of a ConfigMap.
1060 #
1061 # Cloud Run for Anthos: supported
1062 #
1063 # Selects a key from a ConfigMap.
1064 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
1065 # directly into the message. Use the &quot;name&quot; field instead.
1066 #
1067 # Cloud Run for Anthos: supported
1068 #
1069 # LocalObjectReference contains enough information to let you locate the
1070 # referenced object inside the same namespace.
1071 &quot;name&quot;: &quot;A String&quot;, # (Optional)
1072 #
1073 # Cloud Run fully managed: not supported
1074 #
1075 # Cloud Run for Anthos: supported
1076 #
1077 # Name of the referent.
1078 # More info:
1079 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1080 },
1081 &quot;optional&quot;: True or False, # (Optional)
1082 #
1083 # Cloud Run fully managed: not supported
1084 #
1085 # Cloud Run for Anthos: supported
1086 #
1087 # Specify whether the ConfigMap or its key must be defined
1088 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1089 #
1090 # Cloud Run for Anthos: supported
1091 #
1092 # The key to select.
1093 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1094 #
1095 # Cloud Run for Anthos: supported
1096 #
1097 # The ConfigMap to select from.
1098 },
1099 },
1100 &quot;value&quot;: &quot;A String&quot;, # (Optional)
1101 #
1102 # Variable references $(VAR_NAME) are expanded
1103 # using the previous defined environment variables in the container and
1104 # any route environment variables. If a variable cannot be resolved,
1105 # the reference in the input string will be unchanged. The $(VAR_NAME)
1106 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
1107 # references will never be expanded, regardless of whether the variable
1108 # exists or not.
1109 # Defaults to &quot;&quot;.
1110 },
1111 ],
1112 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
1113 #
1114 # Cloud Run fully managed: supported
1115 #
1116 # Cloud Run for Anthos: supported
1117 #
1118 # Compute Resources required by this container.
1119 # More info:
1120 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
1121 &quot;limits&quot;: { # (Optional)
1122 #
1123 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
1124 # supported value for CPU is &#x27;1&#x27;.
1125 #
1126 # Cloud Run for Anthos: supported
1127 #
1128 # Limits describes the maximum amount of compute resources allowed.
1129 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
1130 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
1131 &quot;a_key&quot;: &quot;A String&quot;,
1132 },
1133 &quot;requests&quot;: { # (Optional)
1134 #
1135 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
1136 # supported value for CPU is &#x27;1&#x27;.
1137 #
1138 # Cloud Run for Anthos: supported
1139 #
1140 # Requests describes the minimum amount of compute resources required.
1141 # If Requests is omitted for a container, it defaults to Limits if that is
1142 # explicitly specified, otherwise to an implementation-defined value.
1143 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
1144 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
1145 &quot;a_key&quot;: &quot;A String&quot;,
1146 },
1147 },
1148 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
1149 #
1150 # Cloud Run fully managed: not supported
1151 #
1152 # Cloud Run for Anthos: supported
1153 #
1154 # Periodic probe of container service readiness.
1155 # Container will be removed from service endpoints if the probe fails.
1156 # More info:
1157 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1158 #
1159 # Cloud Run for Anthos: supported
1160 #
1161 # Probe describes a health check to be performed against a container to
1162 # determine whether it is alive or ready to receive traffic.
1163 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
1164 #
1165 # Cloud Run fully managed: not supported
1166 #
1167 # Cloud Run for Anthos: supported
1168 #
1169 # HTTPGet specifies the http request to perform.
1170 #
1171 # A field inlined from the Handler message.
1172 #
1173 # Cloud Run for Anthos: supported
1174 #
1175 # HTTPGetAction describes an action based on HTTP Get requests.
1176 &quot;httpHeaders&quot;: [ # (Optional)
1177 #
1178 # Cloud Run fully managed: not supported
1179 #
1180 # Cloud Run for Anthos: supported
1181 #
1182 # Custom headers to set in the request. HTTP allows repeated headers.
1183 { # Cloud Run fully managed: not supported
1184 #
1185 # Cloud Run for Anthos: supported
1186 #
1187 # HTTPHeader describes a custom header to be used in HTTP probes
1188 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1189 #
1190 # Cloud Run for Anthos: supported
1191 #
1192 # The header field name
1193 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1194 #
1195 # Cloud Run for Anthos: supported
1196 #
1197 # The header field value
1198 },
1199 ],
1200 &quot;path&quot;: &quot;A String&quot;, # (Optional)
1201 #
1202 # Cloud Run fully managed: not supported
1203 #
1204 # Cloud Run for Anthos: supported
1205 #
1206 # Path to access on the HTTP server.
1207 &quot;host&quot;: &quot;A String&quot;, # (Optional)
1208 #
1209 # Cloud Run fully managed: not supported
1210 #
1211 # Cloud Run for Anthos: supported
1212 #
1213 # Host name to connect to, defaults to the pod IP. You probably want to set
1214 # &quot;Host&quot; in httpHeaders instead.
1215 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
1216 #
1217 # Cloud Run fully managed: not supported
1218 #
1219 # Cloud Run for Anthos: supported
1220 #
1221 # Scheme to use for connecting to the host.
1222 # Defaults to HTTP.
1223 },
1224 &quot;failureThreshold&quot;: 42, # (Optional)
1225 #
1226 # Cloud Run fully managed: not supported
1227 #
1228 # Cloud Run for Anthos: supported
1229 #
1230 # Minimum consecutive failures for the probe to be considered failed after
1231 # having succeeded. Defaults to 3. Minimum value is 1.
1232 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
1233 #
1234 # Cloud Run fully managed: not supported
1235 #
1236 # Cloud Run for Anthos: supported
1237 #
1238 # One and only one of the following should be specified.
1239 # Exec specifies the action to take.
1240 #
1241 # A field inlined from the Handler message.
1242 #
1243 # Cloud Run for Anthos: supported
1244 #
1245 # ExecAction describes a &quot;run in container&quot; action.
1246 &quot;command&quot;: &quot;A String&quot;, # (Optional)
1247 #
1248 # Cloud Run fully managed: not supported
1249 #
1250 # Cloud Run for Anthos: supported
1251 #
1252 # Command is the command line to execute inside the container, the working
1253 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
1254 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
1255 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
1256 # explicitly call out to that shell. Exit status of 0 is treated as
1257 # live/healthy and non-zero is unhealthy.
1258 },
1259 &quot;initialDelaySeconds&quot;: 42, # (Optional)
1260 #
1261 # Cloud Run fully managed: not supported
1262 #
1263 # Cloud Run for Anthos: supported
1264 #
1265 # Number of seconds after the container has started before liveness probes
1266 # are initiated. More info:
1267 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1268 &quot;timeoutSeconds&quot;: 42, # (Optional)
1269 #
1270 # Cloud Run fully managed: not supported
1271 #
1272 # Cloud Run for Anthos: supported
1273 #
1274 # Number of seconds after which the probe times out.
1275 # Defaults to 1 second. Minimum value is 1.
1276 # More info:
1277 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1278 &quot;successThreshold&quot;: 42, # (Optional)
1279 #
1280 # Cloud Run fully managed: not supported
1281 #
1282 # Cloud Run for Anthos: supported
1283 #
1284 # Minimum consecutive successes for the probe to be considered successful
1285 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
1286 # is 1.
1287 &quot;periodSeconds&quot;: 42, # (Optional)
1288 #
1289 # Cloud Run fully managed: not supported
1290 #
1291 # Cloud Run for Anthos: supported
1292 #
1293 # How often (in seconds) to perform the probe.
1294 # Default to 10 seconds. Minimum value is 1.
1295 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
1296 #
1297 # Cloud Run fully managed: not supported
1298 #
1299 # Cloud Run for Anthos: supported
1300 #
1301 # TCPSocket specifies an action involving a TCP port.
1302 # TCP hooks not yet supported
1303 #
1304 # A field inlined from the Handler message.
1305 #
1306 # Cloud Run for Anthos: supported
1307 #
1308 # TCPSocketAction describes an action based on opening a socket
1309 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
1310 #
1311 # Cloud Run for Anthos: supported
1312 #
1313 # Number or name of the port to access on the container.
1314 # Number must be in the range 1 to 65535.
1315 # Name must be an IANA_SVC_NAME.
1316 #
1317 # This field is currently limited to integer types only because of proto&#x27;s
1318 # inability to properly support the IntOrString golang type.
1319 &quot;host&quot;: &quot;A String&quot;, # (Optional)
1320 #
1321 # Cloud Run fully managed: not supported
1322 #
1323 # Cloud Run for Anthos: supported
1324 #
1325 # Optional: Host name to connect to, defaults to the pod IP.
1326 },
1327 },
1328 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
1329 #
1330 # Cloud Run fully managed: not supported
1331 #
1332 # Cloud Run for Anthos: supported
1333 #
1334 # Image pull policy.
1335 # One of Always, Never, IfNotPresent.
1336 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
1337 # More info:
1338 # https://kubernetes.io/docs/concepts/containers/images#updating-images
1339 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
1340 #
1341 # Cloud Run fully managed: not supported
1342 #
1343 # Cloud Run for Anthos: supported
1344 #
1345 # Path at which the file to which the container&#x27;s termination
1346 # message will be written is mounted into the container&#x27;s filesystem. Message
1347 # written is intended to be brief final status, such as an assertion failure
1348 # message. Will be truncated by the node if greater than 4096 bytes. The
1349 # total message length across all containers will be limited to 12kb.
1350 # Defaults to /dev/termination-log.
1351 },
1352 ],
1353 },
1354 },
1355 },
1356 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case always &quot;Configuration&quot;.
1357 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Configuration, including name, namespace,
1358 # labels, and annotations.
1359 # persisted resources must have, which includes all objects users must create.
1360 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
1361 #
1362 # CreationTimestamp is a timestamp representing the server time when this
1363 # object was created. It is not guaranteed to be set in happens-before order
1364 # across separate operations. Clients may not set this value. It is
1365 # represented in RFC3339 form and is in UTC.
1366 #
1367 # Populated by the system.
1368 # Read-only.
1369 # Null for lists.
1370 # More info:
1371 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1372 &quot;labels&quot;: { # (Optional)
1373 #
1374 # Map of string keys and values that can be used to organize and categorize
1375 # (scope and select) objects. May match selectors of replication controllers
1376 # and routes.
1377 # More info: http://kubernetes.io/docs/user-guide/labels
1378 &quot;a_key&quot;: &quot;A String&quot;,
1379 },
1380 &quot;generation&quot;: 42, # (Optional)
1381 #
1382 # A sequence number representing a specific generation of the desired state.
1383 # Populated by the system. Read-only.
1384 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
1385 #
1386 # An opaque value that represents the internal version of this object that
1387 # can be used by clients to determine when objects have changed. May be used
1388 # for optimistic concurrency, change detection, and the watch operation on a
1389 # resource or set of resources. Clients must treat these values as opaque and
1390 # passed unmodified back to the server. They may only be valid for a
1391 # particular resource or set of resources.
1392 #
1393 # Populated by the system.
1394 # Read-only.
1395 # Value must be treated as opaque by clients and .
1396 # More info:
1397 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1398 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
1399 #
1400 # SelfLink is a URL representing this object.
1401 # Populated by the system.
1402 # Read-only.
1403 # string selfLink = 4;
1404 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
1405 #
1406 # UID is the unique in time and space value for this object. It is typically
1407 # generated by the server on successful creation of a resource and is not
1408 # allowed to change on PUT operations.
1409 #
1410 # Populated by the system.
1411 # Read-only.
1412 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1413 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1414 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1415 # project ID or project number.
1416 &quot;annotations&quot;: { # (Optional)
1417 #
1418 # Annotations is an unstructured key value map stored with a resource that
1419 # may be set by external tools to store and retrieve arbitrary metadata. They
1420 # are not queryable and should be preserved when modifying objects. More
1421 # info: http://kubernetes.io/docs/user-guide/annotations
1422 &quot;a_key&quot;: &quot;A String&quot;,
1423 },
1424 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
1425 #
1426 # Cloud Run fully managed: not supported
1427 #
1428 # Cloud Run for Anthos: supported
1429 #
1430 # GenerateName is an optional prefix, used by the server, to generate a
1431 # unique name ONLY IF the Name field has not been provided. If this field is
1432 # used, the name returned to the client will be different than the name
1433 # passed. This value will also be combined with a unique suffix. The provided
1434 # value has the same validation rules as the Name field, and may be truncated
1435 # by the length of the suffix required to make the value unique on the
1436 # server.
1437 #
1438 # If this field is specified and the generated name exists, the server will
1439 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1440 # Reason ServerTimeout indicating a unique name could not be found in the
1441 # time allotted, and the client should retry (optionally after the time
1442 # indicated in the Retry-After header).
1443 #
1444 # Applied only if Name is not specified.
1445 # More info:
1446 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1447 # string generateName = 2;
1448 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1449 # Is required when creating
1450 # resources, although some resources may allow a client to request the
1451 # generation of an appropriate name automatically. Name is primarily intended
1452 # for creation idempotence and configuration definition. Cannot be updated.
1453 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1454 # +optional
1455 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
1456 #
1457 # Cloud Run fully managed: not supported
1458 #
1459 # Cloud Run for Anthos: supported
1460 #
1461 # Number of seconds allowed for this object to gracefully terminate before
1462 # it will be removed from the system. Only set when deletionTimestamp is also
1463 # set. May only be shortened. Read-only.
1464 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
1465 #
1466 # Cloud Run fully managed: not supported
1467 #
1468 # Cloud Run for Anthos: supported
1469 #
1470 # The name of the cluster which the object belongs to.
1471 # This is used to distinguish resources with same name and namespace in
1472 # different clusters. This field is not set anywhere right now and apiserver
1473 # is going to ignore it if set in create or update request.
1474 &quot;finalizers&quot;: [ # (Optional)
1475 #
1476 # Cloud Run fully managed: not supported
1477 #
1478 # Cloud Run for Anthos: supported
1479 #
1480 # Must be empty before the object is deleted from the registry. Each entry
1481 # is an identifier for the responsible component that will remove the entry
1482 # from the list. If the deletionTimestamp of the object is non-nil, entries
1483 # in this list can only be removed.
1484 # +patchStrategy=merge
1485 &quot;A String&quot;,
1486 ],
1487 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
1488 #
1489 # Cloud Run fully managed: not supported
1490 #
1491 # Cloud Run for Anthos: supported
1492 #
1493 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1494 # deleted. This field is set by the server when a graceful deletion is
1495 # requested by the user, and is not directly settable by a client. The
1496 # resource is expected to be deleted (no longer visible from resource lists,
1497 # and not reachable by name) after the time in this field, once the
1498 # finalizers list is empty. As long as the finalizers list contains items,
1499 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1500 # be unset or be set further into the future, although it may be shortened or
1501 # the resource may be deleted prior to this time. For example, a user may
1502 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1503 # sending a graceful termination signal to the containers in the pod. After
1504 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1505 # to the container and after cleanup, remove the pod from the API. In the
1506 # presence of network partitions, this object may still exist after this
1507 # timestamp, until an administrator or automated process can determine the
1508 # resource is fully terminated.
1509 # If not set, graceful deletion of the object has not been requested.
1510 #
1511 # Populated by the system when a graceful deletion is requested.
1512 # Read-only.
1513 # More info:
1514 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1515 &quot;ownerReferences&quot;: [ # (Optional)
1516 #
1517 # Cloud Run fully managed: not supported
1518 #
1519 # Cloud Run for Anthos: supported
1520 #
1521 # List of objects that own this object. If ALL objects in the list have
1522 # been deleted, this object will be garbage collected.
1523 { # OwnerReference contains enough information to let you identify an owning
1524 # object. Currently, an owning object must be in the same namespace, so there
1525 # is no namespace field.
1526 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1527 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1528 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1529 # +optional
1530 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1531 # More info:
1532 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1533 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1534 # the owner cannot be deleted from the key-value store until this
1535 # reference is removed.
1536 # Defaults to false.
1537 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1538 # otherwise 422 (Unprocessable Entity) will be returned.
1539 # +optional
1540 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1541 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1542 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1543 },
1544 ],
1545 },
1546 }</pre>
1547</div>
1548
1549<div class="method">
1550 <code class="details" id="list">list(parent, labelSelector=None, fieldSelector=None, resourceVersion=None, includeUninitialized=None, continue=None, limit=None, watch=None, x__xgafv=None)</code>
1551 <pre>List configurations.
1552
1553Args:
1554 parent: string, The namespace from which the configurations should be listed.
1555For Cloud Run (fully managed), replace {namespace_id} with the project ID
1556or number. (required)
1557 labelSelector: string, Allows to filter resources based on a label. Supported operations are
1558=, !=, exists, in, and notIn.
1559 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
1560Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
1561Not currently used by Cloud Run.
1562 resourceVersion: string, The baseline resource version from which the list or watch operation should
1563start. Not currently used by Cloud Run.
1564 includeUninitialized: boolean, Not currently used by Cloud Run.
1565 continue: string, Optional encoded string to continue paging.
1566 limit: integer, The maximum number of records that should be returned.
1567 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
1568Not currently used by Cloud Run.
1569 x__xgafv: string, V1 error format.
1570 Allowed values
1571 1 - v1 error format
1572 2 - v2 error format
1573
1574Returns:
1575 An object of the form:
1576
1577 { # ListConfigurationsResponse is a list of Configuration resources.
1578 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;ConfigurationList&quot;.
1579 &quot;unreachable&quot;: [ # Locations that could not be reached.
1580 &quot;A String&quot;,
1581 ],
1582 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this Configuration list.
1583 # lists and various status objects. A resource may have only one of
1584 # {ObjectMeta, ListMeta}.
1585 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
1586 # can be used by clients to determine when objects have changed. Value must
1587 # be treated as opaque by clients and passed unmodified back to the server.
1588 # Populated by the system.
1589 # Read-only.
1590 # More info:
1591 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1592 # +optional
1593 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
1594 # returned, and indicates that the server has more data available. The value
1595 # is opaque and may be used to issue another request to the endpoint that
1596 # served this list to retrieve the next set of available objects. Continuing
1597 # a list may not be possible if the server configuration has changed or more
1598 # than a few minutes have passed. The resourceVersion field returned when
1599 # using this continue value will be identical to the value in the first
1600 # response.
1601 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
1602 # Populated by the system.
1603 # Read-only.
1604 # +optional
1605 },
1606 &quot;items&quot;: [ # List of Configurations.
1607 { # Configuration represents the &quot;floating HEAD&quot; of a linear history of
1608 # Revisions, and optionally how the containers those revisions reference are
1609 # built. Users create new Revisions by updating the Configuration&#x27;s spec. The
1610 # &quot;latest created&quot; revision&#x27;s name is available under status, as is the &quot;latest
1611 # ready&quot; revision&#x27;s name. See also:
1612 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration
1613 &quot;status&quot;: { # ConfigurationStatus communicates the observed state of the Configuration # Status communicates the observed state of the Configuration (from the
1614 # controller).
1615 # (from the controller).
1616 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # LatestCreatedRevisionName is the last revision that was created from this
1617 # Configuration. It might not be ready yet, for that use
1618 # LatestReadyRevisionName.
1619 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # LatestReadyRevisionName holds the name of the latest Revision stamped out
1620 # from this Configuration that has had its &quot;Ready&quot; condition become &quot;True&quot;.
1621 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
1622 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
1623 # state of the world.
1624 { # Condition defines a generic condition for a Resource
1625 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
1626 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
1627 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
1628 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
1629 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
1630 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
1631 # See also:
1632 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
1633 # Types common to all resources include:
1634 # * &quot;Ready&quot;: True when the Resource is ready.
1635 },
1636 ],
1637 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Configuration that
1638 # was last processed by the controller. The observed generation is updated
1639 # even if the controller failed to process the spec and create the Revision.
1640 #
1641 # Clients polling for completed reconciliation should poll until
1642 # observedGeneration = metadata.generation, and the Ready condition&#x27;s status
1643 # is True or False.
1644 },
1645 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
1646 &quot;spec&quot;: { # ConfigurationSpec holds the desired state of the Configuration (from the # Spec holds the desired state of the Configuration (from the client).
1647 # client).
1648 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Optional metadata for this Revision, including labels and annotations. Name
1649 # will be generated by the Configuration.
1650 # To set minimum instances for this revision, use the
1651 # &quot;autoscaling.knative.dev/minScale&quot; annotation key. (Cloud Run for Anthos
1652 # only). To set maximum instances for this revision, use the
1653 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
1654 # To set Cloud SQL connections for the revision, use the
1655 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key. Values should be
1656 # comma separated.
1657 # from a template. Based on:
1658 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
1659 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Optional metadata for this Revision, including labels and annotations. Name
1660 # will be generated by the Configuration.
1661 # To set minimum instances for this revision, use the
1662 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
1663 # To set maximum instances for this revision, use the
1664 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
1665 # To set Cloud SQL connections for the revision, use the
1666 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
1667 # persisted resources must have, which includes all objects users must create.
1668 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
1669 #
1670 # CreationTimestamp is a timestamp representing the server time when this
1671 # object was created. It is not guaranteed to be set in happens-before order
1672 # across separate operations. Clients may not set this value. It is
1673 # represented in RFC3339 form and is in UTC.
1674 #
1675 # Populated by the system.
1676 # Read-only.
1677 # Null for lists.
1678 # More info:
1679 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1680 &quot;labels&quot;: { # (Optional)
1681 #
1682 # Map of string keys and values that can be used to organize and categorize
1683 # (scope and select) objects. May match selectors of replication controllers
1684 # and routes.
1685 # More info: http://kubernetes.io/docs/user-guide/labels
1686 &quot;a_key&quot;: &quot;A String&quot;,
1687 },
1688 &quot;generation&quot;: 42, # (Optional)
1689 #
1690 # A sequence number representing a specific generation of the desired state.
1691 # Populated by the system. Read-only.
1692 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
1693 #
1694 # An opaque value that represents the internal version of this object that
1695 # can be used by clients to determine when objects have changed. May be used
1696 # for optimistic concurrency, change detection, and the watch operation on a
1697 # resource or set of resources. Clients must treat these values as opaque and
1698 # passed unmodified back to the server. They may only be valid for a
1699 # particular resource or set of resources.
1700 #
1701 # Populated by the system.
1702 # Read-only.
1703 # Value must be treated as opaque by clients and .
1704 # More info:
1705 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1706 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
1707 #
1708 # SelfLink is a URL representing this object.
1709 # Populated by the system.
1710 # Read-only.
1711 # string selfLink = 4;
1712 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
1713 #
1714 # UID is the unique in time and space value for this object. It is typically
1715 # generated by the server on successful creation of a resource and is not
1716 # allowed to change on PUT operations.
1717 #
1718 # Populated by the system.
1719 # Read-only.
1720 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1721 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1722 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1723 # project ID or project number.
1724 &quot;annotations&quot;: { # (Optional)
1725 #
1726 # Annotations is an unstructured key value map stored with a resource that
1727 # may be set by external tools to store and retrieve arbitrary metadata. They
1728 # are not queryable and should be preserved when modifying objects. More
1729 # info: http://kubernetes.io/docs/user-guide/annotations
1730 &quot;a_key&quot;: &quot;A String&quot;,
1731 },
1732 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
1733 #
1734 # Cloud Run fully managed: not supported
1735 #
1736 # Cloud Run for Anthos: supported
1737 #
1738 # GenerateName is an optional prefix, used by the server, to generate a
1739 # unique name ONLY IF the Name field has not been provided. If this field is
1740 # used, the name returned to the client will be different than the name
1741 # passed. This value will also be combined with a unique suffix. The provided
1742 # value has the same validation rules as the Name field, and may be truncated
1743 # by the length of the suffix required to make the value unique on the
1744 # server.
1745 #
1746 # If this field is specified and the generated name exists, the server will
1747 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1748 # Reason ServerTimeout indicating a unique name could not be found in the
1749 # time allotted, and the client should retry (optionally after the time
1750 # indicated in the Retry-After header).
1751 #
1752 # Applied only if Name is not specified.
1753 # More info:
1754 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1755 # string generateName = 2;
1756 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1757 # Is required when creating
1758 # resources, although some resources may allow a client to request the
1759 # generation of an appropriate name automatically. Name is primarily intended
1760 # for creation idempotence and configuration definition. Cannot be updated.
1761 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1762 # +optional
1763 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
1764 #
1765 # Cloud Run fully managed: not supported
1766 #
1767 # Cloud Run for Anthos: supported
1768 #
1769 # Number of seconds allowed for this object to gracefully terminate before
1770 # it will be removed from the system. Only set when deletionTimestamp is also
1771 # set. May only be shortened. Read-only.
1772 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
1773 #
1774 # Cloud Run fully managed: not supported
1775 #
1776 # Cloud Run for Anthos: supported
1777 #
1778 # The name of the cluster which the object belongs to.
1779 # This is used to distinguish resources with same name and namespace in
1780 # different clusters. This field is not set anywhere right now and apiserver
1781 # is going to ignore it if set in create or update request.
1782 &quot;finalizers&quot;: [ # (Optional)
1783 #
1784 # Cloud Run fully managed: not supported
1785 #
1786 # Cloud Run for Anthos: supported
1787 #
1788 # Must be empty before the object is deleted from the registry. Each entry
1789 # is an identifier for the responsible component that will remove the entry
1790 # from the list. If the deletionTimestamp of the object is non-nil, entries
1791 # in this list can only be removed.
1792 # +patchStrategy=merge
1793 &quot;A String&quot;,
1794 ],
1795 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
1796 #
1797 # Cloud Run fully managed: not supported
1798 #
1799 # Cloud Run for Anthos: supported
1800 #
1801 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1802 # deleted. This field is set by the server when a graceful deletion is
1803 # requested by the user, and is not directly settable by a client. The
1804 # resource is expected to be deleted (no longer visible from resource lists,
1805 # and not reachable by name) after the time in this field, once the
1806 # finalizers list is empty. As long as the finalizers list contains items,
1807 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1808 # be unset or be set further into the future, although it may be shortened or
1809 # the resource may be deleted prior to this time. For example, a user may
1810 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1811 # sending a graceful termination signal to the containers in the pod. After
1812 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1813 # to the container and after cleanup, remove the pod from the API. In the
1814 # presence of network partitions, this object may still exist after this
1815 # timestamp, until an administrator or automated process can determine the
1816 # resource is fully terminated.
1817 # If not set, graceful deletion of the object has not been requested.
1818 #
1819 # Populated by the system when a graceful deletion is requested.
1820 # Read-only.
1821 # More info:
1822 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1823 &quot;ownerReferences&quot;: [ # (Optional)
1824 #
1825 # Cloud Run fully managed: not supported
1826 #
1827 # Cloud Run for Anthos: supported
1828 #
1829 # List of objects that own this object. If ALL objects in the list have
1830 # been deleted, this object will be garbage collected.
1831 { # OwnerReference contains enough information to let you identify an owning
1832 # object. Currently, an owning object must be in the same namespace, so there
1833 # is no namespace field.
1834 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1835 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1836 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1837 # +optional
1838 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1839 # More info:
1840 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1841 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1842 # the owner cannot be deleted from the key-value store until this
1843 # reference is removed.
1844 # Defaults to false.
1845 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1846 # otherwise 422 (Unprocessable Entity) will be returned.
1847 # +optional
1848 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1849 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1850 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1851 },
1852 ],
1853 },
1854 &quot;spec&quot;: { # RevisionSpec holds the desired state of the Revision (from the client). # RevisionSpec holds the desired state of the Revision (from the client).
1855 &quot;volumes&quot;: [
1856 { # Cloud Run fully managed: not supported
1857 #
1858 # Cloud Run for Anthos: supported
1859 #
1860 # Volume represents a named volume in a container.
1861 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
1862 #
1863 # Cloud Run for Anthos: supported
1864 #
1865 # Cloud Run for Anthos: supported
1866 #
1867 # Adapts a ConfigMap into a volume.
1868 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
1869 # volume as files using the keys in the Data field as the file names, unless
1870 # the items element is populated with specific mappings of keys to paths.
1871 &quot;optional&quot;: True or False, # (Optional)
1872 #
1873 # Cloud Run fully managed: not supported
1874 #
1875 # Cloud Run for Anthos: supported
1876 #
1877 # Specify whether the Secret or its keys must be defined.
1878 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1879 #
1880 # Cloud Run for Anthos: supported
1881 #
1882 # Name of the config.
1883 &quot;defaultMode&quot;: 42, # (Optional)
1884 #
1885 # Cloud Run fully managed: not supported
1886 #
1887 # Cloud Run for Anthos: supported
1888 #
1889 # Mode bits to use on created files by default. Must be a value between 0 and
1890 # 0777. Defaults to 0644. Directories within the path are not affected by
1891 # this setting. This might be in conflict with other options that affect the
1892 # file mode, like fsGroup, and the result can be other mode bits set.
1893 &quot;items&quot;: [ # (Optional)
1894 #
1895 # Cloud Run fully managed: not supported
1896 #
1897 # Cloud Run for Anthos: supported
1898 #
1899 # If unspecified, each key-value pair in the Data field of the referenced
1900 # Secret will be projected into the volume as a file whose name is the
1901 # key and content is the value. If specified, the listed keys will be
1902 # projected into the specified paths, and unlisted keys will not be
1903 # present. If a key is specified which is not present in the Secret,
1904 # the volume setup will error unless it is marked optional.
1905 { # Cloud Run fully managed: not supported
1906 #
1907 # Cloud Run for Anthos: supported
1908 #
1909 # Maps a string key to a path within a volume.
1910 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1911 #
1912 # Cloud Run for Anthos: supported
1913 #
1914 # The key to project.
1915 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1916 #
1917 # Cloud Run for Anthos: supported
1918 #
1919 # The relative path of the file to map the key to.
1920 # May not be an absolute path.
1921 # May not contain the path element &#x27;..&#x27;.
1922 # May not start with the string &#x27;..&#x27;.
1923 &quot;mode&quot;: 42, # (Optional)
1924 #
1925 # Cloud Run fully managed: not supported
1926 #
1927 # Cloud Run for Anthos: supported
1928 #
1929 # Mode bits to use on this file, must be a value between 0 and 0777. If not
1930 # specified, the volume defaultMode will be used. This might be in conflict
1931 # with other options that affect the file mode, like fsGroup, and the result
1932 # can be other mode bits set.
1933 },
1934 ],
1935 },
1936 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1937 #
1938 # Cloud Run for Anthos: supported
1939 #
1940 # Volume&#x27;s name.
1941 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
1942 #
1943 # Cloud Run for Anthos: supported
1944 #
1945 # Cloud Run for Anthos: supported
1946 #
1947 # The contents of the target Secret&#x27;s Data field will be presented in a volume
1948 # as files using the keys in the Data field as the file names.
1949 &quot;optional&quot;: True or False, # (Optional)
1950 #
1951 # Cloud Run fully managed: not supported
1952 #
1953 # Cloud Run for Anthos: supported
1954 #
1955 # Specify whether the Secret or its keys must be defined.
1956 &quot;defaultMode&quot;: 42, # (Optional)
1957 #
1958 # Cloud Run fully managed: not supported
1959 #
1960 # Cloud Run for Anthos: supported
1961 #
1962 # Mode bits to use on created files by default. Must be a value between 0 and
1963 # 0777. Defaults to 0644. Directories within the path are not affected by
1964 # this setting. This might be in conflict with other options that affect the
1965 # file mode, like fsGroup, and the result can be other mode bits set.
1966 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1967 #
1968 # Cloud Run for Anthos: supported
1969 #
1970 # Name of the secret in the container&#x27;s namespace to use.
1971 &quot;items&quot;: [ # (Optional)
1972 #
1973 # Cloud Run fully managed: not supported
1974 #
1975 # Cloud Run for Anthos: supported
1976 #
1977 # If unspecified, each key-value pair in the Data field of the referenced
1978 # Secret will be projected into the volume as a file whose name is the
1979 # key and content is the value. If specified, the listed keys will be
1980 # projected into the specified paths, and unlisted keys will not be
1981 # present. If a key is specified which is not present in the Secret,
1982 # the volume setup will error unless it is marked optional.
1983 { # Cloud Run fully managed: not supported
1984 #
1985 # Cloud Run for Anthos: supported
1986 #
1987 # Maps a string key to a path within a volume.
1988 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1989 #
1990 # Cloud Run for Anthos: supported
1991 #
1992 # The key to project.
1993 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1994 #
1995 # Cloud Run for Anthos: supported
1996 #
1997 # The relative path of the file to map the key to.
1998 # May not be an absolute path.
1999 # May not contain the path element &#x27;..&#x27;.
2000 # May not start with the string &#x27;..&#x27;.
2001 &quot;mode&quot;: 42, # (Optional)
2002 #
2003 # Cloud Run fully managed: not supported
2004 #
2005 # Cloud Run for Anthos: supported
2006 #
2007 # Mode bits to use on this file, must be a value between 0 and 0777. If not
2008 # specified, the volume defaultMode will be used. This might be in conflict
2009 # with other options that affect the file mode, like fsGroup, and the result
2010 # can be other mode bits set.
2011 },
2012 ],
2013 },
2014 },
2015 ],
2016 &quot;containerConcurrency&quot;: 42, # (Optional)
2017 #
2018 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
2019 # requests per container instance of the Revision.
2020 #
2021 # Cloud Run fully managed: supported, defaults to 80
2022 #
2023 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
2024 # to the application is not limited, and the system decides the
2025 # target concurrency for the autoscaler.
2026 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
2027 # responding to a request.
2028 # Not currently used by Cloud Run.
2029 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
2030 # of the service. The service account represents the identity of the
2031 # running revision, and determines what permissions the revision has. If
2032 # not provided, the revision will use the project&#x27;s default service account.
2033 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
2034 # for this Revision. In the context of a Revision, we disallow a number of
2035 # fields on this Container, including: name and lifecycle.
2036 # In Cloud Run, only a single container may be provided.
2037 # The runtime contract is documented here:
2038 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
2039 { # A single application container.
2040 # This specifies both the container to run, the command to run in the container
2041 # and the arguments to supply to it.
2042 # Note that additional arguments may be supplied by the system to the container
2043 # at runtime.
2044 &quot;volumeMounts&quot;: [ # (Optional)
2045 #
2046 # Cloud Run fully managed: not supported
2047 #
2048 # Cloud Run for Anthos: supported
2049 #
2050 # Pod volumes to mount into the container&#x27;s filesystem.
2051 { # Cloud Run fully managed: not supported
2052 #
2053 # Cloud Run for Anthos: supported
2054 #
2055 # VolumeMount describes a mounting of a Volume within a container.
2056 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2057 #
2058 # Cloud Run for Anthos: supported
2059 #
2060 # This must match the Name of a Volume.
2061 &quot;readOnly&quot;: True or False, # (Optional)
2062 #
2063 # Cloud Run fully managed: not supported
2064 #
2065 # Cloud Run for Anthos: supported
2066 #
2067 # Only true is accepted.
2068 # Defaults to true.
2069 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2070 #
2071 # Cloud Run for Anthos: supported
2072 #
2073 # Path within the container at which the volume should be mounted. Must
2074 # not contain &#x27;:&#x27;.
2075 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
2076 #
2077 # Cloud Run fully managed: not supported
2078 #
2079 # Cloud Run for Anthos: supported
2080 #
2081 # Path within the volume from which the container&#x27;s volume should be mounted.
2082 # Defaults to &quot;&quot; (volume&#x27;s root).
2083 },
2084 ],
2085 &quot;args&quot;: [ # (Optional)
2086 #
2087 # Cloud Run fully managed: supported
2088 #
2089 # Cloud Run for Anthos: supported
2090 #
2091 # Arguments to the entrypoint.
2092 # The docker image&#x27;s CMD is used if this is not provided.
2093 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
2094 # environment. If a variable cannot be resolved, the reference in the input
2095 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
2096 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
2097 # regardless of whether the variable exists or not.
2098 # More info:
2099 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
2100 &quot;A String&quot;,
2101 ],
2102 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
2103 #
2104 # Cloud Run fully managed: not supported
2105 #
2106 # Cloud Run for Anthos: supported
2107 #
2108 # Container&#x27;s working directory.
2109 # If not specified, the container runtime&#x27;s default will be used, which
2110 # might be configured in the container image.
2111 &quot;ports&quot;: [ # (Optional)
2112 #
2113 # List of ports to expose from the container. Only a single port can be
2114 # specified. The specified ports must be listening on all interfaces
2115 # (0.0.0.0) within the container to be accessible.
2116 #
2117 # If omitted, a port number will be chosen and passed to the container
2118 # through the PORT environment variable for the container to listen on.
2119 { # ContainerPort represents a network port in a single container.
2120 &quot;containerPort&quot;: 42, # (Optional)
2121 #
2122 # Port number the container listens on.
2123 # This must be a valid port number, 0 &lt; x &lt; 65536.
2124 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
2125 #
2126 # Cloud Run fully managed: not supported
2127 #
2128 # Cloud Run for Anthos: supported
2129 #
2130 # Protocol for port. Must be &quot;TCP&quot;.
2131 # Defaults to &quot;TCP&quot;.
2132 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2133 #
2134 # Cloud Run fully managed: not supported
2135 #
2136 # Cloud Run for Anthos: supported
2137 #
2138 # If specified, used to specify which protocol to use.
2139 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
2140 },
2141 ],
2142 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
2143 # Registry
2144 #
2145 # Cloud Run for Anthos: supported
2146 #
2147 # URL of the Container image.
2148 # More info: https://kubernetes.io/docs/concepts/containers/images
2149 &quot;envFrom&quot;: [ # (Optional)
2150 #
2151 # Cloud Run fully managed: not supported
2152 #
2153 # Cloud Run for Anthos: supported
2154 #
2155 # List of sources to populate environment variables in the container.
2156 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
2157 # will be reported as an event when the container is starting. When a key
2158 # exists in multiple sources, the value associated with the last source will
2159 # take precedence. Values defined by an Env with a duplicate key will take
2160 # precedence. Cannot be updated.
2161 { # Cloud Run fully managed: not supported
2162 #
2163 # Cloud Run for Anthos: supported
2164 #
2165 # EnvFromSource represents the source of a set of ConfigMaps
2166 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
2167 #
2168 # Cloud Run fully managed: not supported
2169 #
2170 # Cloud Run for Anthos: supported
2171 #
2172 # An optional identifier to prepend to each key in the ConfigMap. Must be a
2173 # C_IDENTIFIER.
2174 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2175 #
2176 # Cloud Run fully managed: not supported
2177 #
2178 # Cloud Run for Anthos: supported
2179 #
2180 # The ConfigMap to select from
2181 #
2182 # Cloud Run for Anthos: supported
2183 #
2184 # ConfigMapEnvSource selects a ConfigMap to populate the environment
2185 # variables with.
2186 #
2187 # The contents of the target ConfigMap&#x27;s Data field will represent the
2188 # key-value pairs as environment variables.
2189 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2190 # directly into the message. Use the &quot;name&quot; field instead.
2191 #
2192 # Cloud Run for Anthos: supported
2193 #
2194 # LocalObjectReference contains enough information to let you locate the
2195 # referenced object inside the same namespace.
2196 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2197 #
2198 # Cloud Run fully managed: not supported
2199 #
2200 # Cloud Run for Anthos: supported
2201 #
2202 # Name of the referent.
2203 # More info:
2204 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2205 },
2206 &quot;optional&quot;: True or False, # (Optional)
2207 #
2208 # Cloud Run fully managed: not supported
2209 #
2210 # Cloud Run for Anthos: supported
2211 #
2212 # Specify whether the ConfigMap must be defined
2213 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2214 #
2215 # Cloud Run for Anthos: supported
2216 #
2217 # The ConfigMap to select from.
2218 },
2219 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2220 #
2221 # Cloud Run fully managed: not supported
2222 #
2223 # Cloud Run for Anthos: supported
2224 #
2225 # The Secret to select from
2226 #
2227 # Cloud Run for Anthos: supported
2228 #
2229 # SecretEnvSource selects a Secret to populate the environment
2230 # variables with.
2231 #
2232 # The contents of the target Secret&#x27;s Data field will represent the
2233 # key-value pairs as environment variables.
2234 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2235 # directly into the message. Use the &quot;name&quot; field instead.
2236 #
2237 # Cloud Run for Anthos: supported
2238 #
2239 # LocalObjectReference contains enough information to let you locate the
2240 # referenced object inside the same namespace.
2241 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2242 #
2243 # Cloud Run fully managed: not supported
2244 #
2245 # Cloud Run for Anthos: supported
2246 #
2247 # Name of the referent.
2248 # More info:
2249 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2250 },
2251 &quot;optional&quot;: True or False, # (Optional)
2252 #
2253 # Cloud Run fully managed: not supported
2254 #
2255 # Cloud Run for Anthos: supported
2256 #
2257 # Specify whether the Secret must be defined
2258 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2259 #
2260 # Cloud Run for Anthos: supported
2261 #
2262 # The Secret to select from.
2263 },
2264 },
2265 ],
2266 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2267 #
2268 # Name of the container specified as a DNS_LABEL.
2269 &quot;command&quot;: [
2270 &quot;A String&quot;,
2271 ],
2272 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
2273 #
2274 # Cloud Run fully managed: not supported
2275 #
2276 # Cloud Run for Anthos: supported
2277 #
2278 # Indicate how the termination message should be populated. File will use the
2279 # contents of terminationMessagePath to populate the container status message
2280 # on both success and failure. FallbackToLogsOnError will use the last chunk
2281 # of container log output if the termination message file is empty and the
2282 # container exited with an error. The log output is limited to 2048 bytes or
2283 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
2284 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
2285 #
2286 # Cloud Run fully managed: not supported
2287 #
2288 # Cloud Run for Anthos: supported
2289 #
2290 # Security options the pod should run with.
2291 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
2292 # More info:
2293 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
2294 #
2295 # Cloud Run for Anthos: supported
2296 #
2297 # SecurityContext holds security configuration that will be applied to a
2298 # container. Some fields are present in both SecurityContext and
2299 # PodSecurityContext. When both are set, the values in SecurityContext take
2300 # precedence.
2301 &quot;runAsUser&quot;: 42, # (Optional)
2302 #
2303 # Cloud Run fully managed: not supported
2304 #
2305 # Cloud Run for Anthos: supported
2306 #
2307 # The UID to run the entrypoint of the container process.
2308 # Defaults to user specified in image metadata if unspecified.
2309 # May also be set in PodSecurityContext. If set in both SecurityContext and
2310 # PodSecurityContext, the value specified in SecurityContext takes
2311 # precedence.
2312 },
2313 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
2314 #
2315 # Cloud Run fully managed: not supported
2316 #
2317 # Cloud Run for Anthos: supported
2318 #
2319 # Periodic probe of container liveness.
2320 # Container will be restarted if the probe fails.
2321 # More info:
2322 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2323 #
2324 # Cloud Run for Anthos: supported
2325 #
2326 # Probe describes a health check to be performed against a container to
2327 # determine whether it is alive or ready to receive traffic.
2328 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
2329 #
2330 # Cloud Run fully managed: not supported
2331 #
2332 # Cloud Run for Anthos: supported
2333 #
2334 # HTTPGet specifies the http request to perform.
2335 #
2336 # A field inlined from the Handler message.
2337 #
2338 # Cloud Run for Anthos: supported
2339 #
2340 # HTTPGetAction describes an action based on HTTP Get requests.
2341 &quot;httpHeaders&quot;: [ # (Optional)
2342 #
2343 # Cloud Run fully managed: not supported
2344 #
2345 # Cloud Run for Anthos: supported
2346 #
2347 # Custom headers to set in the request. HTTP allows repeated headers.
2348 { # Cloud Run fully managed: not supported
2349 #
2350 # Cloud Run for Anthos: supported
2351 #
2352 # HTTPHeader describes a custom header to be used in HTTP probes
2353 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2354 #
2355 # Cloud Run for Anthos: supported
2356 #
2357 # The header field name
2358 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2359 #
2360 # Cloud Run for Anthos: supported
2361 #
2362 # The header field value
2363 },
2364 ],
2365 &quot;path&quot;: &quot;A String&quot;, # (Optional)
2366 #
2367 # Cloud Run fully managed: not supported
2368 #
2369 # Cloud Run for Anthos: supported
2370 #
2371 # Path to access on the HTTP server.
2372 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2373 #
2374 # Cloud Run fully managed: not supported
2375 #
2376 # Cloud Run for Anthos: supported
2377 #
2378 # Host name to connect to, defaults to the pod IP. You probably want to set
2379 # &quot;Host&quot; in httpHeaders instead.
2380 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
2381 #
2382 # Cloud Run fully managed: not supported
2383 #
2384 # Cloud Run for Anthos: supported
2385 #
2386 # Scheme to use for connecting to the host.
2387 # Defaults to HTTP.
2388 },
2389 &quot;failureThreshold&quot;: 42, # (Optional)
2390 #
2391 # Cloud Run fully managed: not supported
2392 #
2393 # Cloud Run for Anthos: supported
2394 #
2395 # Minimum consecutive failures for the probe to be considered failed after
2396 # having succeeded. Defaults to 3. Minimum value is 1.
2397 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
2398 #
2399 # Cloud Run fully managed: not supported
2400 #
2401 # Cloud Run for Anthos: supported
2402 #
2403 # One and only one of the following should be specified.
2404 # Exec specifies the action to take.
2405 #
2406 # A field inlined from the Handler message.
2407 #
2408 # Cloud Run for Anthos: supported
2409 #
2410 # ExecAction describes a &quot;run in container&quot; action.
2411 &quot;command&quot;: &quot;A String&quot;, # (Optional)
2412 #
2413 # Cloud Run fully managed: not supported
2414 #
2415 # Cloud Run for Anthos: supported
2416 #
2417 # Command is the command line to execute inside the container, the working
2418 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
2419 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
2420 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
2421 # explicitly call out to that shell. Exit status of 0 is treated as
2422 # live/healthy and non-zero is unhealthy.
2423 },
2424 &quot;initialDelaySeconds&quot;: 42, # (Optional)
2425 #
2426 # Cloud Run fully managed: not supported
2427 #
2428 # Cloud Run for Anthos: supported
2429 #
2430 # Number of seconds after the container has started before liveness probes
2431 # are initiated. More info:
2432 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2433 &quot;timeoutSeconds&quot;: 42, # (Optional)
2434 #
2435 # Cloud Run fully managed: not supported
2436 #
2437 # Cloud Run for Anthos: supported
2438 #
2439 # Number of seconds after which the probe times out.
2440 # Defaults to 1 second. Minimum value is 1.
2441 # More info:
2442 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2443 &quot;successThreshold&quot;: 42, # (Optional)
2444 #
2445 # Cloud Run fully managed: not supported
2446 #
2447 # Cloud Run for Anthos: supported
2448 #
2449 # Minimum consecutive successes for the probe to be considered successful
2450 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2451 # is 1.
2452 &quot;periodSeconds&quot;: 42, # (Optional)
2453 #
2454 # Cloud Run fully managed: not supported
2455 #
2456 # Cloud Run for Anthos: supported
2457 #
2458 # How often (in seconds) to perform the probe.
2459 # Default to 10 seconds. Minimum value is 1.
2460 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
2461 #
2462 # Cloud Run fully managed: not supported
2463 #
2464 # Cloud Run for Anthos: supported
2465 #
2466 # TCPSocket specifies an action involving a TCP port.
2467 # TCP hooks not yet supported
2468 #
2469 # A field inlined from the Handler message.
2470 #
2471 # Cloud Run for Anthos: supported
2472 #
2473 # TCPSocketAction describes an action based on opening a socket
2474 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
2475 #
2476 # Cloud Run for Anthos: supported
2477 #
2478 # Number or name of the port to access on the container.
2479 # Number must be in the range 1 to 65535.
2480 # Name must be an IANA_SVC_NAME.
2481 #
2482 # This field is currently limited to integer types only because of proto&#x27;s
2483 # inability to properly support the IntOrString golang type.
2484 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2485 #
2486 # Cloud Run fully managed: not supported
2487 #
2488 # Cloud Run for Anthos: supported
2489 #
2490 # Optional: Host name to connect to, defaults to the pod IP.
2491 },
2492 },
2493 &quot;env&quot;: [ # (Optional)
2494 #
2495 # Cloud Run fully managed: supported
2496 #
2497 # Cloud Run for Anthos: supported
2498 #
2499 # List of environment variables to set in the container.
2500 { # EnvVar represents an environment variable present in a Container.
2501 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
2502 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
2503 #
2504 # Cloud Run fully managed: not supported
2505 #
2506 # Cloud Run for Anthos: supported
2507 #
2508 # Source for the environment variable&#x27;s value. Cannot be used if value is not
2509 # empty.
2510 #
2511 # Cloud Run for Anthos: supported
2512 #
2513 # EnvVarSource represents a source for the value of an EnvVar.
2514 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2515 #
2516 # Cloud Run fully managed: not supported
2517 #
2518 # Cloud Run for Anthos: supported
2519 #
2520 # Selects a key of a secret in the pod&#x27;s namespace
2521 #
2522 # Cloud Run for Anthos: supported
2523 #
2524 # SecretKeySelector selects a key of a Secret.
2525 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2526 #
2527 # Cloud Run for Anthos: supported
2528 #
2529 # The key of the secret to select from. Must be a valid secret key.
2530 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2531 #
2532 # Cloud Run for Anthos: supported
2533 #
2534 # The name of the secret in the pod&#x27;s namespace to select from.
2535 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2536 # directly into the message. Use the &quot;name&quot; field instead.
2537 #
2538 # Cloud Run for Anthos: supported
2539 #
2540 # LocalObjectReference contains enough information to let you locate the
2541 # referenced object inside the same namespace.
2542 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2543 #
2544 # Cloud Run fully managed: not supported
2545 #
2546 # Cloud Run for Anthos: supported
2547 #
2548 # Name of the referent.
2549 # More info:
2550 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2551 },
2552 &quot;optional&quot;: True or False, # (Optional)
2553 #
2554 # Cloud Run fully managed: not supported
2555 #
2556 # Cloud Run for Anthos: supported
2557 #
2558 # Specify whether the Secret or its key must be defined
2559 },
2560 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2561 #
2562 # Cloud Run fully managed: not supported
2563 #
2564 # Cloud Run for Anthos: supported
2565 #
2566 # Selects a key of a ConfigMap.
2567 #
2568 # Cloud Run for Anthos: supported
2569 #
2570 # Selects a key from a ConfigMap.
2571 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2572 # directly into the message. Use the &quot;name&quot; field instead.
2573 #
2574 # Cloud Run for Anthos: supported
2575 #
2576 # LocalObjectReference contains enough information to let you locate the
2577 # referenced object inside the same namespace.
2578 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2579 #
2580 # Cloud Run fully managed: not supported
2581 #
2582 # Cloud Run for Anthos: supported
2583 #
2584 # Name of the referent.
2585 # More info:
2586 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2587 },
2588 &quot;optional&quot;: True or False, # (Optional)
2589 #
2590 # Cloud Run fully managed: not supported
2591 #
2592 # Cloud Run for Anthos: supported
2593 #
2594 # Specify whether the ConfigMap or its key must be defined
2595 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2596 #
2597 # Cloud Run for Anthos: supported
2598 #
2599 # The key to select.
2600 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2601 #
2602 # Cloud Run for Anthos: supported
2603 #
2604 # The ConfigMap to select from.
2605 },
2606 },
2607 &quot;value&quot;: &quot;A String&quot;, # (Optional)
2608 #
2609 # Variable references $(VAR_NAME) are expanded
2610 # using the previous defined environment variables in the container and
2611 # any route environment variables. If a variable cannot be resolved,
2612 # the reference in the input string will be unchanged. The $(VAR_NAME)
2613 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
2614 # references will never be expanded, regardless of whether the variable
2615 # exists or not.
2616 # Defaults to &quot;&quot;.
2617 },
2618 ],
2619 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
2620 #
2621 # Cloud Run fully managed: supported
2622 #
2623 # Cloud Run for Anthos: supported
2624 #
2625 # Compute Resources required by this container.
2626 # More info:
2627 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
2628 &quot;limits&quot;: { # (Optional)
2629 #
2630 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2631 # supported value for CPU is &#x27;1&#x27;.
2632 #
2633 # Cloud Run for Anthos: supported
2634 #
2635 # Limits describes the maximum amount of compute resources allowed.
2636 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
2637 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
2638 &quot;a_key&quot;: &quot;A String&quot;,
2639 },
2640 &quot;requests&quot;: { # (Optional)
2641 #
2642 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2643 # supported value for CPU is &#x27;1&#x27;.
2644 #
2645 # Cloud Run for Anthos: supported
2646 #
2647 # Requests describes the minimum amount of compute resources required.
2648 # If Requests is omitted for a container, it defaults to Limits if that is
2649 # explicitly specified, otherwise to an implementation-defined value.
2650 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
2651 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
2652 &quot;a_key&quot;: &quot;A String&quot;,
2653 },
2654 },
2655 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
2656 #
2657 # Cloud Run fully managed: not supported
2658 #
2659 # Cloud Run for Anthos: supported
2660 #
2661 # Periodic probe of container service readiness.
2662 # Container will be removed from service endpoints if the probe fails.
2663 # More info:
2664 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2665 #
2666 # Cloud Run for Anthos: supported
2667 #
2668 # Probe describes a health check to be performed against a container to
2669 # determine whether it is alive or ready to receive traffic.
2670 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
2671 #
2672 # Cloud Run fully managed: not supported
2673 #
2674 # Cloud Run for Anthos: supported
2675 #
2676 # HTTPGet specifies the http request to perform.
2677 #
2678 # A field inlined from the Handler message.
2679 #
2680 # Cloud Run for Anthos: supported
2681 #
2682 # HTTPGetAction describes an action based on HTTP Get requests.
2683 &quot;httpHeaders&quot;: [ # (Optional)
2684 #
2685 # Cloud Run fully managed: not supported
2686 #
2687 # Cloud Run for Anthos: supported
2688 #
2689 # Custom headers to set in the request. HTTP allows repeated headers.
2690 { # Cloud Run fully managed: not supported
2691 #
2692 # Cloud Run for Anthos: supported
2693 #
2694 # HTTPHeader describes a custom header to be used in HTTP probes
2695 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2696 #
2697 # Cloud Run for Anthos: supported
2698 #
2699 # The header field name
2700 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2701 #
2702 # Cloud Run for Anthos: supported
2703 #
2704 # The header field value
2705 },
2706 ],
2707 &quot;path&quot;: &quot;A String&quot;, # (Optional)
2708 #
2709 # Cloud Run fully managed: not supported
2710 #
2711 # Cloud Run for Anthos: supported
2712 #
2713 # Path to access on the HTTP server.
2714 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2715 #
2716 # Cloud Run fully managed: not supported
2717 #
2718 # Cloud Run for Anthos: supported
2719 #
2720 # Host name to connect to, defaults to the pod IP. You probably want to set
2721 # &quot;Host&quot; in httpHeaders instead.
2722 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
2723 #
2724 # Cloud Run fully managed: not supported
2725 #
2726 # Cloud Run for Anthos: supported
2727 #
2728 # Scheme to use for connecting to the host.
2729 # Defaults to HTTP.
2730 },
2731 &quot;failureThreshold&quot;: 42, # (Optional)
2732 #
2733 # Cloud Run fully managed: not supported
2734 #
2735 # Cloud Run for Anthos: supported
2736 #
2737 # Minimum consecutive failures for the probe to be considered failed after
2738 # having succeeded. Defaults to 3. Minimum value is 1.
2739 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
2740 #
2741 # Cloud Run fully managed: not supported
2742 #
2743 # Cloud Run for Anthos: supported
2744 #
2745 # One and only one of the following should be specified.
2746 # Exec specifies the action to take.
2747 #
2748 # A field inlined from the Handler message.
2749 #
2750 # Cloud Run for Anthos: supported
2751 #
2752 # ExecAction describes a &quot;run in container&quot; action.
2753 &quot;command&quot;: &quot;A String&quot;, # (Optional)
2754 #
2755 # Cloud Run fully managed: not supported
2756 #
2757 # Cloud Run for Anthos: supported
2758 #
2759 # Command is the command line to execute inside the container, the working
2760 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
2761 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
2762 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
2763 # explicitly call out to that shell. Exit status of 0 is treated as
2764 # live/healthy and non-zero is unhealthy.
2765 },
2766 &quot;initialDelaySeconds&quot;: 42, # (Optional)
2767 #
2768 # Cloud Run fully managed: not supported
2769 #
2770 # Cloud Run for Anthos: supported
2771 #
2772 # Number of seconds after the container has started before liveness probes
2773 # are initiated. More info:
2774 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2775 &quot;timeoutSeconds&quot;: 42, # (Optional)
2776 #
2777 # Cloud Run fully managed: not supported
2778 #
2779 # Cloud Run for Anthos: supported
2780 #
2781 # Number of seconds after which the probe times out.
2782 # Defaults to 1 second. Minimum value is 1.
2783 # More info:
2784 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2785 &quot;successThreshold&quot;: 42, # (Optional)
2786 #
2787 # Cloud Run fully managed: not supported
2788 #
2789 # Cloud Run for Anthos: supported
2790 #
2791 # Minimum consecutive successes for the probe to be considered successful
2792 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2793 # is 1.
2794 &quot;periodSeconds&quot;: 42, # (Optional)
2795 #
2796 # Cloud Run fully managed: not supported
2797 #
2798 # Cloud Run for Anthos: supported
2799 #
2800 # How often (in seconds) to perform the probe.
2801 # Default to 10 seconds. Minimum value is 1.
2802 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
2803 #
2804 # Cloud Run fully managed: not supported
2805 #
2806 # Cloud Run for Anthos: supported
2807 #
2808 # TCPSocket specifies an action involving a TCP port.
2809 # TCP hooks not yet supported
2810 #
2811 # A field inlined from the Handler message.
2812 #
2813 # Cloud Run for Anthos: supported
2814 #
2815 # TCPSocketAction describes an action based on opening a socket
2816 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
2817 #
2818 # Cloud Run for Anthos: supported
2819 #
2820 # Number or name of the port to access on the container.
2821 # Number must be in the range 1 to 65535.
2822 # Name must be an IANA_SVC_NAME.
2823 #
2824 # This field is currently limited to integer types only because of proto&#x27;s
2825 # inability to properly support the IntOrString golang type.
2826 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2827 #
2828 # Cloud Run fully managed: not supported
2829 #
2830 # Cloud Run for Anthos: supported
2831 #
2832 # Optional: Host name to connect to, defaults to the pod IP.
2833 },
2834 },
2835 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
2836 #
2837 # Cloud Run fully managed: not supported
2838 #
2839 # Cloud Run for Anthos: supported
2840 #
2841 # Image pull policy.
2842 # One of Always, Never, IfNotPresent.
2843 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
2844 # More info:
2845 # https://kubernetes.io/docs/concepts/containers/images#updating-images
2846 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
2847 #
2848 # Cloud Run fully managed: not supported
2849 #
2850 # Cloud Run for Anthos: supported
2851 #
2852 # Path at which the file to which the container&#x27;s termination
2853 # message will be written is mounted into the container&#x27;s filesystem. Message
2854 # written is intended to be brief final status, such as an assertion failure
2855 # message. Will be truncated by the node if greater than 4096 bytes. The
2856 # total message length across all containers will be limited to 12kb.
2857 # Defaults to /dev/termination-log.
2858 },
2859 ],
2860 },
2861 },
2862 },
2863 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case always &quot;Configuration&quot;.
2864 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Configuration, including name, namespace,
2865 # labels, and annotations.
2866 # persisted resources must have, which includes all objects users must create.
2867 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
2868 #
2869 # CreationTimestamp is a timestamp representing the server time when this
2870 # object was created. It is not guaranteed to be set in happens-before order
2871 # across separate operations. Clients may not set this value. It is
2872 # represented in RFC3339 form and is in UTC.
2873 #
2874 # Populated by the system.
2875 # Read-only.
2876 # Null for lists.
2877 # More info:
2878 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
2879 &quot;labels&quot;: { # (Optional)
2880 #
2881 # Map of string keys and values that can be used to organize and categorize
2882 # (scope and select) objects. May match selectors of replication controllers
2883 # and routes.
2884 # More info: http://kubernetes.io/docs/user-guide/labels
2885 &quot;a_key&quot;: &quot;A String&quot;,
2886 },
2887 &quot;generation&quot;: 42, # (Optional)
2888 #
2889 # A sequence number representing a specific generation of the desired state.
2890 # Populated by the system. Read-only.
2891 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
2892 #
2893 # An opaque value that represents the internal version of this object that
2894 # can be used by clients to determine when objects have changed. May be used
2895 # for optimistic concurrency, change detection, and the watch operation on a
2896 # resource or set of resources. Clients must treat these values as opaque and
2897 # passed unmodified back to the server. They may only be valid for a
2898 # particular resource or set of resources.
2899 #
2900 # Populated by the system.
2901 # Read-only.
2902 # Value must be treated as opaque by clients and .
2903 # More info:
2904 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
2905 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
2906 #
2907 # SelfLink is a URL representing this object.
2908 # Populated by the system.
2909 # Read-only.
2910 # string selfLink = 4;
2911 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
2912 #
2913 # UID is the unique in time and space value for this object. It is typically
2914 # generated by the server on successful creation of a resource and is not
2915 # allowed to change on PUT operations.
2916 #
2917 # Populated by the system.
2918 # Read-only.
2919 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
2920 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
2921 # Cloud Run region. In Cloud Run the namespace must be equal to either the
2922 # project ID or project number.
2923 &quot;annotations&quot;: { # (Optional)
2924 #
2925 # Annotations is an unstructured key value map stored with a resource that
2926 # may be set by external tools to store and retrieve arbitrary metadata. They
2927 # are not queryable and should be preserved when modifying objects. More
2928 # info: http://kubernetes.io/docs/user-guide/annotations
2929 &quot;a_key&quot;: &quot;A String&quot;,
2930 },
2931 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
2932 #
2933 # Cloud Run fully managed: not supported
2934 #
2935 # Cloud Run for Anthos: supported
2936 #
2937 # GenerateName is an optional prefix, used by the server, to generate a
2938 # unique name ONLY IF the Name field has not been provided. If this field is
2939 # used, the name returned to the client will be different than the name
2940 # passed. This value will also be combined with a unique suffix. The provided
2941 # value has the same validation rules as the Name field, and may be truncated
2942 # by the length of the suffix required to make the value unique on the
2943 # server.
2944 #
2945 # If this field is specified and the generated name exists, the server will
2946 # NOT return a 409 - instead, it will either return 201 Created or 500 with
2947 # Reason ServerTimeout indicating a unique name could not be found in the
2948 # time allotted, and the client should retry (optionally after the time
2949 # indicated in the Retry-After header).
2950 #
2951 # Applied only if Name is not specified.
2952 # More info:
2953 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
2954 # string generateName = 2;
2955 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
2956 # Is required when creating
2957 # resources, although some resources may allow a client to request the
2958 # generation of an appropriate name automatically. Name is primarily intended
2959 # for creation idempotence and configuration definition. Cannot be updated.
2960 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
2961 # +optional
2962 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
2963 #
2964 # Cloud Run fully managed: not supported
2965 #
2966 # Cloud Run for Anthos: supported
2967 #
2968 # Number of seconds allowed for this object to gracefully terminate before
2969 # it will be removed from the system. Only set when deletionTimestamp is also
2970 # set. May only be shortened. Read-only.
2971 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
2972 #
2973 # Cloud Run fully managed: not supported
2974 #
2975 # Cloud Run for Anthos: supported
2976 #
2977 # The name of the cluster which the object belongs to.
2978 # This is used to distinguish resources with same name and namespace in
2979 # different clusters. This field is not set anywhere right now and apiserver
2980 # is going to ignore it if set in create or update request.
2981 &quot;finalizers&quot;: [ # (Optional)
2982 #
2983 # Cloud Run fully managed: not supported
2984 #
2985 # Cloud Run for Anthos: supported
2986 #
2987 # Must be empty before the object is deleted from the registry. Each entry
2988 # is an identifier for the responsible component that will remove the entry
2989 # from the list. If the deletionTimestamp of the object is non-nil, entries
2990 # in this list can only be removed.
2991 # +patchStrategy=merge
2992 &quot;A String&quot;,
2993 ],
2994 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
2995 #
2996 # Cloud Run fully managed: not supported
2997 #
2998 # Cloud Run for Anthos: supported
2999 #
3000 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
3001 # deleted. This field is set by the server when a graceful deletion is
3002 # requested by the user, and is not directly settable by a client. The
3003 # resource is expected to be deleted (no longer visible from resource lists,
3004 # and not reachable by name) after the time in this field, once the
3005 # finalizers list is empty. As long as the finalizers list contains items,
3006 # deletion is blocked. Once the deletionTimestamp is set, this value may not
3007 # be unset or be set further into the future, although it may be shortened or
3008 # the resource may be deleted prior to this time. For example, a user may
3009 # request that a pod is deleted in 30 seconds. The Kubelet will react by
3010 # sending a graceful termination signal to the containers in the pod. After
3011 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
3012 # to the container and after cleanup, remove the pod from the API. In the
3013 # presence of network partitions, this object may still exist after this
3014 # timestamp, until an administrator or automated process can determine the
3015 # resource is fully terminated.
3016 # If not set, graceful deletion of the object has not been requested.
3017 #
3018 # Populated by the system when a graceful deletion is requested.
3019 # Read-only.
3020 # More info:
3021 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
3022 &quot;ownerReferences&quot;: [ # (Optional)
3023 #
3024 # Cloud Run fully managed: not supported
3025 #
3026 # Cloud Run for Anthos: supported
3027 #
3028 # List of objects that own this object. If ALL objects in the list have
3029 # been deleted, this object will be garbage collected.
3030 { # OwnerReference contains enough information to let you identify an owning
3031 # object. Currently, an owning object must be in the same namespace, so there
3032 # is no namespace field.
3033 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
3034 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3035 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
3036 # +optional
3037 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
3038 # More info:
3039 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3040 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
3041 # the owner cannot be deleted from the key-value store until this
3042 # reference is removed.
3043 # Defaults to false.
3044 # To set this field, a user needs &quot;delete&quot; permission of the owner,
3045 # otherwise 422 (Unprocessable Entity) will be returned.
3046 # +optional
3047 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
3048 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
3049 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
3050 },
3051 ],
3052 },
3053 },
3054 ],
3055 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
3056 }</pre>
3057</div>
3058
3059</body></html>