blob: 3ff1a9fdd9fb75225e0de3472c33492ad8d98132 [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.services.html">services</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Create a service.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Delete a service.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Get information about a service.</p>
86<p class="toc_element">
87 <code><a href="#list">list(parent, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, watch=None, x__xgafv=None)</a></code></p>
88<p class="firstline">List services.</p>
89<p class="toc_element">
90 <code><a href="#replaceService">replaceService(name, body=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Replace a service.</p>
92<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
95 <pre>Create a service.
96
97Args:
98 parent: string, The namespace in which the service should be created.
99For Cloud Run (fully managed), replace {namespace_id} with the project ID
100or number. (required)
101 body: object, The request body.
102 The object takes the form of:
103
104{ # Service acts as a top-level container that manages a set of Routes and
105 # Configurations which implement a network service. Service exists to provide a
106 # singular abstraction which can be access controlled, reasoned about, and
107 # which encapsulates software lifecycle decisions such as rollout policy and
108 # team resource ownership. Service acts only as an orchestrator of the
109 # underlying Routes and Configurations (much as a kubernetes Deployment
110 # orchestrates ReplicaSets).
111 #
112 # The Service&#x27;s controller will track the statuses of its owned Configuration
113 # and Route, reflecting their statuses and conditions as its own.
114 #
115 # See also:
116 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
117 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
118 # controller).
119 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
120 # LatestCreatedRevisionName is the last revision that was created from this
121 # Service&#x27;s Configuration. It might not be ready yet, for that use
122 # LatestReadyRevisionName.
123 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
124 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
125 # state of the world.
126 # Service-specific conditions include:
127 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
128 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
129 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
130 # ready.
131 { # Condition defines a generic condition for a Resource
132 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
133 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
134 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
135 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
136 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
137 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
138 # See also:
139 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
140 # Types common to all resources include:
141 # * &quot;Ready&quot;: True when the Resource is ready.
142 },
143 ],
144 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
145 # Similar to url, information on where the service is available on HTTP.
146 &quot;url&quot;: &quot;A String&quot;,
147 },
148 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
149 # was last processed by the controller.
150 #
151 # Clients polling for completed reconciliation should poll until
152 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
153 # is True or False.
154 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
155 # URL holds the url that will distribute traffic over the provided traffic
156 # targets. It generally has the form
157 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
158 &quot;traffic&quot;: [ # From RouteStatus.
159 # Traffic holds the configured traffic distribution.
160 # These entries will always contain RevisionName references.
161 # When ConfigurationName appears in the spec, this will hold the
162 # LatestReadyRevisionName that we last observed.
163 { # TrafficTarget holds a single entry of the routing table for a Route.
164 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
165 # is displayed in status, and is disallowed on spec. URL must contain a
166 # scheme (e.g. http://) and a hostname, but may not contain anything else
167 # (e.g. basic auth, url path, etc.
168 #
169 # Not currently supported in Cloud Run.
170 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
171 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
172 # of the referenced configuration changes, we will automatically migrate
173 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
174 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
175 # with RevisionName.
176 #
177 # Cloud Run currently supports a single ConfigurationName.
178 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
179 # This defaults to zero if unspecified.
180 #
181 # Cloud Run currently requires 100 percent for a single ConfigurationName
182 # TrafficTarget entry.
183 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
184 # traffic. This is mutually exclusive with ConfigurationName.
185 #
186 # Providing RevisionName in spec is not currently supported by Cloud Run.
187 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
188 # ready Revision of the Configuration should be used for this traffic
189 # target. When provided LatestRevision must be true if RevisionName is
190 # empty; it must be false when RevisionName is non-empty.
191 #
192 # +optional
193 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
194 # this target exclusively.
195 #
196 # Not currently supported in Cloud Run.
197 # +optional
198 },
199 ],
200 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
201 # LatestReadyRevisionName holds the name of the latest Revision stamped out
202 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
203 # &quot;True&quot;.
204 },
205 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
206 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
207 # is used to manipulate the underlying Route and Configuration(s).
208 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
209 # Revisions and Configurations.
210 { # TrafficTarget holds a single entry of the routing table for a Route.
211 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
212 # is displayed in status, and is disallowed on spec. URL must contain a
213 # scheme (e.g. http://) and a hostname, but may not contain anything else
214 # (e.g. basic auth, url path, etc.
215 #
216 # Not currently supported in Cloud Run.
217 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
218 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
219 # of the referenced configuration changes, we will automatically migrate
220 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
221 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
222 # with RevisionName.
223 #
224 # Cloud Run currently supports a single ConfigurationName.
225 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
226 # This defaults to zero if unspecified.
227 #
228 # Cloud Run currently requires 100 percent for a single ConfigurationName
229 # TrafficTarget entry.
230 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
231 # traffic. This is mutually exclusive with ConfigurationName.
232 #
233 # Providing RevisionName in spec is not currently supported by Cloud Run.
234 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
235 # ready Revision of the Configuration should be used for this traffic
236 # target. When provided LatestRevision must be true if RevisionName is
237 # empty; it must be false when RevisionName is non-empty.
238 #
239 # +optional
240 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
241 # this target exclusively.
242 #
243 # Not currently supported in Cloud Run.
244 # +optional
245 },
246 ],
247 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
248 # be stamped out.
249 # from a template. Based on:
250 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
251 &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
252 # will be generated by the Configuration.
253 # To set minimum instances for this revision, use the
254 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
255 # To set maximum instances for this revision, use the
256 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
257 # To set Cloud SQL connections for the revision, use the
258 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
259 # persisted resources must have, which includes all objects users must create.
260 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
261 #
262 # CreationTimestamp is a timestamp representing the server time when this
263 # object was created. It is not guaranteed to be set in happens-before order
264 # across separate operations. Clients may not set this value. It is
265 # represented in RFC3339 form and is in UTC.
266 #
267 # Populated by the system.
268 # Read-only.
269 # Null for lists.
270 # More info:
271 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
272 &quot;labels&quot;: { # (Optional)
273 #
274 # Map of string keys and values that can be used to organize and categorize
275 # (scope and select) objects. May match selectors of replication controllers
276 # and routes.
277 # More info: http://kubernetes.io/docs/user-guide/labels
278 &quot;a_key&quot;: &quot;A String&quot;,
279 },
280 &quot;generation&quot;: 42, # (Optional)
281 #
282 # A sequence number representing a specific generation of the desired state.
283 # Populated by the system. Read-only.
284 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
285 #
286 # An opaque value that represents the internal version of this object that
287 # can be used by clients to determine when objects have changed. May be used
288 # for optimistic concurrency, change detection, and the watch operation on a
289 # resource or set of resources. Clients must treat these values as opaque and
290 # passed unmodified back to the server. They may only be valid for a
291 # particular resource or set of resources.
292 #
293 # Populated by the system.
294 # Read-only.
295 # Value must be treated as opaque by clients and .
296 # More info:
297 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
298 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
299 #
300 # SelfLink is a URL representing this object.
301 # Populated by the system.
302 # Read-only.
303 # string selfLink = 4;
304 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
305 #
306 # UID is the unique in time and space value for this object. It is typically
307 # generated by the server on successful creation of a resource and is not
308 # allowed to change on PUT operations.
309 #
310 # Populated by the system.
311 # Read-only.
312 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
313 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
314 # Cloud Run region. In Cloud Run the namespace must be equal to either the
315 # project ID or project number.
316 &quot;annotations&quot;: { # (Optional)
317 #
318 # Annotations is an unstructured key value map stored with a resource that
319 # may be set by external tools to store and retrieve arbitrary metadata. They
320 # are not queryable and should be preserved when modifying objects. More
321 # info: http://kubernetes.io/docs/user-guide/annotations
322 &quot;a_key&quot;: &quot;A String&quot;,
323 },
324 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
325 #
326 # Cloud Run fully managed: not supported
327 #
328 # Cloud Run for Anthos: supported
329 #
330 # GenerateName is an optional prefix, used by the server, to generate a
331 # unique name ONLY IF the Name field has not been provided. If this field is
332 # used, the name returned to the client will be different than the name
333 # passed. This value will also be combined with a unique suffix. The provided
334 # value has the same validation rules as the Name field, and may be truncated
335 # by the length of the suffix required to make the value unique on the
336 # server.
337 #
338 # If this field is specified and the generated name exists, the server will
339 # NOT return a 409 - instead, it will either return 201 Created or 500 with
340 # Reason ServerTimeout indicating a unique name could not be found in the
341 # time allotted, and the client should retry (optionally after the time
342 # indicated in the Retry-After header).
343 #
344 # Applied only if Name is not specified.
345 # More info:
346 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
347 # string generateName = 2;
348 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
349 # Is required when creating
350 # resources, although some resources may allow a client to request the
351 # generation of an appropriate name automatically. Name is primarily intended
352 # for creation idempotence and configuration definition. Cannot be updated.
353 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
354 # +optional
355 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
356 #
357 # Cloud Run fully managed: not supported
358 #
359 # Cloud Run for Anthos: supported
360 #
361 # Number of seconds allowed for this object to gracefully terminate before
362 # it will be removed from the system. Only set when deletionTimestamp is also
363 # set. May only be shortened. Read-only.
364 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
365 #
366 # Cloud Run fully managed: not supported
367 #
368 # Cloud Run for Anthos: supported
369 #
370 # The name of the cluster which the object belongs to.
371 # This is used to distinguish resources with same name and namespace in
372 # different clusters. This field is not set anywhere right now and apiserver
373 # is going to ignore it if set in create or update request.
374 &quot;finalizers&quot;: [ # (Optional)
375 #
376 # Cloud Run fully managed: not supported
377 #
378 # Cloud Run for Anthos: supported
379 #
380 # Must be empty before the object is deleted from the registry. Each entry
381 # is an identifier for the responsible component that will remove the entry
382 # from the list. If the deletionTimestamp of the object is non-nil, entries
383 # in this list can only be removed.
384 # +patchStrategy=merge
385 &quot;A String&quot;,
386 ],
387 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
388 #
389 # Cloud Run fully managed: not supported
390 #
391 # Cloud Run for Anthos: supported
392 #
393 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
394 # deleted. This field is set by the server when a graceful deletion is
395 # requested by the user, and is not directly settable by a client. The
396 # resource is expected to be deleted (no longer visible from resource lists,
397 # and not reachable by name) after the time in this field, once the
398 # finalizers list is empty. As long as the finalizers list contains items,
399 # deletion is blocked. Once the deletionTimestamp is set, this value may not
400 # be unset or be set further into the future, although it may be shortened or
401 # the resource may be deleted prior to this time. For example, a user may
402 # request that a pod is deleted in 30 seconds. The Kubelet will react by
403 # sending a graceful termination signal to the containers in the pod. After
404 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
405 # to the container and after cleanup, remove the pod from the API. In the
406 # presence of network partitions, this object may still exist after this
407 # timestamp, until an administrator or automated process can determine the
408 # resource is fully terminated.
409 # If not set, graceful deletion of the object has not been requested.
410 #
411 # Populated by the system when a graceful deletion is requested.
412 # Read-only.
413 # More info:
414 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
415 &quot;ownerReferences&quot;: [ # (Optional)
416 #
417 # Cloud Run fully managed: not supported
418 #
419 # Cloud Run for Anthos: supported
420 #
421 # List of objects that own this object. If ALL objects in the list have
422 # been deleted, this object will be garbage collected.
423 { # OwnerReference contains enough information to let you identify an owning
424 # object. Currently, an owning object must be in the same namespace, so there
425 # is no namespace field.
426 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
427 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
428 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
429 # +optional
430 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
431 # More info:
432 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
433 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
434 # the owner cannot be deleted from the key-value store until this
435 # reference is removed.
436 # Defaults to false.
437 # To set this field, a user needs &quot;delete&quot; permission of the owner,
438 # otherwise 422 (Unprocessable Entity) will be returned.
439 # +optional
440 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
441 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
442 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
443 },
444 ],
445 },
446 &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).
447 &quot;volumes&quot;: [
448 { # Cloud Run fully managed: not supported
449 #
450 # Cloud Run for Anthos: supported
451 #
452 # Volume represents a named volume in a container.
453 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
454 #
455 # Cloud Run for Anthos: supported
456 #
457 # Cloud Run for Anthos: supported
458 #
459 # Adapts a ConfigMap into a volume.
460 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
461 # volume as files using the keys in the Data field as the file names, unless
462 # the items element is populated with specific mappings of keys to paths.
463 &quot;optional&quot;: True or False, # (Optional)
464 #
465 # Cloud Run fully managed: not supported
466 #
467 # Cloud Run for Anthos: supported
468 #
469 # Specify whether the Secret or its keys must be defined.
470 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
471 #
472 # Cloud Run for Anthos: supported
473 #
474 # Name of the config.
475 &quot;defaultMode&quot;: 42, # (Optional)
476 #
477 # Cloud Run fully managed: not supported
478 #
479 # Cloud Run for Anthos: supported
480 #
481 # Mode bits to use on created files by default. Must be a value between 0 and
482 # 0777. Defaults to 0644. Directories within the path are not affected by
483 # this setting. This might be in conflict with other options that affect the
484 # file mode, like fsGroup, and the result can be other mode bits set.
485 &quot;items&quot;: [ # (Optional)
486 #
487 # Cloud Run fully managed: not supported
488 #
489 # Cloud Run for Anthos: supported
490 #
491 # If unspecified, each key-value pair in the Data field of the referenced
492 # Secret will be projected into the volume as a file whose name is the
493 # key and content is the value. If specified, the listed keys will be
494 # projected into the specified paths, and unlisted keys will not be
495 # present. If a key is specified which is not present in the Secret,
496 # the volume setup will error unless it is marked optional.
497 { # Cloud Run fully managed: not supported
498 #
499 # Cloud Run for Anthos: supported
500 #
501 # Maps a string key to a path within a volume.
502 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
503 #
504 # Cloud Run for Anthos: supported
505 #
506 # The key to project.
507 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
508 #
509 # Cloud Run for Anthos: supported
510 #
511 # The relative path of the file to map the key to.
512 # May not be an absolute path.
513 # May not contain the path element &#x27;..&#x27;.
514 # May not start with the string &#x27;..&#x27;.
515 &quot;mode&quot;: 42, # (Optional)
516 #
517 # Cloud Run fully managed: not supported
518 #
519 # Cloud Run for Anthos: supported
520 #
521 # Mode bits to use on this file, must be a value between 0 and 0777. If not
522 # specified, the volume defaultMode will be used. This might be in conflict
523 # with other options that affect the file mode, like fsGroup, and the result
524 # can be other mode bits set.
525 },
526 ],
527 },
528 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
529 #
530 # Cloud Run for Anthos: supported
531 #
532 # Volume&#x27;s name.
533 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
534 #
535 # Cloud Run for Anthos: supported
536 #
537 # Cloud Run for Anthos: supported
538 #
539 # The contents of the target Secret&#x27;s Data field will be presented in a volume
540 # as files using the keys in the Data field as the file names.
541 &quot;optional&quot;: True or False, # (Optional)
542 #
543 # Cloud Run fully managed: not supported
544 #
545 # Cloud Run for Anthos: supported
546 #
547 # Specify whether the Secret or its keys must be defined.
548 &quot;defaultMode&quot;: 42, # (Optional)
549 #
550 # Cloud Run fully managed: not supported
551 #
552 # Cloud Run for Anthos: supported
553 #
554 # Mode bits to use on created files by default. Must be a value between 0 and
555 # 0777. Defaults to 0644. Directories within the path are not affected by
556 # this setting. This might be in conflict with other options that affect the
557 # file mode, like fsGroup, and the result can be other mode bits set.
558 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
559 #
560 # Cloud Run for Anthos: supported
561 #
562 # Name of the secret in the container&#x27;s namespace to use.
563 &quot;items&quot;: [ # (Optional)
564 #
565 # Cloud Run fully managed: not supported
566 #
567 # Cloud Run for Anthos: supported
568 #
569 # If unspecified, each key-value pair in the Data field of the referenced
570 # Secret will be projected into the volume as a file whose name is the
571 # key and content is the value. If specified, the listed keys will be
572 # projected into the specified paths, and unlisted keys will not be
573 # present. If a key is specified which is not present in the Secret,
574 # the volume setup will error unless it is marked optional.
575 { # Cloud Run fully managed: not supported
576 #
577 # Cloud Run for Anthos: supported
578 #
579 # Maps a string key to a path within a volume.
580 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
581 #
582 # Cloud Run for Anthos: supported
583 #
584 # The key to project.
585 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
586 #
587 # Cloud Run for Anthos: supported
588 #
589 # The relative path of the file to map the key to.
590 # May not be an absolute path.
591 # May not contain the path element &#x27;..&#x27;.
592 # May not start with the string &#x27;..&#x27;.
593 &quot;mode&quot;: 42, # (Optional)
594 #
595 # Cloud Run fully managed: not supported
596 #
597 # Cloud Run for Anthos: supported
598 #
599 # Mode bits to use on this file, must be a value between 0 and 0777. If not
600 # specified, the volume defaultMode will be used. This might be in conflict
601 # with other options that affect the file mode, like fsGroup, and the result
602 # can be other mode bits set.
603 },
604 ],
605 },
606 },
607 ],
608 &quot;containerConcurrency&quot;: 42, # (Optional)
609 #
610 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
611 # requests per container instance of the Revision.
612 #
613 # Cloud Run fully managed: supported, defaults to 80
614 #
615 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
616 # to the application is not limited, and the system decides the
617 # target concurrency for the autoscaler.
618 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
619 # responding to a request.
620 # Not currently used by Cloud Run.
621 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
622 # of the service. The service account represents the identity of the
623 # running revision, and determines what permissions the revision has. If
624 # not provided, the revision will use the project&#x27;s default service account.
625 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
626 # for this Revision. In the context of a Revision, we disallow a number of
627 # fields on this Container, including: name and lifecycle.
628 # In Cloud Run, only a single container may be provided.
629 # The runtime contract is documented here:
630 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
631 { # A single application container.
632 # This specifies both the container to run, the command to run in the container
633 # and the arguments to supply to it.
634 # Note that additional arguments may be supplied by the system to the container
635 # at runtime.
636 &quot;volumeMounts&quot;: [ # (Optional)
637 #
638 # Cloud Run fully managed: not supported
639 #
640 # Cloud Run for Anthos: supported
641 #
642 # Pod volumes to mount into the container&#x27;s filesystem.
643 { # Cloud Run fully managed: not supported
644 #
645 # Cloud Run for Anthos: supported
646 #
647 # VolumeMount describes a mounting of a Volume within a container.
648 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
649 #
650 # Cloud Run for Anthos: supported
651 #
652 # This must match the Name of a Volume.
653 &quot;readOnly&quot;: True or False, # (Optional)
654 #
655 # Cloud Run fully managed: not supported
656 #
657 # Cloud Run for Anthos: supported
658 #
659 # Only true is accepted.
660 # Defaults to true.
661 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
662 #
663 # Cloud Run for Anthos: supported
664 #
665 # Path within the container at which the volume should be mounted. Must
666 # not contain &#x27;:&#x27;.
667 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
668 #
669 # Cloud Run fully managed: not supported
670 #
671 # Cloud Run for Anthos: supported
672 #
673 # Path within the volume from which the container&#x27;s volume should be mounted.
674 # Defaults to &quot;&quot; (volume&#x27;s root).
675 },
676 ],
677 &quot;args&quot;: [ # (Optional)
678 #
679 # Cloud Run fully managed: supported
680 #
681 # Cloud Run for Anthos: supported
682 #
683 # Arguments to the entrypoint.
684 # The docker image&#x27;s CMD is used if this is not provided.
685 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
686 # environment. If a variable cannot be resolved, the reference in the input
687 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
688 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
689 # regardless of whether the variable exists or not.
690 # More info:
691 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
692 &quot;A String&quot;,
693 ],
694 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
695 #
696 # Cloud Run fully managed: not supported
697 #
698 # Cloud Run for Anthos: supported
699 #
700 # Container&#x27;s working directory.
701 # If not specified, the container runtime&#x27;s default will be used, which
702 # might be configured in the container image.
703 &quot;ports&quot;: [ # (Optional)
704 #
705 # List of ports to expose from the container. Only a single port can be
706 # specified. The specified ports must be listening on all interfaces
707 # (0.0.0.0) within the container to be accessible.
708 #
709 # If omitted, a port number will be chosen and passed to the container
710 # through the PORT environment variable for the container to listen on.
711 { # ContainerPort represents a network port in a single container.
712 &quot;containerPort&quot;: 42, # (Optional)
713 #
714 # Port number the container listens on.
715 # This must be a valid port number, 0 &lt; x &lt; 65536.
716 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
717 #
718 # Cloud Run fully managed: not supported
719 #
720 # Cloud Run for Anthos: supported
721 #
722 # Protocol for port. Must be &quot;TCP&quot;.
723 # Defaults to &quot;TCP&quot;.
724 &quot;name&quot;: &quot;A String&quot;, # (Optional)
725 #
726 # Cloud Run fully managed: not supported
727 #
728 # Cloud Run for Anthos: supported
729 #
730 # If specified, used to specify which protocol to use.
731 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
732 },
733 ],
734 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
735 # Registry
736 #
737 # Cloud Run for Anthos: supported
738 #
739 # URL of the Container image.
740 # More info: https://kubernetes.io/docs/concepts/containers/images
741 &quot;envFrom&quot;: [ # (Optional)
742 #
743 # Cloud Run fully managed: not supported
744 #
745 # Cloud Run for Anthos: supported
746 #
747 # List of sources to populate environment variables in the container.
748 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
749 # will be reported as an event when the container is starting. When a key
750 # exists in multiple sources, the value associated with the last source will
751 # take precedence. Values defined by an Env with a duplicate key will take
752 # precedence. Cannot be updated.
753 { # Cloud Run fully managed: not supported
754 #
755 # Cloud Run for Anthos: supported
756 #
757 # EnvFromSource represents the source of a set of ConfigMaps
758 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
759 #
760 # Cloud Run fully managed: not supported
761 #
762 # Cloud Run for Anthos: supported
763 #
764 # An optional identifier to prepend to each key in the ConfigMap. Must be a
765 # C_IDENTIFIER.
766 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
767 #
768 # Cloud Run fully managed: not supported
769 #
770 # Cloud Run for Anthos: supported
771 #
772 # The ConfigMap to select from
773 #
774 # Cloud Run for Anthos: supported
775 #
776 # ConfigMapEnvSource selects a ConfigMap to populate the environment
777 # variables with.
778 #
779 # The contents of the target ConfigMap&#x27;s Data field will represent the
780 # key-value pairs as environment variables.
781 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
782 # directly into the message. Use the &quot;name&quot; field instead.
783 #
784 # Cloud Run for Anthos: supported
785 #
786 # LocalObjectReference contains enough information to let you locate the
787 # referenced object inside the same namespace.
788 &quot;name&quot;: &quot;A String&quot;, # (Optional)
789 #
790 # Cloud Run fully managed: not supported
791 #
792 # Cloud Run for Anthos: supported
793 #
794 # Name of the referent.
795 # More info:
796 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
797 },
798 &quot;optional&quot;: True or False, # (Optional)
799 #
800 # Cloud Run fully managed: not supported
801 #
802 # Cloud Run for Anthos: supported
803 #
804 # Specify whether the ConfigMap must be defined
805 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
806 #
807 # Cloud Run for Anthos: supported
808 #
809 # The ConfigMap to select from.
810 },
811 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
812 #
813 # Cloud Run fully managed: not supported
814 #
815 # Cloud Run for Anthos: supported
816 #
817 # The Secret to select from
818 #
819 # Cloud Run for Anthos: supported
820 #
821 # SecretEnvSource selects a Secret to populate the environment
822 # variables with.
823 #
824 # The contents of the target Secret&#x27;s Data field will represent the
825 # key-value pairs as environment variables.
826 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
827 # directly into the message. Use the &quot;name&quot; field instead.
828 #
829 # Cloud Run for Anthos: supported
830 #
831 # LocalObjectReference contains enough information to let you locate the
832 # referenced object inside the same namespace.
833 &quot;name&quot;: &quot;A String&quot;, # (Optional)
834 #
835 # Cloud Run fully managed: not supported
836 #
837 # Cloud Run for Anthos: supported
838 #
839 # Name of the referent.
840 # More info:
841 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
842 },
843 &quot;optional&quot;: True or False, # (Optional)
844 #
845 # Cloud Run fully managed: not supported
846 #
847 # Cloud Run for Anthos: supported
848 #
849 # Specify whether the Secret must be defined
850 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
851 #
852 # Cloud Run for Anthos: supported
853 #
854 # The Secret to select from.
855 },
856 },
857 ],
858 &quot;name&quot;: &quot;A String&quot;, # (Optional)
859 #
860 # Name of the container specified as a DNS_LABEL.
861 &quot;command&quot;: [
862 &quot;A String&quot;,
863 ],
864 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
865 #
866 # Cloud Run fully managed: not supported
867 #
868 # Cloud Run for Anthos: supported
869 #
870 # Indicate how the termination message should be populated. File will use the
871 # contents of terminationMessagePath to populate the container status message
872 # on both success and failure. FallbackToLogsOnError will use the last chunk
873 # of container log output if the termination message file is empty and the
874 # container exited with an error. The log output is limited to 2048 bytes or
875 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
876 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
877 #
878 # Cloud Run fully managed: not supported
879 #
880 # Cloud Run for Anthos: supported
881 #
882 # Security options the pod should run with.
883 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
884 # More info:
885 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
886 #
887 # Cloud Run for Anthos: supported
888 #
889 # SecurityContext holds security configuration that will be applied to a
890 # container. Some fields are present in both SecurityContext and
891 # PodSecurityContext. When both are set, the values in SecurityContext take
892 # precedence.
893 &quot;runAsUser&quot;: 42, # (Optional)
894 #
895 # Cloud Run fully managed: not supported
896 #
897 # Cloud Run for Anthos: supported
898 #
899 # The UID to run the entrypoint of the container process.
900 # Defaults to user specified in image metadata if unspecified.
901 # May also be set in PodSecurityContext. If set in both SecurityContext and
902 # PodSecurityContext, the value specified in SecurityContext takes
903 # precedence.
904 },
905 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
906 #
907 # Cloud Run fully managed: not supported
908 #
909 # Cloud Run for Anthos: supported
910 #
911 # Periodic probe of container liveness.
912 # Container will be restarted if the probe fails.
913 # More info:
914 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
915 #
916 # Cloud Run for Anthos: supported
917 #
918 # Probe describes a health check to be performed against a container to
919 # determine whether it is alive or ready to receive traffic.
920 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
921 #
922 # Cloud Run fully managed: not supported
923 #
924 # Cloud Run for Anthos: supported
925 #
926 # HTTPGet specifies the http request to perform.
927 #
928 # A field inlined from the Handler message.
929 #
930 # Cloud Run for Anthos: supported
931 #
932 # HTTPGetAction describes an action based on HTTP Get requests.
933 &quot;httpHeaders&quot;: [ # (Optional)
934 #
935 # Cloud Run fully managed: not supported
936 #
937 # Cloud Run for Anthos: supported
938 #
939 # Custom headers to set in the request. HTTP allows repeated headers.
940 { # Cloud Run fully managed: not supported
941 #
942 # Cloud Run for Anthos: supported
943 #
944 # HTTPHeader describes a custom header to be used in HTTP probes
945 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
946 #
947 # Cloud Run for Anthos: supported
948 #
949 # The header field name
950 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
951 #
952 # Cloud Run for Anthos: supported
953 #
954 # The header field value
955 },
956 ],
957 &quot;path&quot;: &quot;A String&quot;, # (Optional)
958 #
959 # Cloud Run fully managed: not supported
960 #
961 # Cloud Run for Anthos: supported
962 #
963 # Path to access on the HTTP server.
964 &quot;host&quot;: &quot;A String&quot;, # (Optional)
965 #
966 # Cloud Run fully managed: not supported
967 #
968 # Cloud Run for Anthos: supported
969 #
970 # Host name to connect to, defaults to the pod IP. You probably want to set
971 # &quot;Host&quot; in httpHeaders instead.
972 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
973 #
974 # Cloud Run fully managed: not supported
975 #
976 # Cloud Run for Anthos: supported
977 #
978 # Scheme to use for connecting to the host.
979 # Defaults to HTTP.
980 },
981 &quot;failureThreshold&quot;: 42, # (Optional)
982 #
983 # Cloud Run fully managed: not supported
984 #
985 # Cloud Run for Anthos: supported
986 #
987 # Minimum consecutive failures for the probe to be considered failed after
988 # having succeeded. Defaults to 3. Minimum value is 1.
989 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
990 #
991 # Cloud Run fully managed: not supported
992 #
993 # Cloud Run for Anthos: supported
994 #
995 # One and only one of the following should be specified.
996 # Exec specifies the action to take.
997 #
998 # A field inlined from the Handler message.
999 #
1000 # Cloud Run for Anthos: supported
1001 #
1002 # ExecAction describes a &quot;run in container&quot; action.
1003 &quot;command&quot;: &quot;A String&quot;, # (Optional)
1004 #
1005 # Cloud Run fully managed: not supported
1006 #
1007 # Cloud Run for Anthos: supported
1008 #
1009 # Command is the command line to execute inside the container, the working
1010 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
1011 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
1012 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
1013 # explicitly call out to that shell. Exit status of 0 is treated as
1014 # live/healthy and non-zero is unhealthy.
1015 },
1016 &quot;initialDelaySeconds&quot;: 42, # (Optional)
1017 #
1018 # Cloud Run fully managed: not supported
1019 #
1020 # Cloud Run for Anthos: supported
1021 #
1022 # Number of seconds after the container has started before liveness probes
1023 # are initiated. More info:
1024 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1025 &quot;timeoutSeconds&quot;: 42, # (Optional)
1026 #
1027 # Cloud Run fully managed: not supported
1028 #
1029 # Cloud Run for Anthos: supported
1030 #
1031 # Number of seconds after which the probe times out.
1032 # Defaults to 1 second. Minimum value is 1.
1033 # More info:
1034 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1035 &quot;successThreshold&quot;: 42, # (Optional)
1036 #
1037 # Cloud Run fully managed: not supported
1038 #
1039 # Cloud Run for Anthos: supported
1040 #
1041 # Minimum consecutive successes for the probe to be considered successful
1042 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
1043 # is 1.
1044 &quot;periodSeconds&quot;: 42, # (Optional)
1045 #
1046 # Cloud Run fully managed: not supported
1047 #
1048 # Cloud Run for Anthos: supported
1049 #
1050 # How often (in seconds) to perform the probe.
1051 # Default to 10 seconds. Minimum value is 1.
1052 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
1053 #
1054 # Cloud Run fully managed: not supported
1055 #
1056 # Cloud Run for Anthos: supported
1057 #
1058 # TCPSocket specifies an action involving a TCP port.
1059 # TCP hooks not yet supported
1060 #
1061 # A field inlined from the Handler message.
1062 #
1063 # Cloud Run for Anthos: supported
1064 #
1065 # TCPSocketAction describes an action based on opening a socket
1066 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
1067 #
1068 # Cloud Run for Anthos: supported
1069 #
1070 # Number or name of the port to access on the container.
1071 # Number must be in the range 1 to 65535.
1072 # Name must be an IANA_SVC_NAME.
1073 #
1074 # This field is currently limited to integer types only because of proto&#x27;s
1075 # inability to properly support the IntOrString golang type.
1076 &quot;host&quot;: &quot;A String&quot;, # (Optional)
1077 #
1078 # Cloud Run fully managed: not supported
1079 #
1080 # Cloud Run for Anthos: supported
1081 #
1082 # Optional: Host name to connect to, defaults to the pod IP.
1083 },
1084 },
1085 &quot;env&quot;: [ # (Optional)
1086 #
1087 # Cloud Run fully managed: supported
1088 #
1089 # Cloud Run for Anthos: supported
1090 #
1091 # List of environment variables to set in the container.
1092 { # EnvVar represents an environment variable present in a Container.
1093 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
1094 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
1095 #
1096 # Cloud Run fully managed: not supported
1097 #
1098 # Cloud Run for Anthos: supported
1099 #
1100 # Source for the environment variable&#x27;s value. Cannot be used if value is not
1101 # empty.
1102 #
1103 # Cloud Run for Anthos: supported
1104 #
1105 # EnvVarSource represents a source for the value of an EnvVar.
1106 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
1107 #
1108 # Cloud Run fully managed: not supported
1109 #
1110 # Cloud Run for Anthos: supported
1111 #
1112 # Selects a key of a secret in the pod&#x27;s namespace
1113 #
1114 # Cloud Run for Anthos: supported
1115 #
1116 # SecretKeySelector selects a key of a Secret.
1117 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1118 #
1119 # Cloud Run for Anthos: supported
1120 #
1121 # The key of the secret to select from. Must be a valid secret key.
1122 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1123 #
1124 # Cloud Run for Anthos: supported
1125 #
1126 # The name of the secret in the pod&#x27;s namespace to select from.
1127 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
1128 # directly into the message. Use the &quot;name&quot; field instead.
1129 #
1130 # Cloud Run for Anthos: supported
1131 #
1132 # LocalObjectReference contains enough information to let you locate the
1133 # referenced object inside the same namespace.
1134 &quot;name&quot;: &quot;A String&quot;, # (Optional)
1135 #
1136 # Cloud Run fully managed: not supported
1137 #
1138 # Cloud Run for Anthos: supported
1139 #
1140 # Name of the referent.
1141 # More info:
1142 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1143 },
1144 &quot;optional&quot;: True or False, # (Optional)
1145 #
1146 # Cloud Run fully managed: not supported
1147 #
1148 # Cloud Run for Anthos: supported
1149 #
1150 # Specify whether the Secret or its key must be defined
1151 },
1152 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
1153 #
1154 # Cloud Run fully managed: not supported
1155 #
1156 # Cloud Run for Anthos: supported
1157 #
1158 # Selects a key of a ConfigMap.
1159 #
1160 # Cloud Run for Anthos: supported
1161 #
1162 # Selects a key from a ConfigMap.
1163 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
1164 # directly into the message. Use the &quot;name&quot; field instead.
1165 #
1166 # Cloud Run for Anthos: supported
1167 #
1168 # LocalObjectReference contains enough information to let you locate the
1169 # referenced object inside the same namespace.
1170 &quot;name&quot;: &quot;A String&quot;, # (Optional)
1171 #
1172 # Cloud Run fully managed: not supported
1173 #
1174 # Cloud Run for Anthos: supported
1175 #
1176 # Name of the referent.
1177 # More info:
1178 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1179 },
1180 &quot;optional&quot;: True or False, # (Optional)
1181 #
1182 # Cloud Run fully managed: not supported
1183 #
1184 # Cloud Run for Anthos: supported
1185 #
1186 # Specify whether the ConfigMap or its key must be defined
1187 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1188 #
1189 # Cloud Run for Anthos: supported
1190 #
1191 # The key to select.
1192 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1193 #
1194 # Cloud Run for Anthos: supported
1195 #
1196 # The ConfigMap to select from.
1197 },
1198 },
1199 &quot;value&quot;: &quot;A String&quot;, # (Optional)
1200 #
1201 # Variable references $(VAR_NAME) are expanded
1202 # using the previous defined environment variables in the container and
1203 # any route environment variables. If a variable cannot be resolved,
1204 # the reference in the input string will be unchanged. The $(VAR_NAME)
1205 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
1206 # references will never be expanded, regardless of whether the variable
1207 # exists or not.
1208 # Defaults to &quot;&quot;.
1209 },
1210 ],
1211 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
1212 #
1213 # Cloud Run fully managed: supported
1214 #
1215 # Cloud Run for Anthos: supported
1216 #
1217 # Compute Resources required by this container.
1218 # More info:
1219 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
1220 &quot;limits&quot;: { # (Optional)
1221 #
1222 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
1223 # supported value for CPU is &#x27;1&#x27;.
1224 #
1225 # Cloud Run for Anthos: supported
1226 #
1227 # Limits describes the maximum amount of compute resources allowed.
1228 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
1229 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
1230 &quot;a_key&quot;: &quot;A String&quot;,
1231 },
1232 &quot;requests&quot;: { # (Optional)
1233 #
1234 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
1235 # supported value for CPU is &#x27;1&#x27;.
1236 #
1237 # Cloud Run for Anthos: supported
1238 #
1239 # Requests describes the minimum amount of compute resources required.
1240 # If Requests is omitted for a container, it defaults to Limits if that is
1241 # explicitly specified, otherwise to an implementation-defined value.
1242 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
1243 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
1244 &quot;a_key&quot;: &quot;A String&quot;,
1245 },
1246 },
1247 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
1248 #
1249 # Cloud Run fully managed: not supported
1250 #
1251 # Cloud Run for Anthos: supported
1252 #
1253 # Periodic probe of container service readiness.
1254 # Container will be removed from service endpoints if the probe fails.
1255 # More info:
1256 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1257 #
1258 # Cloud Run for Anthos: supported
1259 #
1260 # Probe describes a health check to be performed against a container to
1261 # determine whether it is alive or ready to receive traffic.
1262 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
1263 #
1264 # Cloud Run fully managed: not supported
1265 #
1266 # Cloud Run for Anthos: supported
1267 #
1268 # HTTPGet specifies the http request to perform.
1269 #
1270 # A field inlined from the Handler message.
1271 #
1272 # Cloud Run for Anthos: supported
1273 #
1274 # HTTPGetAction describes an action based on HTTP Get requests.
1275 &quot;httpHeaders&quot;: [ # (Optional)
1276 #
1277 # Cloud Run fully managed: not supported
1278 #
1279 # Cloud Run for Anthos: supported
1280 #
1281 # Custom headers to set in the request. HTTP allows repeated headers.
1282 { # Cloud Run fully managed: not supported
1283 #
1284 # Cloud Run for Anthos: supported
1285 #
1286 # HTTPHeader describes a custom header to be used in HTTP probes
1287 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1288 #
1289 # Cloud Run for Anthos: supported
1290 #
1291 # The header field name
1292 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
1293 #
1294 # Cloud Run for Anthos: supported
1295 #
1296 # The header field value
1297 },
1298 ],
1299 &quot;path&quot;: &quot;A String&quot;, # (Optional)
1300 #
1301 # Cloud Run fully managed: not supported
1302 #
1303 # Cloud Run for Anthos: supported
1304 #
1305 # Path to access on the HTTP server.
1306 &quot;host&quot;: &quot;A String&quot;, # (Optional)
1307 #
1308 # Cloud Run fully managed: not supported
1309 #
1310 # Cloud Run for Anthos: supported
1311 #
1312 # Host name to connect to, defaults to the pod IP. You probably want to set
1313 # &quot;Host&quot; in httpHeaders instead.
1314 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
1315 #
1316 # Cloud Run fully managed: not supported
1317 #
1318 # Cloud Run for Anthos: supported
1319 #
1320 # Scheme to use for connecting to the host.
1321 # Defaults to HTTP.
1322 },
1323 &quot;failureThreshold&quot;: 42, # (Optional)
1324 #
1325 # Cloud Run fully managed: not supported
1326 #
1327 # Cloud Run for Anthos: supported
1328 #
1329 # Minimum consecutive failures for the probe to be considered failed after
1330 # having succeeded. Defaults to 3. Minimum value is 1.
1331 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
1332 #
1333 # Cloud Run fully managed: not supported
1334 #
1335 # Cloud Run for Anthos: supported
1336 #
1337 # One and only one of the following should be specified.
1338 # Exec specifies the action to take.
1339 #
1340 # A field inlined from the Handler message.
1341 #
1342 # Cloud Run for Anthos: supported
1343 #
1344 # ExecAction describes a &quot;run in container&quot; action.
1345 &quot;command&quot;: &quot;A String&quot;, # (Optional)
1346 #
1347 # Cloud Run fully managed: not supported
1348 #
1349 # Cloud Run for Anthos: supported
1350 #
1351 # Command is the command line to execute inside the container, the working
1352 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
1353 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
1354 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
1355 # explicitly call out to that shell. Exit status of 0 is treated as
1356 # live/healthy and non-zero is unhealthy.
1357 },
1358 &quot;initialDelaySeconds&quot;: 42, # (Optional)
1359 #
1360 # Cloud Run fully managed: not supported
1361 #
1362 # Cloud Run for Anthos: supported
1363 #
1364 # Number of seconds after the container has started before liveness probes
1365 # are initiated. More info:
1366 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1367 &quot;timeoutSeconds&quot;: 42, # (Optional)
1368 #
1369 # Cloud Run fully managed: not supported
1370 #
1371 # Cloud Run for Anthos: supported
1372 #
1373 # Number of seconds after which the probe times out.
1374 # Defaults to 1 second. Minimum value is 1.
1375 # More info:
1376 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
1377 &quot;successThreshold&quot;: 42, # (Optional)
1378 #
1379 # Cloud Run fully managed: not supported
1380 #
1381 # Cloud Run for Anthos: supported
1382 #
1383 # Minimum consecutive successes for the probe to be considered successful
1384 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
1385 # is 1.
1386 &quot;periodSeconds&quot;: 42, # (Optional)
1387 #
1388 # Cloud Run fully managed: not supported
1389 #
1390 # Cloud Run for Anthos: supported
1391 #
1392 # How often (in seconds) to perform the probe.
1393 # Default to 10 seconds. Minimum value is 1.
1394 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
1395 #
1396 # Cloud Run fully managed: not supported
1397 #
1398 # Cloud Run for Anthos: supported
1399 #
1400 # TCPSocket specifies an action involving a TCP port.
1401 # TCP hooks not yet supported
1402 #
1403 # A field inlined from the Handler message.
1404 #
1405 # Cloud Run for Anthos: supported
1406 #
1407 # TCPSocketAction describes an action based on opening a socket
1408 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
1409 #
1410 # Cloud Run for Anthos: supported
1411 #
1412 # Number or name of the port to access on the container.
1413 # Number must be in the range 1 to 65535.
1414 # Name must be an IANA_SVC_NAME.
1415 #
1416 # This field is currently limited to integer types only because of proto&#x27;s
1417 # inability to properly support the IntOrString golang type.
1418 &quot;host&quot;: &quot;A String&quot;, # (Optional)
1419 #
1420 # Cloud Run fully managed: not supported
1421 #
1422 # Cloud Run for Anthos: supported
1423 #
1424 # Optional: Host name to connect to, defaults to the pod IP.
1425 },
1426 },
1427 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
1428 #
1429 # Cloud Run fully managed: not supported
1430 #
1431 # Cloud Run for Anthos: supported
1432 #
1433 # Image pull policy.
1434 # One of Always, Never, IfNotPresent.
1435 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
1436 # More info:
1437 # https://kubernetes.io/docs/concepts/containers/images#updating-images
1438 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
1439 #
1440 # Cloud Run fully managed: not supported
1441 #
1442 # Cloud Run for Anthos: supported
1443 #
1444 # Path at which the file to which the container&#x27;s termination
1445 # message will be written is mounted into the container&#x27;s filesystem. Message
1446 # written is intended to be brief final status, such as an assertion failure
1447 # message. Will be truncated by the node if greater than 4096 bytes. The
1448 # total message length across all containers will be limited to 12kb.
1449 # Defaults to /dev/termination-log.
1450 },
1451 ],
1452 },
1453 },
1454 },
1455 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
1456 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
1457 # and annotations.
1458 # persisted resources must have, which includes all objects users must create.
1459 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
1460 #
1461 # CreationTimestamp is a timestamp representing the server time when this
1462 # object was created. It is not guaranteed to be set in happens-before order
1463 # across separate operations. Clients may not set this value. It is
1464 # represented in RFC3339 form and is in UTC.
1465 #
1466 # Populated by the system.
1467 # Read-only.
1468 # Null for lists.
1469 # More info:
1470 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1471 &quot;labels&quot;: { # (Optional)
1472 #
1473 # Map of string keys and values that can be used to organize and categorize
1474 # (scope and select) objects. May match selectors of replication controllers
1475 # and routes.
1476 # More info: http://kubernetes.io/docs/user-guide/labels
1477 &quot;a_key&quot;: &quot;A String&quot;,
1478 },
1479 &quot;generation&quot;: 42, # (Optional)
1480 #
1481 # A sequence number representing a specific generation of the desired state.
1482 # Populated by the system. Read-only.
1483 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
1484 #
1485 # An opaque value that represents the internal version of this object that
1486 # can be used by clients to determine when objects have changed. May be used
1487 # for optimistic concurrency, change detection, and the watch operation on a
1488 # resource or set of resources. Clients must treat these values as opaque and
1489 # passed unmodified back to the server. They may only be valid for a
1490 # particular resource or set of resources.
1491 #
1492 # Populated by the system.
1493 # Read-only.
1494 # Value must be treated as opaque by clients and .
1495 # More info:
1496 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1497 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
1498 #
1499 # SelfLink is a URL representing this object.
1500 # Populated by the system.
1501 # Read-only.
1502 # string selfLink = 4;
1503 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
1504 #
1505 # UID is the unique in time and space value for this object. It is typically
1506 # generated by the server on successful creation of a resource and is not
1507 # allowed to change on PUT operations.
1508 #
1509 # Populated by the system.
1510 # Read-only.
1511 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1512 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1513 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1514 # project ID or project number.
1515 &quot;annotations&quot;: { # (Optional)
1516 #
1517 # Annotations is an unstructured key value map stored with a resource that
1518 # may be set by external tools to store and retrieve arbitrary metadata. They
1519 # are not queryable and should be preserved when modifying objects. More
1520 # info: http://kubernetes.io/docs/user-guide/annotations
1521 &quot;a_key&quot;: &quot;A String&quot;,
1522 },
1523 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
1524 #
1525 # Cloud Run fully managed: not supported
1526 #
1527 # Cloud Run for Anthos: supported
1528 #
1529 # GenerateName is an optional prefix, used by the server, to generate a
1530 # unique name ONLY IF the Name field has not been provided. If this field is
1531 # used, the name returned to the client will be different than the name
1532 # passed. This value will also be combined with a unique suffix. The provided
1533 # value has the same validation rules as the Name field, and may be truncated
1534 # by the length of the suffix required to make the value unique on the
1535 # server.
1536 #
1537 # If this field is specified and the generated name exists, the server will
1538 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1539 # Reason ServerTimeout indicating a unique name could not be found in the
1540 # time allotted, and the client should retry (optionally after the time
1541 # indicated in the Retry-After header).
1542 #
1543 # Applied only if Name is not specified.
1544 # More info:
1545 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1546 # string generateName = 2;
1547 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1548 # Is required when creating
1549 # resources, although some resources may allow a client to request the
1550 # generation of an appropriate name automatically. Name is primarily intended
1551 # for creation idempotence and configuration definition. Cannot be updated.
1552 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1553 # +optional
1554 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
1555 #
1556 # Cloud Run fully managed: not supported
1557 #
1558 # Cloud Run for Anthos: supported
1559 #
1560 # Number of seconds allowed for this object to gracefully terminate before
1561 # it will be removed from the system. Only set when deletionTimestamp is also
1562 # set. May only be shortened. Read-only.
1563 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
1564 #
1565 # Cloud Run fully managed: not supported
1566 #
1567 # Cloud Run for Anthos: supported
1568 #
1569 # The name of the cluster which the object belongs to.
1570 # This is used to distinguish resources with same name and namespace in
1571 # different clusters. This field is not set anywhere right now and apiserver
1572 # is going to ignore it if set in create or update request.
1573 &quot;finalizers&quot;: [ # (Optional)
1574 #
1575 # Cloud Run fully managed: not supported
1576 #
1577 # Cloud Run for Anthos: supported
1578 #
1579 # Must be empty before the object is deleted from the registry. Each entry
1580 # is an identifier for the responsible component that will remove the entry
1581 # from the list. If the deletionTimestamp of the object is non-nil, entries
1582 # in this list can only be removed.
1583 # +patchStrategy=merge
1584 &quot;A String&quot;,
1585 ],
1586 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
1587 #
1588 # Cloud Run fully managed: not supported
1589 #
1590 # Cloud Run for Anthos: supported
1591 #
1592 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1593 # deleted. This field is set by the server when a graceful deletion is
1594 # requested by the user, and is not directly settable by a client. The
1595 # resource is expected to be deleted (no longer visible from resource lists,
1596 # and not reachable by name) after the time in this field, once the
1597 # finalizers list is empty. As long as the finalizers list contains items,
1598 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1599 # be unset or be set further into the future, although it may be shortened or
1600 # the resource may be deleted prior to this time. For example, a user may
1601 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1602 # sending a graceful termination signal to the containers in the pod. After
1603 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1604 # to the container and after cleanup, remove the pod from the API. In the
1605 # presence of network partitions, this object may still exist after this
1606 # timestamp, until an administrator or automated process can determine the
1607 # resource is fully terminated.
1608 # If not set, graceful deletion of the object has not been requested.
1609 #
1610 # Populated by the system when a graceful deletion is requested.
1611 # Read-only.
1612 # More info:
1613 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1614 &quot;ownerReferences&quot;: [ # (Optional)
1615 #
1616 # Cloud Run fully managed: not supported
1617 #
1618 # Cloud Run for Anthos: supported
1619 #
1620 # List of objects that own this object. If ALL objects in the list have
1621 # been deleted, this object will be garbage collected.
1622 { # OwnerReference contains enough information to let you identify an owning
1623 # object. Currently, an owning object must be in the same namespace, so there
1624 # is no namespace field.
1625 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1626 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1627 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1628 # +optional
1629 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1630 # More info:
1631 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1632 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1633 # the owner cannot be deleted from the key-value store until this
1634 # reference is removed.
1635 # Defaults to false.
1636 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1637 # otherwise 422 (Unprocessable Entity) will be returned.
1638 # +optional
1639 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1640 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1641 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1642 },
1643 ],
1644 },
1645}
1646
1647 x__xgafv: string, V1 error format.
1648 Allowed values
1649 1 - v1 error format
1650 2 - v2 error format
1651
1652Returns:
1653 An object of the form:
1654
1655 { # Service acts as a top-level container that manages a set of Routes and
1656 # Configurations which implement a network service. Service exists to provide a
1657 # singular abstraction which can be access controlled, reasoned about, and
1658 # which encapsulates software lifecycle decisions such as rollout policy and
1659 # team resource ownership. Service acts only as an orchestrator of the
1660 # underlying Routes and Configurations (much as a kubernetes Deployment
1661 # orchestrates ReplicaSets).
1662 #
1663 # The Service&#x27;s controller will track the statuses of its owned Configuration
1664 # and Route, reflecting their statuses and conditions as its own.
1665 #
1666 # See also:
1667 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
1668 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
1669 # controller).
1670 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
1671 # LatestCreatedRevisionName is the last revision that was created from this
1672 # Service&#x27;s Configuration. It might not be ready yet, for that use
1673 # LatestReadyRevisionName.
1674 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
1675 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
1676 # state of the world.
1677 # Service-specific conditions include:
1678 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
1679 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
1680 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
1681 # ready.
1682 { # Condition defines a generic condition for a Resource
1683 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
1684 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
1685 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
1686 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
1687 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
1688 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
1689 # See also:
1690 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
1691 # Types common to all resources include:
1692 # * &quot;Ready&quot;: True when the Resource is ready.
1693 },
1694 ],
1695 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
1696 # Similar to url, information on where the service is available on HTTP.
1697 &quot;url&quot;: &quot;A String&quot;,
1698 },
1699 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
1700 # was last processed by the controller.
1701 #
1702 # Clients polling for completed reconciliation should poll until
1703 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
1704 # is True or False.
1705 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
1706 # URL holds the url that will distribute traffic over the provided traffic
1707 # targets. It generally has the form
1708 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
1709 &quot;traffic&quot;: [ # From RouteStatus.
1710 # Traffic holds the configured traffic distribution.
1711 # These entries will always contain RevisionName references.
1712 # When ConfigurationName appears in the spec, this will hold the
1713 # LatestReadyRevisionName that we last observed.
1714 { # TrafficTarget holds a single entry of the routing table for a Route.
1715 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
1716 # is displayed in status, and is disallowed on spec. URL must contain a
1717 # scheme (e.g. http://) and a hostname, but may not contain anything else
1718 # (e.g. basic auth, url path, etc.
1719 #
1720 # Not currently supported in Cloud Run.
1721 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
1722 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
1723 # of the referenced configuration changes, we will automatically migrate
1724 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
1725 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
1726 # with RevisionName.
1727 #
1728 # Cloud Run currently supports a single ConfigurationName.
1729 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
1730 # This defaults to zero if unspecified.
1731 #
1732 # Cloud Run currently requires 100 percent for a single ConfigurationName
1733 # TrafficTarget entry.
1734 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
1735 # traffic. This is mutually exclusive with ConfigurationName.
1736 #
1737 # Providing RevisionName in spec is not currently supported by Cloud Run.
1738 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
1739 # ready Revision of the Configuration should be used for this traffic
1740 # target. When provided LatestRevision must be true if RevisionName is
1741 # empty; it must be false when RevisionName is non-empty.
1742 #
1743 # +optional
1744 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
1745 # this target exclusively.
1746 #
1747 # Not currently supported in Cloud Run.
1748 # +optional
1749 },
1750 ],
1751 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
1752 # LatestReadyRevisionName holds the name of the latest Revision stamped out
1753 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
1754 # &quot;True&quot;.
1755 },
1756 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
1757 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
1758 # is used to manipulate the underlying Route and Configuration(s).
1759 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
1760 # Revisions and Configurations.
1761 { # TrafficTarget holds a single entry of the routing table for a Route.
1762 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
1763 # is displayed in status, and is disallowed on spec. URL must contain a
1764 # scheme (e.g. http://) and a hostname, but may not contain anything else
1765 # (e.g. basic auth, url path, etc.
1766 #
1767 # Not currently supported in Cloud Run.
1768 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
1769 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
1770 # of the referenced configuration changes, we will automatically migrate
1771 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
1772 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
1773 # with RevisionName.
1774 #
1775 # Cloud Run currently supports a single ConfigurationName.
1776 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
1777 # This defaults to zero if unspecified.
1778 #
1779 # Cloud Run currently requires 100 percent for a single ConfigurationName
1780 # TrafficTarget entry.
1781 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
1782 # traffic. This is mutually exclusive with ConfigurationName.
1783 #
1784 # Providing RevisionName in spec is not currently supported by Cloud Run.
1785 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
1786 # ready Revision of the Configuration should be used for this traffic
1787 # target. When provided LatestRevision must be true if RevisionName is
1788 # empty; it must be false when RevisionName is non-empty.
1789 #
1790 # +optional
1791 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
1792 # this target exclusively.
1793 #
1794 # Not currently supported in Cloud Run.
1795 # +optional
1796 },
1797 ],
1798 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
1799 # be stamped out.
1800 # from a template. Based on:
1801 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
1802 &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
1803 # will be generated by the Configuration.
1804 # To set minimum instances for this revision, use the
1805 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
1806 # To set maximum instances for this revision, use the
1807 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
1808 # To set Cloud SQL connections for the revision, use the
1809 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
1810 # persisted resources must have, which includes all objects users must create.
1811 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
1812 #
1813 # CreationTimestamp is a timestamp representing the server time when this
1814 # object was created. It is not guaranteed to be set in happens-before order
1815 # across separate operations. Clients may not set this value. It is
1816 # represented in RFC3339 form and is in UTC.
1817 #
1818 # Populated by the system.
1819 # Read-only.
1820 # Null for lists.
1821 # More info:
1822 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1823 &quot;labels&quot;: { # (Optional)
1824 #
1825 # Map of string keys and values that can be used to organize and categorize
1826 # (scope and select) objects. May match selectors of replication controllers
1827 # and routes.
1828 # More info: http://kubernetes.io/docs/user-guide/labels
1829 &quot;a_key&quot;: &quot;A String&quot;,
1830 },
1831 &quot;generation&quot;: 42, # (Optional)
1832 #
1833 # A sequence number representing a specific generation of the desired state.
1834 # Populated by the system. Read-only.
1835 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
1836 #
1837 # An opaque value that represents the internal version of this object that
1838 # can be used by clients to determine when objects have changed. May be used
1839 # for optimistic concurrency, change detection, and the watch operation on a
1840 # resource or set of resources. Clients must treat these values as opaque and
1841 # passed unmodified back to the server. They may only be valid for a
1842 # particular resource or set of resources.
1843 #
1844 # Populated by the system.
1845 # Read-only.
1846 # Value must be treated as opaque by clients and .
1847 # More info:
1848 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1849 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
1850 #
1851 # SelfLink is a URL representing this object.
1852 # Populated by the system.
1853 # Read-only.
1854 # string selfLink = 4;
1855 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
1856 #
1857 # UID is the unique in time and space value for this object. It is typically
1858 # generated by the server on successful creation of a resource and is not
1859 # allowed to change on PUT operations.
1860 #
1861 # Populated by the system.
1862 # Read-only.
1863 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1864 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1865 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1866 # project ID or project number.
1867 &quot;annotations&quot;: { # (Optional)
1868 #
1869 # Annotations is an unstructured key value map stored with a resource that
1870 # may be set by external tools to store and retrieve arbitrary metadata. They
1871 # are not queryable and should be preserved when modifying objects. More
1872 # info: http://kubernetes.io/docs/user-guide/annotations
1873 &quot;a_key&quot;: &quot;A String&quot;,
1874 },
1875 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
1876 #
1877 # Cloud Run fully managed: not supported
1878 #
1879 # Cloud Run for Anthos: supported
1880 #
1881 # GenerateName is an optional prefix, used by the server, to generate a
1882 # unique name ONLY IF the Name field has not been provided. If this field is
1883 # used, the name returned to the client will be different than the name
1884 # passed. This value will also be combined with a unique suffix. The provided
1885 # value has the same validation rules as the Name field, and may be truncated
1886 # by the length of the suffix required to make the value unique on the
1887 # server.
1888 #
1889 # If this field is specified and the generated name exists, the server will
1890 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1891 # Reason ServerTimeout indicating a unique name could not be found in the
1892 # time allotted, and the client should retry (optionally after the time
1893 # indicated in the Retry-After header).
1894 #
1895 # Applied only if Name is not specified.
1896 # More info:
1897 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1898 # string generateName = 2;
1899 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1900 # Is required when creating
1901 # resources, although some resources may allow a client to request the
1902 # generation of an appropriate name automatically. Name is primarily intended
1903 # for creation idempotence and configuration definition. Cannot be updated.
1904 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1905 # +optional
1906 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
1907 #
1908 # Cloud Run fully managed: not supported
1909 #
1910 # Cloud Run for Anthos: supported
1911 #
1912 # Number of seconds allowed for this object to gracefully terminate before
1913 # it will be removed from the system. Only set when deletionTimestamp is also
1914 # set. May only be shortened. Read-only.
1915 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
1916 #
1917 # Cloud Run fully managed: not supported
1918 #
1919 # Cloud Run for Anthos: supported
1920 #
1921 # The name of the cluster which the object belongs to.
1922 # This is used to distinguish resources with same name and namespace in
1923 # different clusters. This field is not set anywhere right now and apiserver
1924 # is going to ignore it if set in create or update request.
1925 &quot;finalizers&quot;: [ # (Optional)
1926 #
1927 # Cloud Run fully managed: not supported
1928 #
1929 # Cloud Run for Anthos: supported
1930 #
1931 # Must be empty before the object is deleted from the registry. Each entry
1932 # is an identifier for the responsible component that will remove the entry
1933 # from the list. If the deletionTimestamp of the object is non-nil, entries
1934 # in this list can only be removed.
1935 # +patchStrategy=merge
1936 &quot;A String&quot;,
1937 ],
1938 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
1939 #
1940 # Cloud Run fully managed: not supported
1941 #
1942 # Cloud Run for Anthos: supported
1943 #
1944 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1945 # deleted. This field is set by the server when a graceful deletion is
1946 # requested by the user, and is not directly settable by a client. The
1947 # resource is expected to be deleted (no longer visible from resource lists,
1948 # and not reachable by name) after the time in this field, once the
1949 # finalizers list is empty. As long as the finalizers list contains items,
1950 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1951 # be unset or be set further into the future, although it may be shortened or
1952 # the resource may be deleted prior to this time. For example, a user may
1953 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1954 # sending a graceful termination signal to the containers in the pod. After
1955 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1956 # to the container and after cleanup, remove the pod from the API. In the
1957 # presence of network partitions, this object may still exist after this
1958 # timestamp, until an administrator or automated process can determine the
1959 # resource is fully terminated.
1960 # If not set, graceful deletion of the object has not been requested.
1961 #
1962 # Populated by the system when a graceful deletion is requested.
1963 # Read-only.
1964 # More info:
1965 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1966 &quot;ownerReferences&quot;: [ # (Optional)
1967 #
1968 # Cloud Run fully managed: not supported
1969 #
1970 # Cloud Run for Anthos: supported
1971 #
1972 # List of objects that own this object. If ALL objects in the list have
1973 # been deleted, this object will be garbage collected.
1974 { # OwnerReference contains enough information to let you identify an owning
1975 # object. Currently, an owning object must be in the same namespace, so there
1976 # is no namespace field.
1977 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1978 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1979 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1980 # +optional
1981 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1982 # More info:
1983 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1984 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1985 # the owner cannot be deleted from the key-value store until this
1986 # reference is removed.
1987 # Defaults to false.
1988 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1989 # otherwise 422 (Unprocessable Entity) will be returned.
1990 # +optional
1991 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1992 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1993 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1994 },
1995 ],
1996 },
1997 &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).
1998 &quot;volumes&quot;: [
1999 { # Cloud Run fully managed: not supported
2000 #
2001 # Cloud Run for Anthos: supported
2002 #
2003 # Volume represents a named volume in a container.
2004 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
2005 #
2006 # Cloud Run for Anthos: supported
2007 #
2008 # Cloud Run for Anthos: supported
2009 #
2010 # Adapts a ConfigMap into a volume.
2011 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
2012 # volume as files using the keys in the Data field as the file names, unless
2013 # the items element is populated with specific mappings of keys to paths.
2014 &quot;optional&quot;: True or False, # (Optional)
2015 #
2016 # Cloud Run fully managed: not supported
2017 #
2018 # Cloud Run for Anthos: supported
2019 #
2020 # Specify whether the Secret or its keys must be defined.
2021 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2022 #
2023 # Cloud Run for Anthos: supported
2024 #
2025 # Name of the config.
2026 &quot;defaultMode&quot;: 42, # (Optional)
2027 #
2028 # Cloud Run fully managed: not supported
2029 #
2030 # Cloud Run for Anthos: supported
2031 #
2032 # Mode bits to use on created files by default. Must be a value between 0 and
2033 # 0777. Defaults to 0644. Directories within the path are not affected by
2034 # this setting. This might be in conflict with other options that affect the
2035 # file mode, like fsGroup, and the result can be other mode bits set.
2036 &quot;items&quot;: [ # (Optional)
2037 #
2038 # Cloud Run fully managed: not supported
2039 #
2040 # Cloud Run for Anthos: supported
2041 #
2042 # If unspecified, each key-value pair in the Data field of the referenced
2043 # Secret will be projected into the volume as a file whose name is the
2044 # key and content is the value. If specified, the listed keys will be
2045 # projected into the specified paths, and unlisted keys will not be
2046 # present. If a key is specified which is not present in the Secret,
2047 # the volume setup will error unless it is marked optional.
2048 { # Cloud Run fully managed: not supported
2049 #
2050 # Cloud Run for Anthos: supported
2051 #
2052 # Maps a string key to a path within a volume.
2053 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2054 #
2055 # Cloud Run for Anthos: supported
2056 #
2057 # The key to project.
2058 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2059 #
2060 # Cloud Run for Anthos: supported
2061 #
2062 # The relative path of the file to map the key to.
2063 # May not be an absolute path.
2064 # May not contain the path element &#x27;..&#x27;.
2065 # May not start with the string &#x27;..&#x27;.
2066 &quot;mode&quot;: 42, # (Optional)
2067 #
2068 # Cloud Run fully managed: not supported
2069 #
2070 # Cloud Run for Anthos: supported
2071 #
2072 # Mode bits to use on this file, must be a value between 0 and 0777. If not
2073 # specified, the volume defaultMode will be used. This might be in conflict
2074 # with other options that affect the file mode, like fsGroup, and the result
2075 # can be other mode bits set.
2076 },
2077 ],
2078 },
2079 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2080 #
2081 # Cloud Run for Anthos: supported
2082 #
2083 # Volume&#x27;s name.
2084 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
2085 #
2086 # Cloud Run for Anthos: supported
2087 #
2088 # Cloud Run for Anthos: supported
2089 #
2090 # The contents of the target Secret&#x27;s Data field will be presented in a volume
2091 # as files using the keys in the Data field as the file names.
2092 &quot;optional&quot;: True or False, # (Optional)
2093 #
2094 # Cloud Run fully managed: not supported
2095 #
2096 # Cloud Run for Anthos: supported
2097 #
2098 # Specify whether the Secret or its keys must be defined.
2099 &quot;defaultMode&quot;: 42, # (Optional)
2100 #
2101 # Cloud Run fully managed: not supported
2102 #
2103 # Cloud Run for Anthos: supported
2104 #
2105 # Mode bits to use on created files by default. Must be a value between 0 and
2106 # 0777. Defaults to 0644. Directories within the path are not affected by
2107 # this setting. This might be in conflict with other options that affect the
2108 # file mode, like fsGroup, and the result can be other mode bits set.
2109 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2110 #
2111 # Cloud Run for Anthos: supported
2112 #
2113 # Name of the secret in the container&#x27;s namespace to use.
2114 &quot;items&quot;: [ # (Optional)
2115 #
2116 # Cloud Run fully managed: not supported
2117 #
2118 # Cloud Run for Anthos: supported
2119 #
2120 # If unspecified, each key-value pair in the Data field of the referenced
2121 # Secret will be projected into the volume as a file whose name is the
2122 # key and content is the value. If specified, the listed keys will be
2123 # projected into the specified paths, and unlisted keys will not be
2124 # present. If a key is specified which is not present in the Secret,
2125 # the volume setup will error unless it is marked optional.
2126 { # Cloud Run fully managed: not supported
2127 #
2128 # Cloud Run for Anthos: supported
2129 #
2130 # Maps a string key to a path within a volume.
2131 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2132 #
2133 # Cloud Run for Anthos: supported
2134 #
2135 # The key to project.
2136 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2137 #
2138 # Cloud Run for Anthos: supported
2139 #
2140 # The relative path of the file to map the key to.
2141 # May not be an absolute path.
2142 # May not contain the path element &#x27;..&#x27;.
2143 # May not start with the string &#x27;..&#x27;.
2144 &quot;mode&quot;: 42, # (Optional)
2145 #
2146 # Cloud Run fully managed: not supported
2147 #
2148 # Cloud Run for Anthos: supported
2149 #
2150 # Mode bits to use on this file, must be a value between 0 and 0777. If not
2151 # specified, the volume defaultMode will be used. This might be in conflict
2152 # with other options that affect the file mode, like fsGroup, and the result
2153 # can be other mode bits set.
2154 },
2155 ],
2156 },
2157 },
2158 ],
2159 &quot;containerConcurrency&quot;: 42, # (Optional)
2160 #
2161 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
2162 # requests per container instance of the Revision.
2163 #
2164 # Cloud Run fully managed: supported, defaults to 80
2165 #
2166 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
2167 # to the application is not limited, and the system decides the
2168 # target concurrency for the autoscaler.
2169 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
2170 # responding to a request.
2171 # Not currently used by Cloud Run.
2172 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
2173 # of the service. The service account represents the identity of the
2174 # running revision, and determines what permissions the revision has. If
2175 # not provided, the revision will use the project&#x27;s default service account.
2176 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
2177 # for this Revision. In the context of a Revision, we disallow a number of
2178 # fields on this Container, including: name and lifecycle.
2179 # In Cloud Run, only a single container may be provided.
2180 # The runtime contract is documented here:
2181 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
2182 { # A single application container.
2183 # This specifies both the container to run, the command to run in the container
2184 # and the arguments to supply to it.
2185 # Note that additional arguments may be supplied by the system to the container
2186 # at runtime.
2187 &quot;volumeMounts&quot;: [ # (Optional)
2188 #
2189 # Cloud Run fully managed: not supported
2190 #
2191 # Cloud Run for Anthos: supported
2192 #
2193 # Pod volumes to mount into the container&#x27;s filesystem.
2194 { # Cloud Run fully managed: not supported
2195 #
2196 # Cloud Run for Anthos: supported
2197 #
2198 # VolumeMount describes a mounting of a Volume within a container.
2199 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2200 #
2201 # Cloud Run for Anthos: supported
2202 #
2203 # This must match the Name of a Volume.
2204 &quot;readOnly&quot;: True or False, # (Optional)
2205 #
2206 # Cloud Run fully managed: not supported
2207 #
2208 # Cloud Run for Anthos: supported
2209 #
2210 # Only true is accepted.
2211 # Defaults to true.
2212 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2213 #
2214 # Cloud Run for Anthos: supported
2215 #
2216 # Path within the container at which the volume should be mounted. Must
2217 # not contain &#x27;:&#x27;.
2218 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
2219 #
2220 # Cloud Run fully managed: not supported
2221 #
2222 # Cloud Run for Anthos: supported
2223 #
2224 # Path within the volume from which the container&#x27;s volume should be mounted.
2225 # Defaults to &quot;&quot; (volume&#x27;s root).
2226 },
2227 ],
2228 &quot;args&quot;: [ # (Optional)
2229 #
2230 # Cloud Run fully managed: supported
2231 #
2232 # Cloud Run for Anthos: supported
2233 #
2234 # Arguments to the entrypoint.
2235 # The docker image&#x27;s CMD is used if this is not provided.
2236 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
2237 # environment. If a variable cannot be resolved, the reference in the input
2238 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
2239 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
2240 # regardless of whether the variable exists or not.
2241 # More info:
2242 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
2243 &quot;A String&quot;,
2244 ],
2245 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
2246 #
2247 # Cloud Run fully managed: not supported
2248 #
2249 # Cloud Run for Anthos: supported
2250 #
2251 # Container&#x27;s working directory.
2252 # If not specified, the container runtime&#x27;s default will be used, which
2253 # might be configured in the container image.
2254 &quot;ports&quot;: [ # (Optional)
2255 #
2256 # List of ports to expose from the container. Only a single port can be
2257 # specified. The specified ports must be listening on all interfaces
2258 # (0.0.0.0) within the container to be accessible.
2259 #
2260 # If omitted, a port number will be chosen and passed to the container
2261 # through the PORT environment variable for the container to listen on.
2262 { # ContainerPort represents a network port in a single container.
2263 &quot;containerPort&quot;: 42, # (Optional)
2264 #
2265 # Port number the container listens on.
2266 # This must be a valid port number, 0 &lt; x &lt; 65536.
2267 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
2268 #
2269 # Cloud Run fully managed: not supported
2270 #
2271 # Cloud Run for Anthos: supported
2272 #
2273 # Protocol for port. Must be &quot;TCP&quot;.
2274 # Defaults to &quot;TCP&quot;.
2275 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2276 #
2277 # Cloud Run fully managed: not supported
2278 #
2279 # Cloud Run for Anthos: supported
2280 #
2281 # If specified, used to specify which protocol to use.
2282 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
2283 },
2284 ],
2285 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
2286 # Registry
2287 #
2288 # Cloud Run for Anthos: supported
2289 #
2290 # URL of the Container image.
2291 # More info: https://kubernetes.io/docs/concepts/containers/images
2292 &quot;envFrom&quot;: [ # (Optional)
2293 #
2294 # Cloud Run fully managed: not supported
2295 #
2296 # Cloud Run for Anthos: supported
2297 #
2298 # List of sources to populate environment variables in the container.
2299 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
2300 # will be reported as an event when the container is starting. When a key
2301 # exists in multiple sources, the value associated with the last source will
2302 # take precedence. Values defined by an Env with a duplicate key will take
2303 # precedence. Cannot be updated.
2304 { # Cloud Run fully managed: not supported
2305 #
2306 # Cloud Run for Anthos: supported
2307 #
2308 # EnvFromSource represents the source of a set of ConfigMaps
2309 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
2310 #
2311 # Cloud Run fully managed: not supported
2312 #
2313 # Cloud Run for Anthos: supported
2314 #
2315 # An optional identifier to prepend to each key in the ConfigMap. Must be a
2316 # C_IDENTIFIER.
2317 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2318 #
2319 # Cloud Run fully managed: not supported
2320 #
2321 # Cloud Run for Anthos: supported
2322 #
2323 # The ConfigMap to select from
2324 #
2325 # Cloud Run for Anthos: supported
2326 #
2327 # ConfigMapEnvSource selects a ConfigMap to populate the environment
2328 # variables with.
2329 #
2330 # The contents of the target ConfigMap&#x27;s Data field will represent the
2331 # key-value pairs as environment variables.
2332 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2333 # directly into the message. Use the &quot;name&quot; field instead.
2334 #
2335 # Cloud Run for Anthos: supported
2336 #
2337 # LocalObjectReference contains enough information to let you locate the
2338 # referenced object inside the same namespace.
2339 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2340 #
2341 # Cloud Run fully managed: not supported
2342 #
2343 # Cloud Run for Anthos: supported
2344 #
2345 # Name of the referent.
2346 # More info:
2347 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2348 },
2349 &quot;optional&quot;: True or False, # (Optional)
2350 #
2351 # Cloud Run fully managed: not supported
2352 #
2353 # Cloud Run for Anthos: supported
2354 #
2355 # Specify whether the ConfigMap must be defined
2356 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2357 #
2358 # Cloud Run for Anthos: supported
2359 #
2360 # The ConfigMap to select from.
2361 },
2362 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2363 #
2364 # Cloud Run fully managed: not supported
2365 #
2366 # Cloud Run for Anthos: supported
2367 #
2368 # The Secret to select from
2369 #
2370 # Cloud Run for Anthos: supported
2371 #
2372 # SecretEnvSource selects a Secret to populate the environment
2373 # variables with.
2374 #
2375 # The contents of the target Secret&#x27;s Data field will represent the
2376 # key-value pairs as environment variables.
2377 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2378 # directly into the message. Use the &quot;name&quot; field instead.
2379 #
2380 # Cloud Run for Anthos: supported
2381 #
2382 # LocalObjectReference contains enough information to let you locate the
2383 # referenced object inside the same namespace.
2384 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2385 #
2386 # Cloud Run fully managed: not supported
2387 #
2388 # Cloud Run for Anthos: supported
2389 #
2390 # Name of the referent.
2391 # More info:
2392 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2393 },
2394 &quot;optional&quot;: True or False, # (Optional)
2395 #
2396 # Cloud Run fully managed: not supported
2397 #
2398 # Cloud Run for Anthos: supported
2399 #
2400 # Specify whether the Secret must be defined
2401 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2402 #
2403 # Cloud Run for Anthos: supported
2404 #
2405 # The Secret to select from.
2406 },
2407 },
2408 ],
2409 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2410 #
2411 # Name of the container specified as a DNS_LABEL.
2412 &quot;command&quot;: [
2413 &quot;A String&quot;,
2414 ],
2415 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
2416 #
2417 # Cloud Run fully managed: not supported
2418 #
2419 # Cloud Run for Anthos: supported
2420 #
2421 # Indicate how the termination message should be populated. File will use the
2422 # contents of terminationMessagePath to populate the container status message
2423 # on both success and failure. FallbackToLogsOnError will use the last chunk
2424 # of container log output if the termination message file is empty and the
2425 # container exited with an error. The log output is limited to 2048 bytes or
2426 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
2427 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
2428 #
2429 # Cloud Run fully managed: not supported
2430 #
2431 # Cloud Run for Anthos: supported
2432 #
2433 # Security options the pod should run with.
2434 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
2435 # More info:
2436 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
2437 #
2438 # Cloud Run for Anthos: supported
2439 #
2440 # SecurityContext holds security configuration that will be applied to a
2441 # container. Some fields are present in both SecurityContext and
2442 # PodSecurityContext. When both are set, the values in SecurityContext take
2443 # precedence.
2444 &quot;runAsUser&quot;: 42, # (Optional)
2445 #
2446 # Cloud Run fully managed: not supported
2447 #
2448 # Cloud Run for Anthos: supported
2449 #
2450 # The UID to run the entrypoint of the container process.
2451 # Defaults to user specified in image metadata if unspecified.
2452 # May also be set in PodSecurityContext. If set in both SecurityContext and
2453 # PodSecurityContext, the value specified in SecurityContext takes
2454 # precedence.
2455 },
2456 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
2457 #
2458 # Cloud Run fully managed: not supported
2459 #
2460 # Cloud Run for Anthos: supported
2461 #
2462 # Periodic probe of container liveness.
2463 # Container will be restarted if the probe fails.
2464 # More info:
2465 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2466 #
2467 # Cloud Run for Anthos: supported
2468 #
2469 # Probe describes a health check to be performed against a container to
2470 # determine whether it is alive or ready to receive traffic.
2471 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
2472 #
2473 # Cloud Run fully managed: not supported
2474 #
2475 # Cloud Run for Anthos: supported
2476 #
2477 # HTTPGet specifies the http request to perform.
2478 #
2479 # A field inlined from the Handler message.
2480 #
2481 # Cloud Run for Anthos: supported
2482 #
2483 # HTTPGetAction describes an action based on HTTP Get requests.
2484 &quot;httpHeaders&quot;: [ # (Optional)
2485 #
2486 # Cloud Run fully managed: not supported
2487 #
2488 # Cloud Run for Anthos: supported
2489 #
2490 # Custom headers to set in the request. HTTP allows repeated headers.
2491 { # Cloud Run fully managed: not supported
2492 #
2493 # Cloud Run for Anthos: supported
2494 #
2495 # HTTPHeader describes a custom header to be used in HTTP probes
2496 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2497 #
2498 # Cloud Run for Anthos: supported
2499 #
2500 # The header field name
2501 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2502 #
2503 # Cloud Run for Anthos: supported
2504 #
2505 # The header field value
2506 },
2507 ],
2508 &quot;path&quot;: &quot;A String&quot;, # (Optional)
2509 #
2510 # Cloud Run fully managed: not supported
2511 #
2512 # Cloud Run for Anthos: supported
2513 #
2514 # Path to access on the HTTP server.
2515 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2516 #
2517 # Cloud Run fully managed: not supported
2518 #
2519 # Cloud Run for Anthos: supported
2520 #
2521 # Host name to connect to, defaults to the pod IP. You probably want to set
2522 # &quot;Host&quot; in httpHeaders instead.
2523 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
2524 #
2525 # Cloud Run fully managed: not supported
2526 #
2527 # Cloud Run for Anthos: supported
2528 #
2529 # Scheme to use for connecting to the host.
2530 # Defaults to HTTP.
2531 },
2532 &quot;failureThreshold&quot;: 42, # (Optional)
2533 #
2534 # Cloud Run fully managed: not supported
2535 #
2536 # Cloud Run for Anthos: supported
2537 #
2538 # Minimum consecutive failures for the probe to be considered failed after
2539 # having succeeded. Defaults to 3. Minimum value is 1.
2540 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
2541 #
2542 # Cloud Run fully managed: not supported
2543 #
2544 # Cloud Run for Anthos: supported
2545 #
2546 # One and only one of the following should be specified.
2547 # Exec specifies the action to take.
2548 #
2549 # A field inlined from the Handler message.
2550 #
2551 # Cloud Run for Anthos: supported
2552 #
2553 # ExecAction describes a &quot;run in container&quot; action.
2554 &quot;command&quot;: &quot;A String&quot;, # (Optional)
2555 #
2556 # Cloud Run fully managed: not supported
2557 #
2558 # Cloud Run for Anthos: supported
2559 #
2560 # Command is the command line to execute inside the container, the working
2561 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
2562 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
2563 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
2564 # explicitly call out to that shell. Exit status of 0 is treated as
2565 # live/healthy and non-zero is unhealthy.
2566 },
2567 &quot;initialDelaySeconds&quot;: 42, # (Optional)
2568 #
2569 # Cloud Run fully managed: not supported
2570 #
2571 # Cloud Run for Anthos: supported
2572 #
2573 # Number of seconds after the container has started before liveness probes
2574 # are initiated. More info:
2575 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2576 &quot;timeoutSeconds&quot;: 42, # (Optional)
2577 #
2578 # Cloud Run fully managed: not supported
2579 #
2580 # Cloud Run for Anthos: supported
2581 #
2582 # Number of seconds after which the probe times out.
2583 # Defaults to 1 second. Minimum value is 1.
2584 # More info:
2585 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2586 &quot;successThreshold&quot;: 42, # (Optional)
2587 #
2588 # Cloud Run fully managed: not supported
2589 #
2590 # Cloud Run for Anthos: supported
2591 #
2592 # Minimum consecutive successes for the probe to be considered successful
2593 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2594 # is 1.
2595 &quot;periodSeconds&quot;: 42, # (Optional)
2596 #
2597 # Cloud Run fully managed: not supported
2598 #
2599 # Cloud Run for Anthos: supported
2600 #
2601 # How often (in seconds) to perform the probe.
2602 # Default to 10 seconds. Minimum value is 1.
2603 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
2604 #
2605 # Cloud Run fully managed: not supported
2606 #
2607 # Cloud Run for Anthos: supported
2608 #
2609 # TCPSocket specifies an action involving a TCP port.
2610 # TCP hooks not yet supported
2611 #
2612 # A field inlined from the Handler message.
2613 #
2614 # Cloud Run for Anthos: supported
2615 #
2616 # TCPSocketAction describes an action based on opening a socket
2617 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
2618 #
2619 # Cloud Run for Anthos: supported
2620 #
2621 # Number or name of the port to access on the container.
2622 # Number must be in the range 1 to 65535.
2623 # Name must be an IANA_SVC_NAME.
2624 #
2625 # This field is currently limited to integer types only because of proto&#x27;s
2626 # inability to properly support the IntOrString golang type.
2627 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2628 #
2629 # Cloud Run fully managed: not supported
2630 #
2631 # Cloud Run for Anthos: supported
2632 #
2633 # Optional: Host name to connect to, defaults to the pod IP.
2634 },
2635 },
2636 &quot;env&quot;: [ # (Optional)
2637 #
2638 # Cloud Run fully managed: supported
2639 #
2640 # Cloud Run for Anthos: supported
2641 #
2642 # List of environment variables to set in the container.
2643 { # EnvVar represents an environment variable present in a Container.
2644 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
2645 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
2646 #
2647 # Cloud Run fully managed: not supported
2648 #
2649 # Cloud Run for Anthos: supported
2650 #
2651 # Source for the environment variable&#x27;s value. Cannot be used if value is not
2652 # empty.
2653 #
2654 # Cloud Run for Anthos: supported
2655 #
2656 # EnvVarSource represents a source for the value of an EnvVar.
2657 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2658 #
2659 # Cloud Run fully managed: not supported
2660 #
2661 # Cloud Run for Anthos: supported
2662 #
2663 # Selects a key of a secret in the pod&#x27;s namespace
2664 #
2665 # Cloud Run for Anthos: supported
2666 #
2667 # SecretKeySelector selects a key of a Secret.
2668 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2669 #
2670 # Cloud Run for Anthos: supported
2671 #
2672 # The key of the secret to select from. Must be a valid secret key.
2673 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2674 #
2675 # Cloud Run for Anthos: supported
2676 #
2677 # The name of the secret in the pod&#x27;s namespace to select from.
2678 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2679 # directly into the message. Use the &quot;name&quot; field instead.
2680 #
2681 # Cloud Run for Anthos: supported
2682 #
2683 # LocalObjectReference contains enough information to let you locate the
2684 # referenced object inside the same namespace.
2685 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2686 #
2687 # Cloud Run fully managed: not supported
2688 #
2689 # Cloud Run for Anthos: supported
2690 #
2691 # Name of the referent.
2692 # More info:
2693 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2694 },
2695 &quot;optional&quot;: True or False, # (Optional)
2696 #
2697 # Cloud Run fully managed: not supported
2698 #
2699 # Cloud Run for Anthos: supported
2700 #
2701 # Specify whether the Secret or its key must be defined
2702 },
2703 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
2704 #
2705 # Cloud Run fully managed: not supported
2706 #
2707 # Cloud Run for Anthos: supported
2708 #
2709 # Selects a key of a ConfigMap.
2710 #
2711 # Cloud Run for Anthos: supported
2712 #
2713 # Selects a key from a ConfigMap.
2714 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
2715 # directly into the message. Use the &quot;name&quot; field instead.
2716 #
2717 # Cloud Run for Anthos: supported
2718 #
2719 # LocalObjectReference contains enough information to let you locate the
2720 # referenced object inside the same namespace.
2721 &quot;name&quot;: &quot;A String&quot;, # (Optional)
2722 #
2723 # Cloud Run fully managed: not supported
2724 #
2725 # Cloud Run for Anthos: supported
2726 #
2727 # Name of the referent.
2728 # More info:
2729 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2730 },
2731 &quot;optional&quot;: True or False, # (Optional)
2732 #
2733 # Cloud Run fully managed: not supported
2734 #
2735 # Cloud Run for Anthos: supported
2736 #
2737 # Specify whether the ConfigMap or its key must be defined
2738 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2739 #
2740 # Cloud Run for Anthos: supported
2741 #
2742 # The key to select.
2743 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2744 #
2745 # Cloud Run for Anthos: supported
2746 #
2747 # The ConfigMap to select from.
2748 },
2749 },
2750 &quot;value&quot;: &quot;A String&quot;, # (Optional)
2751 #
2752 # Variable references $(VAR_NAME) are expanded
2753 # using the previous defined environment variables in the container and
2754 # any route environment variables. If a variable cannot be resolved,
2755 # the reference in the input string will be unchanged. The $(VAR_NAME)
2756 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
2757 # references will never be expanded, regardless of whether the variable
2758 # exists or not.
2759 # Defaults to &quot;&quot;.
2760 },
2761 ],
2762 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
2763 #
2764 # Cloud Run fully managed: supported
2765 #
2766 # Cloud Run for Anthos: supported
2767 #
2768 # Compute Resources required by this container.
2769 # More info:
2770 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
2771 &quot;limits&quot;: { # (Optional)
2772 #
2773 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2774 # supported value for CPU is &#x27;1&#x27;.
2775 #
2776 # Cloud Run for Anthos: supported
2777 #
2778 # Limits describes the maximum amount of compute resources allowed.
2779 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
2780 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
2781 &quot;a_key&quot;: &quot;A String&quot;,
2782 },
2783 &quot;requests&quot;: { # (Optional)
2784 #
2785 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
2786 # supported value for CPU is &#x27;1&#x27;.
2787 #
2788 # Cloud Run for Anthos: supported
2789 #
2790 # Requests describes the minimum amount of compute resources required.
2791 # If Requests is omitted for a container, it defaults to Limits if that is
2792 # explicitly specified, otherwise to an implementation-defined value.
2793 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
2794 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
2795 &quot;a_key&quot;: &quot;A String&quot;,
2796 },
2797 },
2798 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
2799 #
2800 # Cloud Run fully managed: not supported
2801 #
2802 # Cloud Run for Anthos: supported
2803 #
2804 # Periodic probe of container service readiness.
2805 # Container will be removed from service endpoints if the probe fails.
2806 # More info:
2807 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2808 #
2809 # Cloud Run for Anthos: supported
2810 #
2811 # Probe describes a health check to be performed against a container to
2812 # determine whether it is alive or ready to receive traffic.
2813 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
2814 #
2815 # Cloud Run fully managed: not supported
2816 #
2817 # Cloud Run for Anthos: supported
2818 #
2819 # HTTPGet specifies the http request to perform.
2820 #
2821 # A field inlined from the Handler message.
2822 #
2823 # Cloud Run for Anthos: supported
2824 #
2825 # HTTPGetAction describes an action based on HTTP Get requests.
2826 &quot;httpHeaders&quot;: [ # (Optional)
2827 #
2828 # Cloud Run fully managed: not supported
2829 #
2830 # Cloud Run for Anthos: supported
2831 #
2832 # Custom headers to set in the request. HTTP allows repeated headers.
2833 { # Cloud Run fully managed: not supported
2834 #
2835 # Cloud Run for Anthos: supported
2836 #
2837 # HTTPHeader describes a custom header to be used in HTTP probes
2838 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2839 #
2840 # Cloud Run for Anthos: supported
2841 #
2842 # The header field name
2843 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
2844 #
2845 # Cloud Run for Anthos: supported
2846 #
2847 # The header field value
2848 },
2849 ],
2850 &quot;path&quot;: &quot;A String&quot;, # (Optional)
2851 #
2852 # Cloud Run fully managed: not supported
2853 #
2854 # Cloud Run for Anthos: supported
2855 #
2856 # Path to access on the HTTP server.
2857 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2858 #
2859 # Cloud Run fully managed: not supported
2860 #
2861 # Cloud Run for Anthos: supported
2862 #
2863 # Host name to connect to, defaults to the pod IP. You probably want to set
2864 # &quot;Host&quot; in httpHeaders instead.
2865 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
2866 #
2867 # Cloud Run fully managed: not supported
2868 #
2869 # Cloud Run for Anthos: supported
2870 #
2871 # Scheme to use for connecting to the host.
2872 # Defaults to HTTP.
2873 },
2874 &quot;failureThreshold&quot;: 42, # (Optional)
2875 #
2876 # Cloud Run fully managed: not supported
2877 #
2878 # Cloud Run for Anthos: supported
2879 #
2880 # Minimum consecutive failures for the probe to be considered failed after
2881 # having succeeded. Defaults to 3. Minimum value is 1.
2882 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
2883 #
2884 # Cloud Run fully managed: not supported
2885 #
2886 # Cloud Run for Anthos: supported
2887 #
2888 # One and only one of the following should be specified.
2889 # Exec specifies the action to take.
2890 #
2891 # A field inlined from the Handler message.
2892 #
2893 # Cloud Run for Anthos: supported
2894 #
2895 # ExecAction describes a &quot;run in container&quot; action.
2896 &quot;command&quot;: &quot;A String&quot;, # (Optional)
2897 #
2898 # Cloud Run fully managed: not supported
2899 #
2900 # Cloud Run for Anthos: supported
2901 #
2902 # Command is the command line to execute inside the container, the working
2903 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
2904 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
2905 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
2906 # explicitly call out to that shell. Exit status of 0 is treated as
2907 # live/healthy and non-zero is unhealthy.
2908 },
2909 &quot;initialDelaySeconds&quot;: 42, # (Optional)
2910 #
2911 # Cloud Run fully managed: not supported
2912 #
2913 # Cloud Run for Anthos: supported
2914 #
2915 # Number of seconds after the container has started before liveness probes
2916 # are initiated. More info:
2917 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2918 &quot;timeoutSeconds&quot;: 42, # (Optional)
2919 #
2920 # Cloud Run fully managed: not supported
2921 #
2922 # Cloud Run for Anthos: supported
2923 #
2924 # Number of seconds after which the probe times out.
2925 # Defaults to 1 second. Minimum value is 1.
2926 # More info:
2927 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2928 &quot;successThreshold&quot;: 42, # (Optional)
2929 #
2930 # Cloud Run fully managed: not supported
2931 #
2932 # Cloud Run for Anthos: supported
2933 #
2934 # Minimum consecutive successes for the probe to be considered successful
2935 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2936 # is 1.
2937 &quot;periodSeconds&quot;: 42, # (Optional)
2938 #
2939 # Cloud Run fully managed: not supported
2940 #
2941 # Cloud Run for Anthos: supported
2942 #
2943 # How often (in seconds) to perform the probe.
2944 # Default to 10 seconds. Minimum value is 1.
2945 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
2946 #
2947 # Cloud Run fully managed: not supported
2948 #
2949 # Cloud Run for Anthos: supported
2950 #
2951 # TCPSocket specifies an action involving a TCP port.
2952 # TCP hooks not yet supported
2953 #
2954 # A field inlined from the Handler message.
2955 #
2956 # Cloud Run for Anthos: supported
2957 #
2958 # TCPSocketAction describes an action based on opening a socket
2959 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
2960 #
2961 # Cloud Run for Anthos: supported
2962 #
2963 # Number or name of the port to access on the container.
2964 # Number must be in the range 1 to 65535.
2965 # Name must be an IANA_SVC_NAME.
2966 #
2967 # This field is currently limited to integer types only because of proto&#x27;s
2968 # inability to properly support the IntOrString golang type.
2969 &quot;host&quot;: &quot;A String&quot;, # (Optional)
2970 #
2971 # Cloud Run fully managed: not supported
2972 #
2973 # Cloud Run for Anthos: supported
2974 #
2975 # Optional: Host name to connect to, defaults to the pod IP.
2976 },
2977 },
2978 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
2979 #
2980 # Cloud Run fully managed: not supported
2981 #
2982 # Cloud Run for Anthos: supported
2983 #
2984 # Image pull policy.
2985 # One of Always, Never, IfNotPresent.
2986 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
2987 # More info:
2988 # https://kubernetes.io/docs/concepts/containers/images#updating-images
2989 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
2990 #
2991 # Cloud Run fully managed: not supported
2992 #
2993 # Cloud Run for Anthos: supported
2994 #
2995 # Path at which the file to which the container&#x27;s termination
2996 # message will be written is mounted into the container&#x27;s filesystem. Message
2997 # written is intended to be brief final status, such as an assertion failure
2998 # message. Will be truncated by the node if greater than 4096 bytes. The
2999 # total message length across all containers will be limited to 12kb.
3000 # Defaults to /dev/termination-log.
3001 },
3002 ],
3003 },
3004 },
3005 },
3006 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
3007 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
3008 # and annotations.
3009 # persisted resources must have, which includes all objects users must create.
3010 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
3011 #
3012 # CreationTimestamp is a timestamp representing the server time when this
3013 # object was created. It is not guaranteed to be set in happens-before order
3014 # across separate operations. Clients may not set this value. It is
3015 # represented in RFC3339 form and is in UTC.
3016 #
3017 # Populated by the system.
3018 # Read-only.
3019 # Null for lists.
3020 # More info:
3021 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
3022 &quot;labels&quot;: { # (Optional)
3023 #
3024 # Map of string keys and values that can be used to organize and categorize
3025 # (scope and select) objects. May match selectors of replication controllers
3026 # and routes.
3027 # More info: http://kubernetes.io/docs/user-guide/labels
3028 &quot;a_key&quot;: &quot;A String&quot;,
3029 },
3030 &quot;generation&quot;: 42, # (Optional)
3031 #
3032 # A sequence number representing a specific generation of the desired state.
3033 # Populated by the system. Read-only.
3034 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
3035 #
3036 # An opaque value that represents the internal version of this object that
3037 # can be used by clients to determine when objects have changed. May be used
3038 # for optimistic concurrency, change detection, and the watch operation on a
3039 # resource or set of resources. Clients must treat these values as opaque and
3040 # passed unmodified back to the server. They may only be valid for a
3041 # particular resource or set of resources.
3042 #
3043 # Populated by the system.
3044 # Read-only.
3045 # Value must be treated as opaque by clients and .
3046 # More info:
3047 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
3048 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
3049 #
3050 # SelfLink is a URL representing this object.
3051 # Populated by the system.
3052 # Read-only.
3053 # string selfLink = 4;
3054 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
3055 #
3056 # UID is the unique in time and space value for this object. It is typically
3057 # generated by the server on successful creation of a resource and is not
3058 # allowed to change on PUT operations.
3059 #
3060 # Populated by the system.
3061 # Read-only.
3062 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3063 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
3064 # Cloud Run region. In Cloud Run the namespace must be equal to either the
3065 # project ID or project number.
3066 &quot;annotations&quot;: { # (Optional)
3067 #
3068 # Annotations is an unstructured key value map stored with a resource that
3069 # may be set by external tools to store and retrieve arbitrary metadata. They
3070 # are not queryable and should be preserved when modifying objects. More
3071 # info: http://kubernetes.io/docs/user-guide/annotations
3072 &quot;a_key&quot;: &quot;A String&quot;,
3073 },
3074 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
3075 #
3076 # Cloud Run fully managed: not supported
3077 #
3078 # Cloud Run for Anthos: supported
3079 #
3080 # GenerateName is an optional prefix, used by the server, to generate a
3081 # unique name ONLY IF the Name field has not been provided. If this field is
3082 # used, the name returned to the client will be different than the name
3083 # passed. This value will also be combined with a unique suffix. The provided
3084 # value has the same validation rules as the Name field, and may be truncated
3085 # by the length of the suffix required to make the value unique on the
3086 # server.
3087 #
3088 # If this field is specified and the generated name exists, the server will
3089 # NOT return a 409 - instead, it will either return 201 Created or 500 with
3090 # Reason ServerTimeout indicating a unique name could not be found in the
3091 # time allotted, and the client should retry (optionally after the time
3092 # indicated in the Retry-After header).
3093 #
3094 # Applied only if Name is not specified.
3095 # More info:
3096 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
3097 # string generateName = 2;
3098 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
3099 # Is required when creating
3100 # resources, although some resources may allow a client to request the
3101 # generation of an appropriate name automatically. Name is primarily intended
3102 # for creation idempotence and configuration definition. Cannot be updated.
3103 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
3104 # +optional
3105 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
3106 #
3107 # Cloud Run fully managed: not supported
3108 #
3109 # Cloud Run for Anthos: supported
3110 #
3111 # Number of seconds allowed for this object to gracefully terminate before
3112 # it will be removed from the system. Only set when deletionTimestamp is also
3113 # set. May only be shortened. Read-only.
3114 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
3115 #
3116 # Cloud Run fully managed: not supported
3117 #
3118 # Cloud Run for Anthos: supported
3119 #
3120 # The name of the cluster which the object belongs to.
3121 # This is used to distinguish resources with same name and namespace in
3122 # different clusters. This field is not set anywhere right now and apiserver
3123 # is going to ignore it if set in create or update request.
3124 &quot;finalizers&quot;: [ # (Optional)
3125 #
3126 # Cloud Run fully managed: not supported
3127 #
3128 # Cloud Run for Anthos: supported
3129 #
3130 # Must be empty before the object is deleted from the registry. Each entry
3131 # is an identifier for the responsible component that will remove the entry
3132 # from the list. If the deletionTimestamp of the object is non-nil, entries
3133 # in this list can only be removed.
3134 # +patchStrategy=merge
3135 &quot;A String&quot;,
3136 ],
3137 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
3138 #
3139 # Cloud Run fully managed: not supported
3140 #
3141 # Cloud Run for Anthos: supported
3142 #
3143 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
3144 # deleted. This field is set by the server when a graceful deletion is
3145 # requested by the user, and is not directly settable by a client. The
3146 # resource is expected to be deleted (no longer visible from resource lists,
3147 # and not reachable by name) after the time in this field, once the
3148 # finalizers list is empty. As long as the finalizers list contains items,
3149 # deletion is blocked. Once the deletionTimestamp is set, this value may not
3150 # be unset or be set further into the future, although it may be shortened or
3151 # the resource may be deleted prior to this time. For example, a user may
3152 # request that a pod is deleted in 30 seconds. The Kubelet will react by
3153 # sending a graceful termination signal to the containers in the pod. After
3154 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
3155 # to the container and after cleanup, remove the pod from the API. In the
3156 # presence of network partitions, this object may still exist after this
3157 # timestamp, until an administrator or automated process can determine the
3158 # resource is fully terminated.
3159 # If not set, graceful deletion of the object has not been requested.
3160 #
3161 # Populated by the system when a graceful deletion is requested.
3162 # Read-only.
3163 # More info:
3164 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
3165 &quot;ownerReferences&quot;: [ # (Optional)
3166 #
3167 # Cloud Run fully managed: not supported
3168 #
3169 # Cloud Run for Anthos: supported
3170 #
3171 # List of objects that own this object. If ALL objects in the list have
3172 # been deleted, this object will be garbage collected.
3173 { # OwnerReference contains enough information to let you identify an owning
3174 # object. Currently, an owning object must be in the same namespace, so there
3175 # is no namespace field.
3176 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
3177 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3178 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
3179 # +optional
3180 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
3181 # More info:
3182 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3183 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
3184 # the owner cannot be deleted from the key-value store until this
3185 # reference is removed.
3186 # Defaults to false.
3187 # To set this field, a user needs &quot;delete&quot; permission of the owner,
3188 # otherwise 422 (Unprocessable Entity) will be returned.
3189 # +optional
3190 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
3191 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
3192 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
3193 },
3194 ],
3195 },
3196 }</pre>
3197</div>
3198
3199<div class="method">
3200 <code class="details" id="delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</code>
3201 <pre>Delete a service.
3202This will cause the Service to stop serving traffic and will delete the
3203child entities like Routes, Configurations and Revisions.
3204
3205Args:
3206 name: string, The name of the service to delete.
3207For Cloud Run (fully managed), replace {namespace_id} with the project ID
3208or number. (required)
3209 apiVersion: string, Cloud Run currently ignores this parameter.
3210 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores
3211this setting, and deletes in the background. Please see
3212kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
3213more information.
3214 kind: string, Cloud Run currently ignores this parameter.
3215 x__xgafv: string, V1 error format.
3216 Allowed values
3217 1 - v1 error format
3218 2 - v2 error format
3219
3220Returns:
3221 An object of the form:
3222
3223 { # Status is a return value for calls that don&#x27;t return other objects
3224 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Standard list metadata.
3225 # More info:
3226 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3227 # +optional
3228 # lists and various status objects. A resource may have only one of
3229 # {ObjectMeta, ListMeta}.
3230 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
3231 # can be used by clients to determine when objects have changed. Value must
3232 # be treated as opaque by clients and passed unmodified back to the server.
3233 # Populated by the system.
3234 # Read-only.
3235 # More info:
3236 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
3237 # +optional
3238 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
3239 # returned, and indicates that the server has more data available. The value
3240 # is opaque and may be used to issue another request to the endpoint that
3241 # served this list to retrieve the next set of available objects. Continuing
3242 # a list may not be possible if the server configuration has changed or more
3243 # than a few minutes have passed. The resourceVersion field returned when
3244 # using this continue value will be identical to the value in the first
3245 # response.
3246 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
3247 # Populated by the system.
3248 # Read-only.
3249 # +optional
3250 },
3251 &quot;code&quot;: 42, # Suggested HTTP return code for this status, 0 if not set.
3252 # +optional
3253 &quot;message&quot;: &quot;A String&quot;, # A human-readable description of the status of this operation.
3254 # +optional
3255 &quot;status&quot;: &quot;A String&quot;, # Status of the operation.
3256 # One of: &quot;Success&quot; or &quot;Failure&quot;.
3257 # More info:
3258 # https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
3259 # +optional
3260 &quot;details&quot;: { # StatusDetails is a set of additional properties that MAY be set by the # Extended data associated with the reason. Each reason may define its
3261 # own extended details. This field is optional and the data returned
3262 # is not guaranteed to conform to any schema except that defined by
3263 # the reason type.
3264 # +optional
3265 # server to provide additional information about a response. The Reason
3266 # field of a Status object defines what attributes will be set. Clients
3267 # must ignore fields that do not match the defined type of each attribute,
3268 # and should assume that any attribute may be empty, invalid, or under
3269 # defined.
3270 &quot;name&quot;: &quot;A String&quot;, # The name attribute of the resource associated with the status StatusReason
3271 # (when there is a single name which can be described).
3272 # +optional
3273 &quot;uid&quot;: &quot;A String&quot;, # UID of the resource.
3274 # (when there is a single resource which can be described).
3275 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3276 # +optional
3277 &quot;group&quot;: &quot;A String&quot;, # The group attribute of the resource associated with the status
3278 # StatusReason. +optional
3279 &quot;causes&quot;: [ # The Causes array includes more details associated with the StatusReason
3280 # failure. Not all StatusReasons may provide detailed causes.
3281 # +optional
3282 { # StatusCause provides more information about an api.Status failure, including
3283 # cases when multiple errors are encountered.
3284 &quot;message&quot;: &quot;A String&quot;, # A human-readable description of the cause of the error. This field may be
3285 # presented as-is to a reader.
3286 # +optional
3287 &quot;reason&quot;: &quot;A String&quot;, # A machine-readable description of the cause of the error. If this value is
3288 # empty there is no information available.
3289 # +optional
3290 &quot;field&quot;: &quot;A String&quot;, # The field of the resource that has caused this error, as named by its JSON
3291 # serialization. May include dot and postfix notation for nested attributes.
3292 # Arrays are zero-indexed. Fields may appear more than once in an array of
3293 # causes due to fields having multiple errors.
3294 # Optional.
3295 #
3296 # Examples:
3297 # &quot;name&quot; - the field &quot;name&quot; on the current resource
3298 # &quot;items[0].name&quot; - the field &quot;name&quot; on the first array entry in &quot;items&quot;
3299 # +optional
3300 },
3301 ],
3302 &quot;kind&quot;: &quot;A String&quot;, # The kind attribute of the resource associated with the status StatusReason.
3303 # On some operations may differ from the requested resource Kind.
3304 # More info:
3305 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3306 # +optional
3307 &quot;retryAfterSeconds&quot;: 42, # If specified, the time in seconds before the operation should be retried.
3308 # Some errors may indicate the client must take an alternate action - for
3309 # those errors this field may indicate how long to wait before taking the
3310 # alternate action. +optional
3311 },
3312 &quot;reason&quot;: &quot;A String&quot;, # A machine-readable description of why this operation is in the
3313 # &quot;Failure&quot; status. If this value is empty there
3314 # is no information available. A Reason clarifies an HTTP status
3315 # code but does not override it.
3316 # +optional
3317 }</pre>
3318</div>
3319
3320<div class="method">
3321 <code class="details" id="get">get(name, x__xgafv=None)</code>
3322 <pre>Get information about a service.
3323
3324Args:
3325 name: string, The name of the service to retrieve.
3326For Cloud Run (fully managed), replace {namespace_id} with the project ID
3327or number. (required)
3328 x__xgafv: string, V1 error format.
3329 Allowed values
3330 1 - v1 error format
3331 2 - v2 error format
3332
3333Returns:
3334 An object of the form:
3335
3336 { # Service acts as a top-level container that manages a set of Routes and
3337 # Configurations which implement a network service. Service exists to provide a
3338 # singular abstraction which can be access controlled, reasoned about, and
3339 # which encapsulates software lifecycle decisions such as rollout policy and
3340 # team resource ownership. Service acts only as an orchestrator of the
3341 # underlying Routes and Configurations (much as a kubernetes Deployment
3342 # orchestrates ReplicaSets).
3343 #
3344 # The Service&#x27;s controller will track the statuses of its owned Configuration
3345 # and Route, reflecting their statuses and conditions as its own.
3346 #
3347 # See also:
3348 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
3349 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
3350 # controller).
3351 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
3352 # LatestCreatedRevisionName is the last revision that was created from this
3353 # Service&#x27;s Configuration. It might not be ready yet, for that use
3354 # LatestReadyRevisionName.
3355 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
3356 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
3357 # state of the world.
3358 # Service-specific conditions include:
3359 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
3360 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
3361 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
3362 # ready.
3363 { # Condition defines a generic condition for a Resource
3364 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
3365 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
3366 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
3367 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
3368 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
3369 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
3370 # See also:
3371 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
3372 # Types common to all resources include:
3373 # * &quot;Ready&quot;: True when the Resource is ready.
3374 },
3375 ],
3376 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
3377 # Similar to url, information on where the service is available on HTTP.
3378 &quot;url&quot;: &quot;A String&quot;,
3379 },
3380 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
3381 # was last processed by the controller.
3382 #
3383 # Clients polling for completed reconciliation should poll until
3384 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
3385 # is True or False.
3386 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
3387 # URL holds the url that will distribute traffic over the provided traffic
3388 # targets. It generally has the form
3389 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
3390 &quot;traffic&quot;: [ # From RouteStatus.
3391 # Traffic holds the configured traffic distribution.
3392 # These entries will always contain RevisionName references.
3393 # When ConfigurationName appears in the spec, this will hold the
3394 # LatestReadyRevisionName that we last observed.
3395 { # TrafficTarget holds a single entry of the routing table for a Route.
3396 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
3397 # is displayed in status, and is disallowed on spec. URL must contain a
3398 # scheme (e.g. http://) and a hostname, but may not contain anything else
3399 # (e.g. basic auth, url path, etc.
3400 #
3401 # Not currently supported in Cloud Run.
3402 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
3403 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
3404 # of the referenced configuration changes, we will automatically migrate
3405 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
3406 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
3407 # with RevisionName.
3408 #
3409 # Cloud Run currently supports a single ConfigurationName.
3410 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
3411 # This defaults to zero if unspecified.
3412 #
3413 # Cloud Run currently requires 100 percent for a single ConfigurationName
3414 # TrafficTarget entry.
3415 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
3416 # traffic. This is mutually exclusive with ConfigurationName.
3417 #
3418 # Providing RevisionName in spec is not currently supported by Cloud Run.
3419 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
3420 # ready Revision of the Configuration should be used for this traffic
3421 # target. When provided LatestRevision must be true if RevisionName is
3422 # empty; it must be false when RevisionName is non-empty.
3423 #
3424 # +optional
3425 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
3426 # this target exclusively.
3427 #
3428 # Not currently supported in Cloud Run.
3429 # +optional
3430 },
3431 ],
3432 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
3433 # LatestReadyRevisionName holds the name of the latest Revision stamped out
3434 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
3435 # &quot;True&quot;.
3436 },
3437 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
3438 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
3439 # is used to manipulate the underlying Route and Configuration(s).
3440 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
3441 # Revisions and Configurations.
3442 { # TrafficTarget holds a single entry of the routing table for a Route.
3443 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
3444 # is displayed in status, and is disallowed on spec. URL must contain a
3445 # scheme (e.g. http://) and a hostname, but may not contain anything else
3446 # (e.g. basic auth, url path, etc.
3447 #
3448 # Not currently supported in Cloud Run.
3449 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
3450 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
3451 # of the referenced configuration changes, we will automatically migrate
3452 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
3453 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
3454 # with RevisionName.
3455 #
3456 # Cloud Run currently supports a single ConfigurationName.
3457 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
3458 # This defaults to zero if unspecified.
3459 #
3460 # Cloud Run currently requires 100 percent for a single ConfigurationName
3461 # TrafficTarget entry.
3462 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
3463 # traffic. This is mutually exclusive with ConfigurationName.
3464 #
3465 # Providing RevisionName in spec is not currently supported by Cloud Run.
3466 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
3467 # ready Revision of the Configuration should be used for this traffic
3468 # target. When provided LatestRevision must be true if RevisionName is
3469 # empty; it must be false when RevisionName is non-empty.
3470 #
3471 # +optional
3472 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
3473 # this target exclusively.
3474 #
3475 # Not currently supported in Cloud Run.
3476 # +optional
3477 },
3478 ],
3479 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
3480 # be stamped out.
3481 # from a template. Based on:
3482 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
3483 &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
3484 # will be generated by the Configuration.
3485 # To set minimum instances for this revision, use the
3486 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
3487 # To set maximum instances for this revision, use the
3488 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
3489 # To set Cloud SQL connections for the revision, use the
3490 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
3491 # persisted resources must have, which includes all objects users must create.
3492 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
3493 #
3494 # CreationTimestamp is a timestamp representing the server time when this
3495 # object was created. It is not guaranteed to be set in happens-before order
3496 # across separate operations. Clients may not set this value. It is
3497 # represented in RFC3339 form and is in UTC.
3498 #
3499 # Populated by the system.
3500 # Read-only.
3501 # Null for lists.
3502 # More info:
3503 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
3504 &quot;labels&quot;: { # (Optional)
3505 #
3506 # Map of string keys and values that can be used to organize and categorize
3507 # (scope and select) objects. May match selectors of replication controllers
3508 # and routes.
3509 # More info: http://kubernetes.io/docs/user-guide/labels
3510 &quot;a_key&quot;: &quot;A String&quot;,
3511 },
3512 &quot;generation&quot;: 42, # (Optional)
3513 #
3514 # A sequence number representing a specific generation of the desired state.
3515 # Populated by the system. Read-only.
3516 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
3517 #
3518 # An opaque value that represents the internal version of this object that
3519 # can be used by clients to determine when objects have changed. May be used
3520 # for optimistic concurrency, change detection, and the watch operation on a
3521 # resource or set of resources. Clients must treat these values as opaque and
3522 # passed unmodified back to the server. They may only be valid for a
3523 # particular resource or set of resources.
3524 #
3525 # Populated by the system.
3526 # Read-only.
3527 # Value must be treated as opaque by clients and .
3528 # More info:
3529 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
3530 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
3531 #
3532 # SelfLink is a URL representing this object.
3533 # Populated by the system.
3534 # Read-only.
3535 # string selfLink = 4;
3536 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
3537 #
3538 # UID is the unique in time and space value for this object. It is typically
3539 # generated by the server on successful creation of a resource and is not
3540 # allowed to change on PUT operations.
3541 #
3542 # Populated by the system.
3543 # Read-only.
3544 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3545 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
3546 # Cloud Run region. In Cloud Run the namespace must be equal to either the
3547 # project ID or project number.
3548 &quot;annotations&quot;: { # (Optional)
3549 #
3550 # Annotations is an unstructured key value map stored with a resource that
3551 # may be set by external tools to store and retrieve arbitrary metadata. They
3552 # are not queryable and should be preserved when modifying objects. More
3553 # info: http://kubernetes.io/docs/user-guide/annotations
3554 &quot;a_key&quot;: &quot;A String&quot;,
3555 },
3556 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
3557 #
3558 # Cloud Run fully managed: not supported
3559 #
3560 # Cloud Run for Anthos: supported
3561 #
3562 # GenerateName is an optional prefix, used by the server, to generate a
3563 # unique name ONLY IF the Name field has not been provided. If this field is
3564 # used, the name returned to the client will be different than the name
3565 # passed. This value will also be combined with a unique suffix. The provided
3566 # value has the same validation rules as the Name field, and may be truncated
3567 # by the length of the suffix required to make the value unique on the
3568 # server.
3569 #
3570 # If this field is specified and the generated name exists, the server will
3571 # NOT return a 409 - instead, it will either return 201 Created or 500 with
3572 # Reason ServerTimeout indicating a unique name could not be found in the
3573 # time allotted, and the client should retry (optionally after the time
3574 # indicated in the Retry-After header).
3575 #
3576 # Applied only if Name is not specified.
3577 # More info:
3578 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
3579 # string generateName = 2;
3580 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
3581 # Is required when creating
3582 # resources, although some resources may allow a client to request the
3583 # generation of an appropriate name automatically. Name is primarily intended
3584 # for creation idempotence and configuration definition. Cannot be updated.
3585 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
3586 # +optional
3587 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
3588 #
3589 # Cloud Run fully managed: not supported
3590 #
3591 # Cloud Run for Anthos: supported
3592 #
3593 # Number of seconds allowed for this object to gracefully terminate before
3594 # it will be removed from the system. Only set when deletionTimestamp is also
3595 # set. May only be shortened. Read-only.
3596 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
3597 #
3598 # Cloud Run fully managed: not supported
3599 #
3600 # Cloud Run for Anthos: supported
3601 #
3602 # The name of the cluster which the object belongs to.
3603 # This is used to distinguish resources with same name and namespace in
3604 # different clusters. This field is not set anywhere right now and apiserver
3605 # is going to ignore it if set in create or update request.
3606 &quot;finalizers&quot;: [ # (Optional)
3607 #
3608 # Cloud Run fully managed: not supported
3609 #
3610 # Cloud Run for Anthos: supported
3611 #
3612 # Must be empty before the object is deleted from the registry. Each entry
3613 # is an identifier for the responsible component that will remove the entry
3614 # from the list. If the deletionTimestamp of the object is non-nil, entries
3615 # in this list can only be removed.
3616 # +patchStrategy=merge
3617 &quot;A String&quot;,
3618 ],
3619 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
3620 #
3621 # Cloud Run fully managed: not supported
3622 #
3623 # Cloud Run for Anthos: supported
3624 #
3625 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
3626 # deleted. This field is set by the server when a graceful deletion is
3627 # requested by the user, and is not directly settable by a client. The
3628 # resource is expected to be deleted (no longer visible from resource lists,
3629 # and not reachable by name) after the time in this field, once the
3630 # finalizers list is empty. As long as the finalizers list contains items,
3631 # deletion is blocked. Once the deletionTimestamp is set, this value may not
3632 # be unset or be set further into the future, although it may be shortened or
3633 # the resource may be deleted prior to this time. For example, a user may
3634 # request that a pod is deleted in 30 seconds. The Kubelet will react by
3635 # sending a graceful termination signal to the containers in the pod. After
3636 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
3637 # to the container and after cleanup, remove the pod from the API. In the
3638 # presence of network partitions, this object may still exist after this
3639 # timestamp, until an administrator or automated process can determine the
3640 # resource is fully terminated.
3641 # If not set, graceful deletion of the object has not been requested.
3642 #
3643 # Populated by the system when a graceful deletion is requested.
3644 # Read-only.
3645 # More info:
3646 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
3647 &quot;ownerReferences&quot;: [ # (Optional)
3648 #
3649 # Cloud Run fully managed: not supported
3650 #
3651 # Cloud Run for Anthos: supported
3652 #
3653 # List of objects that own this object. If ALL objects in the list have
3654 # been deleted, this object will be garbage collected.
3655 { # OwnerReference contains enough information to let you identify an owning
3656 # object. Currently, an owning object must be in the same namespace, so there
3657 # is no namespace field.
3658 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
3659 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
3660 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
3661 # +optional
3662 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
3663 # More info:
3664 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3665 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
3666 # the owner cannot be deleted from the key-value store until this
3667 # reference is removed.
3668 # Defaults to false.
3669 # To set this field, a user needs &quot;delete&quot; permission of the owner,
3670 # otherwise 422 (Unprocessable Entity) will be returned.
3671 # +optional
3672 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
3673 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
3674 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
3675 },
3676 ],
3677 },
3678 &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).
3679 &quot;volumes&quot;: [
3680 { # Cloud Run fully managed: not supported
3681 #
3682 # Cloud Run for Anthos: supported
3683 #
3684 # Volume represents a named volume in a container.
3685 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
3686 #
3687 # Cloud Run for Anthos: supported
3688 #
3689 # Cloud Run for Anthos: supported
3690 #
3691 # Adapts a ConfigMap into a volume.
3692 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
3693 # volume as files using the keys in the Data field as the file names, unless
3694 # the items element is populated with specific mappings of keys to paths.
3695 &quot;optional&quot;: True or False, # (Optional)
3696 #
3697 # Cloud Run fully managed: not supported
3698 #
3699 # Cloud Run for Anthos: supported
3700 #
3701 # Specify whether the Secret or its keys must be defined.
3702 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3703 #
3704 # Cloud Run for Anthos: supported
3705 #
3706 # Name of the config.
3707 &quot;defaultMode&quot;: 42, # (Optional)
3708 #
3709 # Cloud Run fully managed: not supported
3710 #
3711 # Cloud Run for Anthos: supported
3712 #
3713 # Mode bits to use on created files by default. Must be a value between 0 and
3714 # 0777. Defaults to 0644. Directories within the path are not affected by
3715 # this setting. This might be in conflict with other options that affect the
3716 # file mode, like fsGroup, and the result can be other mode bits set.
3717 &quot;items&quot;: [ # (Optional)
3718 #
3719 # Cloud Run fully managed: not supported
3720 #
3721 # Cloud Run for Anthos: supported
3722 #
3723 # If unspecified, each key-value pair in the Data field of the referenced
3724 # Secret will be projected into the volume as a file whose name is the
3725 # key and content is the value. If specified, the listed keys will be
3726 # projected into the specified paths, and unlisted keys will not be
3727 # present. If a key is specified which is not present in the Secret,
3728 # the volume setup will error unless it is marked optional.
3729 { # Cloud Run fully managed: not supported
3730 #
3731 # Cloud Run for Anthos: supported
3732 #
3733 # Maps a string key to a path within a volume.
3734 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3735 #
3736 # Cloud Run for Anthos: supported
3737 #
3738 # The key to project.
3739 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3740 #
3741 # Cloud Run for Anthos: supported
3742 #
3743 # The relative path of the file to map the key to.
3744 # May not be an absolute path.
3745 # May not contain the path element &#x27;..&#x27;.
3746 # May not start with the string &#x27;..&#x27;.
3747 &quot;mode&quot;: 42, # (Optional)
3748 #
3749 # Cloud Run fully managed: not supported
3750 #
3751 # Cloud Run for Anthos: supported
3752 #
3753 # Mode bits to use on this file, must be a value between 0 and 0777. If not
3754 # specified, the volume defaultMode will be used. This might be in conflict
3755 # with other options that affect the file mode, like fsGroup, and the result
3756 # can be other mode bits set.
3757 },
3758 ],
3759 },
3760 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3761 #
3762 # Cloud Run for Anthos: supported
3763 #
3764 # Volume&#x27;s name.
3765 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
3766 #
3767 # Cloud Run for Anthos: supported
3768 #
3769 # Cloud Run for Anthos: supported
3770 #
3771 # The contents of the target Secret&#x27;s Data field will be presented in a volume
3772 # as files using the keys in the Data field as the file names.
3773 &quot;optional&quot;: True or False, # (Optional)
3774 #
3775 # Cloud Run fully managed: not supported
3776 #
3777 # Cloud Run for Anthos: supported
3778 #
3779 # Specify whether the Secret or its keys must be defined.
3780 &quot;defaultMode&quot;: 42, # (Optional)
3781 #
3782 # Cloud Run fully managed: not supported
3783 #
3784 # Cloud Run for Anthos: supported
3785 #
3786 # Mode bits to use on created files by default. Must be a value between 0 and
3787 # 0777. Defaults to 0644. Directories within the path are not affected by
3788 # this setting. This might be in conflict with other options that affect the
3789 # file mode, like fsGroup, and the result can be other mode bits set.
3790 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3791 #
3792 # Cloud Run for Anthos: supported
3793 #
3794 # Name of the secret in the container&#x27;s namespace to use.
3795 &quot;items&quot;: [ # (Optional)
3796 #
3797 # Cloud Run fully managed: not supported
3798 #
3799 # Cloud Run for Anthos: supported
3800 #
3801 # If unspecified, each key-value pair in the Data field of the referenced
3802 # Secret will be projected into the volume as a file whose name is the
3803 # key and content is the value. If specified, the listed keys will be
3804 # projected into the specified paths, and unlisted keys will not be
3805 # present. If a key is specified which is not present in the Secret,
3806 # the volume setup will error unless it is marked optional.
3807 { # Cloud Run fully managed: not supported
3808 #
3809 # Cloud Run for Anthos: supported
3810 #
3811 # Maps a string key to a path within a volume.
3812 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3813 #
3814 # Cloud Run for Anthos: supported
3815 #
3816 # The key to project.
3817 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3818 #
3819 # Cloud Run for Anthos: supported
3820 #
3821 # The relative path of the file to map the key to.
3822 # May not be an absolute path.
3823 # May not contain the path element &#x27;..&#x27;.
3824 # May not start with the string &#x27;..&#x27;.
3825 &quot;mode&quot;: 42, # (Optional)
3826 #
3827 # Cloud Run fully managed: not supported
3828 #
3829 # Cloud Run for Anthos: supported
3830 #
3831 # Mode bits to use on this file, must be a value between 0 and 0777. If not
3832 # specified, the volume defaultMode will be used. This might be in conflict
3833 # with other options that affect the file mode, like fsGroup, and the result
3834 # can be other mode bits set.
3835 },
3836 ],
3837 },
3838 },
3839 ],
3840 &quot;containerConcurrency&quot;: 42, # (Optional)
3841 #
3842 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
3843 # requests per container instance of the Revision.
3844 #
3845 # Cloud Run fully managed: supported, defaults to 80
3846 #
3847 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
3848 # to the application is not limited, and the system decides the
3849 # target concurrency for the autoscaler.
3850 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
3851 # responding to a request.
3852 # Not currently used by Cloud Run.
3853 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
3854 # of the service. The service account represents the identity of the
3855 # running revision, and determines what permissions the revision has. If
3856 # not provided, the revision will use the project&#x27;s default service account.
3857 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
3858 # for this Revision. In the context of a Revision, we disallow a number of
3859 # fields on this Container, including: name and lifecycle.
3860 # In Cloud Run, only a single container may be provided.
3861 # The runtime contract is documented here:
3862 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
3863 { # A single application container.
3864 # This specifies both the container to run, the command to run in the container
3865 # and the arguments to supply to it.
3866 # Note that additional arguments may be supplied by the system to the container
3867 # at runtime.
3868 &quot;volumeMounts&quot;: [ # (Optional)
3869 #
3870 # Cloud Run fully managed: not supported
3871 #
3872 # Cloud Run for Anthos: supported
3873 #
3874 # Pod volumes to mount into the container&#x27;s filesystem.
3875 { # Cloud Run fully managed: not supported
3876 #
3877 # Cloud Run for Anthos: supported
3878 #
3879 # VolumeMount describes a mounting of a Volume within a container.
3880 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3881 #
3882 # Cloud Run for Anthos: supported
3883 #
3884 # This must match the Name of a Volume.
3885 &quot;readOnly&quot;: True or False, # (Optional)
3886 #
3887 # Cloud Run fully managed: not supported
3888 #
3889 # Cloud Run for Anthos: supported
3890 #
3891 # Only true is accepted.
3892 # Defaults to true.
3893 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
3894 #
3895 # Cloud Run for Anthos: supported
3896 #
3897 # Path within the container at which the volume should be mounted. Must
3898 # not contain &#x27;:&#x27;.
3899 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
3900 #
3901 # Cloud Run fully managed: not supported
3902 #
3903 # Cloud Run for Anthos: supported
3904 #
3905 # Path within the volume from which the container&#x27;s volume should be mounted.
3906 # Defaults to &quot;&quot; (volume&#x27;s root).
3907 },
3908 ],
3909 &quot;args&quot;: [ # (Optional)
3910 #
3911 # Cloud Run fully managed: supported
3912 #
3913 # Cloud Run for Anthos: supported
3914 #
3915 # Arguments to the entrypoint.
3916 # The docker image&#x27;s CMD is used if this is not provided.
3917 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
3918 # environment. If a variable cannot be resolved, the reference in the input
3919 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
3920 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
3921 # regardless of whether the variable exists or not.
3922 # More info:
3923 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
3924 &quot;A String&quot;,
3925 ],
3926 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
3927 #
3928 # Cloud Run fully managed: not supported
3929 #
3930 # Cloud Run for Anthos: supported
3931 #
3932 # Container&#x27;s working directory.
3933 # If not specified, the container runtime&#x27;s default will be used, which
3934 # might be configured in the container image.
3935 &quot;ports&quot;: [ # (Optional)
3936 #
3937 # List of ports to expose from the container. Only a single port can be
3938 # specified. The specified ports must be listening on all interfaces
3939 # (0.0.0.0) within the container to be accessible.
3940 #
3941 # If omitted, a port number will be chosen and passed to the container
3942 # through the PORT environment variable for the container to listen on.
3943 { # ContainerPort represents a network port in a single container.
3944 &quot;containerPort&quot;: 42, # (Optional)
3945 #
3946 # Port number the container listens on.
3947 # This must be a valid port number, 0 &lt; x &lt; 65536.
3948 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
3949 #
3950 # Cloud Run fully managed: not supported
3951 #
3952 # Cloud Run for Anthos: supported
3953 #
3954 # Protocol for port. Must be &quot;TCP&quot;.
3955 # Defaults to &quot;TCP&quot;.
3956 &quot;name&quot;: &quot;A String&quot;, # (Optional)
3957 #
3958 # Cloud Run fully managed: not supported
3959 #
3960 # Cloud Run for Anthos: supported
3961 #
3962 # If specified, used to specify which protocol to use.
3963 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
3964 },
3965 ],
3966 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
3967 # Registry
3968 #
3969 # Cloud Run for Anthos: supported
3970 #
3971 # URL of the Container image.
3972 # More info: https://kubernetes.io/docs/concepts/containers/images
3973 &quot;envFrom&quot;: [ # (Optional)
3974 #
3975 # Cloud Run fully managed: not supported
3976 #
3977 # Cloud Run for Anthos: supported
3978 #
3979 # List of sources to populate environment variables in the container.
3980 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
3981 # will be reported as an event when the container is starting. When a key
3982 # exists in multiple sources, the value associated with the last source will
3983 # take precedence. Values defined by an Env with a duplicate key will take
3984 # precedence. Cannot be updated.
3985 { # Cloud Run fully managed: not supported
3986 #
3987 # Cloud Run for Anthos: supported
3988 #
3989 # EnvFromSource represents the source of a set of ConfigMaps
3990 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
3991 #
3992 # Cloud Run fully managed: not supported
3993 #
3994 # Cloud Run for Anthos: supported
3995 #
3996 # An optional identifier to prepend to each key in the ConfigMap. Must be a
3997 # C_IDENTIFIER.
3998 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
3999 #
4000 # Cloud Run fully managed: not supported
4001 #
4002 # Cloud Run for Anthos: supported
4003 #
4004 # The ConfigMap to select from
4005 #
4006 # Cloud Run for Anthos: supported
4007 #
4008 # ConfigMapEnvSource selects a ConfigMap to populate the environment
4009 # variables with.
4010 #
4011 # The contents of the target ConfigMap&#x27;s Data field will represent the
4012 # key-value pairs as environment variables.
4013 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
4014 # directly into the message. Use the &quot;name&quot; field instead.
4015 #
4016 # Cloud Run for Anthos: supported
4017 #
4018 # LocalObjectReference contains enough information to let you locate the
4019 # referenced object inside the same namespace.
4020 &quot;name&quot;: &quot;A String&quot;, # (Optional)
4021 #
4022 # Cloud Run fully managed: not supported
4023 #
4024 # Cloud Run for Anthos: supported
4025 #
4026 # Name of the referent.
4027 # More info:
4028 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4029 },
4030 &quot;optional&quot;: True or False, # (Optional)
4031 #
4032 # Cloud Run fully managed: not supported
4033 #
4034 # Cloud Run for Anthos: supported
4035 #
4036 # Specify whether the ConfigMap must be defined
4037 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4038 #
4039 # Cloud Run for Anthos: supported
4040 #
4041 # The ConfigMap to select from.
4042 },
4043 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
4044 #
4045 # Cloud Run fully managed: not supported
4046 #
4047 # Cloud Run for Anthos: supported
4048 #
4049 # The Secret to select from
4050 #
4051 # Cloud Run for Anthos: supported
4052 #
4053 # SecretEnvSource selects a Secret to populate the environment
4054 # variables with.
4055 #
4056 # The contents of the target Secret&#x27;s Data field will represent the
4057 # key-value pairs as environment variables.
4058 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
4059 # directly into the message. Use the &quot;name&quot; field instead.
4060 #
4061 # Cloud Run for Anthos: supported
4062 #
4063 # LocalObjectReference contains enough information to let you locate the
4064 # referenced object inside the same namespace.
4065 &quot;name&quot;: &quot;A String&quot;, # (Optional)
4066 #
4067 # Cloud Run fully managed: not supported
4068 #
4069 # Cloud Run for Anthos: supported
4070 #
4071 # Name of the referent.
4072 # More info:
4073 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4074 },
4075 &quot;optional&quot;: True or False, # (Optional)
4076 #
4077 # Cloud Run fully managed: not supported
4078 #
4079 # Cloud Run for Anthos: supported
4080 #
4081 # Specify whether the Secret must be defined
4082 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4083 #
4084 # Cloud Run for Anthos: supported
4085 #
4086 # The Secret to select from.
4087 },
4088 },
4089 ],
4090 &quot;name&quot;: &quot;A String&quot;, # (Optional)
4091 #
4092 # Name of the container specified as a DNS_LABEL.
4093 &quot;command&quot;: [
4094 &quot;A String&quot;,
4095 ],
4096 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
4097 #
4098 # Cloud Run fully managed: not supported
4099 #
4100 # Cloud Run for Anthos: supported
4101 #
4102 # Indicate how the termination message should be populated. File will use the
4103 # contents of terminationMessagePath to populate the container status message
4104 # on both success and failure. FallbackToLogsOnError will use the last chunk
4105 # of container log output if the termination message file is empty and the
4106 # container exited with an error. The log output is limited to 2048 bytes or
4107 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
4108 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
4109 #
4110 # Cloud Run fully managed: not supported
4111 #
4112 # Cloud Run for Anthos: supported
4113 #
4114 # Security options the pod should run with.
4115 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
4116 # More info:
4117 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
4118 #
4119 # Cloud Run for Anthos: supported
4120 #
4121 # SecurityContext holds security configuration that will be applied to a
4122 # container. Some fields are present in both SecurityContext and
4123 # PodSecurityContext. When both are set, the values in SecurityContext take
4124 # precedence.
4125 &quot;runAsUser&quot;: 42, # (Optional)
4126 #
4127 # Cloud Run fully managed: not supported
4128 #
4129 # Cloud Run for Anthos: supported
4130 #
4131 # The UID to run the entrypoint of the container process.
4132 # Defaults to user specified in image metadata if unspecified.
4133 # May also be set in PodSecurityContext. If set in both SecurityContext and
4134 # PodSecurityContext, the value specified in SecurityContext takes
4135 # precedence.
4136 },
4137 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
4138 #
4139 # Cloud Run fully managed: not supported
4140 #
4141 # Cloud Run for Anthos: supported
4142 #
4143 # Periodic probe of container liveness.
4144 # Container will be restarted if the probe fails.
4145 # More info:
4146 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4147 #
4148 # Cloud Run for Anthos: supported
4149 #
4150 # Probe describes a health check to be performed against a container to
4151 # determine whether it is alive or ready to receive traffic.
4152 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
4153 #
4154 # Cloud Run fully managed: not supported
4155 #
4156 # Cloud Run for Anthos: supported
4157 #
4158 # HTTPGet specifies the http request to perform.
4159 #
4160 # A field inlined from the Handler message.
4161 #
4162 # Cloud Run for Anthos: supported
4163 #
4164 # HTTPGetAction describes an action based on HTTP Get requests.
4165 &quot;httpHeaders&quot;: [ # (Optional)
4166 #
4167 # Cloud Run fully managed: not supported
4168 #
4169 # Cloud Run for Anthos: supported
4170 #
4171 # Custom headers to set in the request. HTTP allows repeated headers.
4172 { # Cloud Run fully managed: not supported
4173 #
4174 # Cloud Run for Anthos: supported
4175 #
4176 # HTTPHeader describes a custom header to be used in HTTP probes
4177 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4178 #
4179 # Cloud Run for Anthos: supported
4180 #
4181 # The header field name
4182 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4183 #
4184 # Cloud Run for Anthos: supported
4185 #
4186 # The header field value
4187 },
4188 ],
4189 &quot;path&quot;: &quot;A String&quot;, # (Optional)
4190 #
4191 # Cloud Run fully managed: not supported
4192 #
4193 # Cloud Run for Anthos: supported
4194 #
4195 # Path to access on the HTTP server.
4196 &quot;host&quot;: &quot;A String&quot;, # (Optional)
4197 #
4198 # Cloud Run fully managed: not supported
4199 #
4200 # Cloud Run for Anthos: supported
4201 #
4202 # Host name to connect to, defaults to the pod IP. You probably want to set
4203 # &quot;Host&quot; in httpHeaders instead.
4204 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
4205 #
4206 # Cloud Run fully managed: not supported
4207 #
4208 # Cloud Run for Anthos: supported
4209 #
4210 # Scheme to use for connecting to the host.
4211 # Defaults to HTTP.
4212 },
4213 &quot;failureThreshold&quot;: 42, # (Optional)
4214 #
4215 # Cloud Run fully managed: not supported
4216 #
4217 # Cloud Run for Anthos: supported
4218 #
4219 # Minimum consecutive failures for the probe to be considered failed after
4220 # having succeeded. Defaults to 3. Minimum value is 1.
4221 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
4222 #
4223 # Cloud Run fully managed: not supported
4224 #
4225 # Cloud Run for Anthos: supported
4226 #
4227 # One and only one of the following should be specified.
4228 # Exec specifies the action to take.
4229 #
4230 # A field inlined from the Handler message.
4231 #
4232 # Cloud Run for Anthos: supported
4233 #
4234 # ExecAction describes a &quot;run in container&quot; action.
4235 &quot;command&quot;: &quot;A String&quot;, # (Optional)
4236 #
4237 # Cloud Run fully managed: not supported
4238 #
4239 # Cloud Run for Anthos: supported
4240 #
4241 # Command is the command line to execute inside the container, the working
4242 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
4243 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
4244 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
4245 # explicitly call out to that shell. Exit status of 0 is treated as
4246 # live/healthy and non-zero is unhealthy.
4247 },
4248 &quot;initialDelaySeconds&quot;: 42, # (Optional)
4249 #
4250 # Cloud Run fully managed: not supported
4251 #
4252 # Cloud Run for Anthos: supported
4253 #
4254 # Number of seconds after the container has started before liveness probes
4255 # are initiated. More info:
4256 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4257 &quot;timeoutSeconds&quot;: 42, # (Optional)
4258 #
4259 # Cloud Run fully managed: not supported
4260 #
4261 # Cloud Run for Anthos: supported
4262 #
4263 # Number of seconds after which the probe times out.
4264 # Defaults to 1 second. Minimum value is 1.
4265 # More info:
4266 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4267 &quot;successThreshold&quot;: 42, # (Optional)
4268 #
4269 # Cloud Run fully managed: not supported
4270 #
4271 # Cloud Run for Anthos: supported
4272 #
4273 # Minimum consecutive successes for the probe to be considered successful
4274 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
4275 # is 1.
4276 &quot;periodSeconds&quot;: 42, # (Optional)
4277 #
4278 # Cloud Run fully managed: not supported
4279 #
4280 # Cloud Run for Anthos: supported
4281 #
4282 # How often (in seconds) to perform the probe.
4283 # Default to 10 seconds. Minimum value is 1.
4284 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
4285 #
4286 # Cloud Run fully managed: not supported
4287 #
4288 # Cloud Run for Anthos: supported
4289 #
4290 # TCPSocket specifies an action involving a TCP port.
4291 # TCP hooks not yet supported
4292 #
4293 # A field inlined from the Handler message.
4294 #
4295 # Cloud Run for Anthos: supported
4296 #
4297 # TCPSocketAction describes an action based on opening a socket
4298 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
4299 #
4300 # Cloud Run for Anthos: supported
4301 #
4302 # Number or name of the port to access on the container.
4303 # Number must be in the range 1 to 65535.
4304 # Name must be an IANA_SVC_NAME.
4305 #
4306 # This field is currently limited to integer types only because of proto&#x27;s
4307 # inability to properly support the IntOrString golang type.
4308 &quot;host&quot;: &quot;A String&quot;, # (Optional)
4309 #
4310 # Cloud Run fully managed: not supported
4311 #
4312 # Cloud Run for Anthos: supported
4313 #
4314 # Optional: Host name to connect to, defaults to the pod IP.
4315 },
4316 },
4317 &quot;env&quot;: [ # (Optional)
4318 #
4319 # Cloud Run fully managed: supported
4320 #
4321 # Cloud Run for Anthos: supported
4322 #
4323 # List of environment variables to set in the container.
4324 { # EnvVar represents an environment variable present in a Container.
4325 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
4326 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
4327 #
4328 # Cloud Run fully managed: not supported
4329 #
4330 # Cloud Run for Anthos: supported
4331 #
4332 # Source for the environment variable&#x27;s value. Cannot be used if value is not
4333 # empty.
4334 #
4335 # Cloud Run for Anthos: supported
4336 #
4337 # EnvVarSource represents a source for the value of an EnvVar.
4338 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
4339 #
4340 # Cloud Run fully managed: not supported
4341 #
4342 # Cloud Run for Anthos: supported
4343 #
4344 # Selects a key of a secret in the pod&#x27;s namespace
4345 #
4346 # Cloud Run for Anthos: supported
4347 #
4348 # SecretKeySelector selects a key of a Secret.
4349 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4350 #
4351 # Cloud Run for Anthos: supported
4352 #
4353 # The key of the secret to select from. Must be a valid secret key.
4354 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4355 #
4356 # Cloud Run for Anthos: supported
4357 #
4358 # The name of the secret in the pod&#x27;s namespace to select from.
4359 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
4360 # directly into the message. Use the &quot;name&quot; field instead.
4361 #
4362 # Cloud Run for Anthos: supported
4363 #
4364 # LocalObjectReference contains enough information to let you locate the
4365 # referenced object inside the same namespace.
4366 &quot;name&quot;: &quot;A String&quot;, # (Optional)
4367 #
4368 # Cloud Run fully managed: not supported
4369 #
4370 # Cloud Run for Anthos: supported
4371 #
4372 # Name of the referent.
4373 # More info:
4374 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4375 },
4376 &quot;optional&quot;: True or False, # (Optional)
4377 #
4378 # Cloud Run fully managed: not supported
4379 #
4380 # Cloud Run for Anthos: supported
4381 #
4382 # Specify whether the Secret or its key must be defined
4383 },
4384 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
4385 #
4386 # Cloud Run fully managed: not supported
4387 #
4388 # Cloud Run for Anthos: supported
4389 #
4390 # Selects a key of a ConfigMap.
4391 #
4392 # Cloud Run for Anthos: supported
4393 #
4394 # Selects a key from a ConfigMap.
4395 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
4396 # directly into the message. Use the &quot;name&quot; field instead.
4397 #
4398 # Cloud Run for Anthos: supported
4399 #
4400 # LocalObjectReference contains enough information to let you locate the
4401 # referenced object inside the same namespace.
4402 &quot;name&quot;: &quot;A String&quot;, # (Optional)
4403 #
4404 # Cloud Run fully managed: not supported
4405 #
4406 # Cloud Run for Anthos: supported
4407 #
4408 # Name of the referent.
4409 # More info:
4410 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
4411 },
4412 &quot;optional&quot;: True or False, # (Optional)
4413 #
4414 # Cloud Run fully managed: not supported
4415 #
4416 # Cloud Run for Anthos: supported
4417 #
4418 # Specify whether the ConfigMap or its key must be defined
4419 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4420 #
4421 # Cloud Run for Anthos: supported
4422 #
4423 # The key to select.
4424 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4425 #
4426 # Cloud Run for Anthos: supported
4427 #
4428 # The ConfigMap to select from.
4429 },
4430 },
4431 &quot;value&quot;: &quot;A String&quot;, # (Optional)
4432 #
4433 # Variable references $(VAR_NAME) are expanded
4434 # using the previous defined environment variables in the container and
4435 # any route environment variables. If a variable cannot be resolved,
4436 # the reference in the input string will be unchanged. The $(VAR_NAME)
4437 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
4438 # references will never be expanded, regardless of whether the variable
4439 # exists or not.
4440 # Defaults to &quot;&quot;.
4441 },
4442 ],
4443 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
4444 #
4445 # Cloud Run fully managed: supported
4446 #
4447 # Cloud Run for Anthos: supported
4448 #
4449 # Compute Resources required by this container.
4450 # More info:
4451 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
4452 &quot;limits&quot;: { # (Optional)
4453 #
4454 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
4455 # supported value for CPU is &#x27;1&#x27;.
4456 #
4457 # Cloud Run for Anthos: supported
4458 #
4459 # Limits describes the maximum amount of compute resources allowed.
4460 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
4461 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
4462 &quot;a_key&quot;: &quot;A String&quot;,
4463 },
4464 &quot;requests&quot;: { # (Optional)
4465 #
4466 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
4467 # supported value for CPU is &#x27;1&#x27;.
4468 #
4469 # Cloud Run for Anthos: supported
4470 #
4471 # Requests describes the minimum amount of compute resources required.
4472 # If Requests is omitted for a container, it defaults to Limits if that is
4473 # explicitly specified, otherwise to an implementation-defined value.
4474 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
4475 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
4476 &quot;a_key&quot;: &quot;A String&quot;,
4477 },
4478 },
4479 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
4480 #
4481 # Cloud Run fully managed: not supported
4482 #
4483 # Cloud Run for Anthos: supported
4484 #
4485 # Periodic probe of container service readiness.
4486 # Container will be removed from service endpoints if the probe fails.
4487 # More info:
4488 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4489 #
4490 # Cloud Run for Anthos: supported
4491 #
4492 # Probe describes a health check to be performed against a container to
4493 # determine whether it is alive or ready to receive traffic.
4494 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
4495 #
4496 # Cloud Run fully managed: not supported
4497 #
4498 # Cloud Run for Anthos: supported
4499 #
4500 # HTTPGet specifies the http request to perform.
4501 #
4502 # A field inlined from the Handler message.
4503 #
4504 # Cloud Run for Anthos: supported
4505 #
4506 # HTTPGetAction describes an action based on HTTP Get requests.
4507 &quot;httpHeaders&quot;: [ # (Optional)
4508 #
4509 # Cloud Run fully managed: not supported
4510 #
4511 # Cloud Run for Anthos: supported
4512 #
4513 # Custom headers to set in the request. HTTP allows repeated headers.
4514 { # Cloud Run fully managed: not supported
4515 #
4516 # Cloud Run for Anthos: supported
4517 #
4518 # HTTPHeader describes a custom header to be used in HTTP probes
4519 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4520 #
4521 # Cloud Run for Anthos: supported
4522 #
4523 # The header field name
4524 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
4525 #
4526 # Cloud Run for Anthos: supported
4527 #
4528 # The header field value
4529 },
4530 ],
4531 &quot;path&quot;: &quot;A String&quot;, # (Optional)
4532 #
4533 # Cloud Run fully managed: not supported
4534 #
4535 # Cloud Run for Anthos: supported
4536 #
4537 # Path to access on the HTTP server.
4538 &quot;host&quot;: &quot;A String&quot;, # (Optional)
4539 #
4540 # Cloud Run fully managed: not supported
4541 #
4542 # Cloud Run for Anthos: supported
4543 #
4544 # Host name to connect to, defaults to the pod IP. You probably want to set
4545 # &quot;Host&quot; in httpHeaders instead.
4546 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
4547 #
4548 # Cloud Run fully managed: not supported
4549 #
4550 # Cloud Run for Anthos: supported
4551 #
4552 # Scheme to use for connecting to the host.
4553 # Defaults to HTTP.
4554 },
4555 &quot;failureThreshold&quot;: 42, # (Optional)
4556 #
4557 # Cloud Run fully managed: not supported
4558 #
4559 # Cloud Run for Anthos: supported
4560 #
4561 # Minimum consecutive failures for the probe to be considered failed after
4562 # having succeeded. Defaults to 3. Minimum value is 1.
4563 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
4564 #
4565 # Cloud Run fully managed: not supported
4566 #
4567 # Cloud Run for Anthos: supported
4568 #
4569 # One and only one of the following should be specified.
4570 # Exec specifies the action to take.
4571 #
4572 # A field inlined from the Handler message.
4573 #
4574 # Cloud Run for Anthos: supported
4575 #
4576 # ExecAction describes a &quot;run in container&quot; action.
4577 &quot;command&quot;: &quot;A String&quot;, # (Optional)
4578 #
4579 # Cloud Run fully managed: not supported
4580 #
4581 # Cloud Run for Anthos: supported
4582 #
4583 # Command is the command line to execute inside the container, the working
4584 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
4585 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
4586 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
4587 # explicitly call out to that shell. Exit status of 0 is treated as
4588 # live/healthy and non-zero is unhealthy.
4589 },
4590 &quot;initialDelaySeconds&quot;: 42, # (Optional)
4591 #
4592 # Cloud Run fully managed: not supported
4593 #
4594 # Cloud Run for Anthos: supported
4595 #
4596 # Number of seconds after the container has started before liveness probes
4597 # are initiated. More info:
4598 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4599 &quot;timeoutSeconds&quot;: 42, # (Optional)
4600 #
4601 # Cloud Run fully managed: not supported
4602 #
4603 # Cloud Run for Anthos: supported
4604 #
4605 # Number of seconds after which the probe times out.
4606 # Defaults to 1 second. Minimum value is 1.
4607 # More info:
4608 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4609 &quot;successThreshold&quot;: 42, # (Optional)
4610 #
4611 # Cloud Run fully managed: not supported
4612 #
4613 # Cloud Run for Anthos: supported
4614 #
4615 # Minimum consecutive successes for the probe to be considered successful
4616 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
4617 # is 1.
4618 &quot;periodSeconds&quot;: 42, # (Optional)
4619 #
4620 # Cloud Run fully managed: not supported
4621 #
4622 # Cloud Run for Anthos: supported
4623 #
4624 # How often (in seconds) to perform the probe.
4625 # Default to 10 seconds. Minimum value is 1.
4626 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
4627 #
4628 # Cloud Run fully managed: not supported
4629 #
4630 # Cloud Run for Anthos: supported
4631 #
4632 # TCPSocket specifies an action involving a TCP port.
4633 # TCP hooks not yet supported
4634 #
4635 # A field inlined from the Handler message.
4636 #
4637 # Cloud Run for Anthos: supported
4638 #
4639 # TCPSocketAction describes an action based on opening a socket
4640 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
4641 #
4642 # Cloud Run for Anthos: supported
4643 #
4644 # Number or name of the port to access on the container.
4645 # Number must be in the range 1 to 65535.
4646 # Name must be an IANA_SVC_NAME.
4647 #
4648 # This field is currently limited to integer types only because of proto&#x27;s
4649 # inability to properly support the IntOrString golang type.
4650 &quot;host&quot;: &quot;A String&quot;, # (Optional)
4651 #
4652 # Cloud Run fully managed: not supported
4653 #
4654 # Cloud Run for Anthos: supported
4655 #
4656 # Optional: Host name to connect to, defaults to the pod IP.
4657 },
4658 },
4659 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
4660 #
4661 # Cloud Run fully managed: not supported
4662 #
4663 # Cloud Run for Anthos: supported
4664 #
4665 # Image pull policy.
4666 # One of Always, Never, IfNotPresent.
4667 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
4668 # More info:
4669 # https://kubernetes.io/docs/concepts/containers/images#updating-images
4670 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
4671 #
4672 # Cloud Run fully managed: not supported
4673 #
4674 # Cloud Run for Anthos: supported
4675 #
4676 # Path at which the file to which the container&#x27;s termination
4677 # message will be written is mounted into the container&#x27;s filesystem. Message
4678 # written is intended to be brief final status, such as an assertion failure
4679 # message. Will be truncated by the node if greater than 4096 bytes. The
4680 # total message length across all containers will be limited to 12kb.
4681 # Defaults to /dev/termination-log.
4682 },
4683 ],
4684 },
4685 },
4686 },
4687 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
4688 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
4689 # and annotations.
4690 # persisted resources must have, which includes all objects users must create.
4691 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
4692 #
4693 # CreationTimestamp is a timestamp representing the server time when this
4694 # object was created. It is not guaranteed to be set in happens-before order
4695 # across separate operations. Clients may not set this value. It is
4696 # represented in RFC3339 form and is in UTC.
4697 #
4698 # Populated by the system.
4699 # Read-only.
4700 # Null for lists.
4701 # More info:
4702 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
4703 &quot;labels&quot;: { # (Optional)
4704 #
4705 # Map of string keys and values that can be used to organize and categorize
4706 # (scope and select) objects. May match selectors of replication controllers
4707 # and routes.
4708 # More info: http://kubernetes.io/docs/user-guide/labels
4709 &quot;a_key&quot;: &quot;A String&quot;,
4710 },
4711 &quot;generation&quot;: 42, # (Optional)
4712 #
4713 # A sequence number representing a specific generation of the desired state.
4714 # Populated by the system. Read-only.
4715 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
4716 #
4717 # An opaque value that represents the internal version of this object that
4718 # can be used by clients to determine when objects have changed. May be used
4719 # for optimistic concurrency, change detection, and the watch operation on a
4720 # resource or set of resources. Clients must treat these values as opaque and
4721 # passed unmodified back to the server. They may only be valid for a
4722 # particular resource or set of resources.
4723 #
4724 # Populated by the system.
4725 # Read-only.
4726 # Value must be treated as opaque by clients and .
4727 # More info:
4728 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
4729 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
4730 #
4731 # SelfLink is a URL representing this object.
4732 # Populated by the system.
4733 # Read-only.
4734 # string selfLink = 4;
4735 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
4736 #
4737 # UID is the unique in time and space value for this object. It is typically
4738 # generated by the server on successful creation of a resource and is not
4739 # allowed to change on PUT operations.
4740 #
4741 # Populated by the system.
4742 # Read-only.
4743 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
4744 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
4745 # Cloud Run region. In Cloud Run the namespace must be equal to either the
4746 # project ID or project number.
4747 &quot;annotations&quot;: { # (Optional)
4748 #
4749 # Annotations is an unstructured key value map stored with a resource that
4750 # may be set by external tools to store and retrieve arbitrary metadata. They
4751 # are not queryable and should be preserved when modifying objects. More
4752 # info: http://kubernetes.io/docs/user-guide/annotations
4753 &quot;a_key&quot;: &quot;A String&quot;,
4754 },
4755 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
4756 #
4757 # Cloud Run fully managed: not supported
4758 #
4759 # Cloud Run for Anthos: supported
4760 #
4761 # GenerateName is an optional prefix, used by the server, to generate a
4762 # unique name ONLY IF the Name field has not been provided. If this field is
4763 # used, the name returned to the client will be different than the name
4764 # passed. This value will also be combined with a unique suffix. The provided
4765 # value has the same validation rules as the Name field, and may be truncated
4766 # by the length of the suffix required to make the value unique on the
4767 # server.
4768 #
4769 # If this field is specified and the generated name exists, the server will
4770 # NOT return a 409 - instead, it will either return 201 Created or 500 with
4771 # Reason ServerTimeout indicating a unique name could not be found in the
4772 # time allotted, and the client should retry (optionally after the time
4773 # indicated in the Retry-After header).
4774 #
4775 # Applied only if Name is not specified.
4776 # More info:
4777 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
4778 # string generateName = 2;
4779 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
4780 # Is required when creating
4781 # resources, although some resources may allow a client to request the
4782 # generation of an appropriate name automatically. Name is primarily intended
4783 # for creation idempotence and configuration definition. Cannot be updated.
4784 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
4785 # +optional
4786 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
4787 #
4788 # Cloud Run fully managed: not supported
4789 #
4790 # Cloud Run for Anthos: supported
4791 #
4792 # Number of seconds allowed for this object to gracefully terminate before
4793 # it will be removed from the system. Only set when deletionTimestamp is also
4794 # set. May only be shortened. Read-only.
4795 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
4796 #
4797 # Cloud Run fully managed: not supported
4798 #
4799 # Cloud Run for Anthos: supported
4800 #
4801 # The name of the cluster which the object belongs to.
4802 # This is used to distinguish resources with same name and namespace in
4803 # different clusters. This field is not set anywhere right now and apiserver
4804 # is going to ignore it if set in create or update request.
4805 &quot;finalizers&quot;: [ # (Optional)
4806 #
4807 # Cloud Run fully managed: not supported
4808 #
4809 # Cloud Run for Anthos: supported
4810 #
4811 # Must be empty before the object is deleted from the registry. Each entry
4812 # is an identifier for the responsible component that will remove the entry
4813 # from the list. If the deletionTimestamp of the object is non-nil, entries
4814 # in this list can only be removed.
4815 # +patchStrategy=merge
4816 &quot;A String&quot;,
4817 ],
4818 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
4819 #
4820 # Cloud Run fully managed: not supported
4821 #
4822 # Cloud Run for Anthos: supported
4823 #
4824 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
4825 # deleted. This field is set by the server when a graceful deletion is
4826 # requested by the user, and is not directly settable by a client. The
4827 # resource is expected to be deleted (no longer visible from resource lists,
4828 # and not reachable by name) after the time in this field, once the
4829 # finalizers list is empty. As long as the finalizers list contains items,
4830 # deletion is blocked. Once the deletionTimestamp is set, this value may not
4831 # be unset or be set further into the future, although it may be shortened or
4832 # the resource may be deleted prior to this time. For example, a user may
4833 # request that a pod is deleted in 30 seconds. The Kubelet will react by
4834 # sending a graceful termination signal to the containers in the pod. After
4835 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
4836 # to the container and after cleanup, remove the pod from the API. In the
4837 # presence of network partitions, this object may still exist after this
4838 # timestamp, until an administrator or automated process can determine the
4839 # resource is fully terminated.
4840 # If not set, graceful deletion of the object has not been requested.
4841 #
4842 # Populated by the system when a graceful deletion is requested.
4843 # Read-only.
4844 # More info:
4845 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
4846 &quot;ownerReferences&quot;: [ # (Optional)
4847 #
4848 # Cloud Run fully managed: not supported
4849 #
4850 # Cloud Run for Anthos: supported
4851 #
4852 # List of objects that own this object. If ALL objects in the list have
4853 # been deleted, this object will be garbage collected.
4854 { # OwnerReference contains enough information to let you identify an owning
4855 # object. Currently, an owning object must be in the same namespace, so there
4856 # is no namespace field.
4857 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
4858 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
4859 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
4860 # +optional
4861 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
4862 # More info:
4863 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
4864 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
4865 # the owner cannot be deleted from the key-value store until this
4866 # reference is removed.
4867 # Defaults to false.
4868 # To set this field, a user needs &quot;delete&quot; permission of the owner,
4869 # otherwise 422 (Unprocessable Entity) will be returned.
4870 # +optional
4871 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
4872 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
4873 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
4874 },
4875 ],
4876 },
4877 }</pre>
4878</div>
4879
4880<div class="method">
4881 <code class="details" id="list">list(parent, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, watch=None, x__xgafv=None)</code>
4882 <pre>List services.
4883
4884Args:
4885 parent: string, The namespace from which the services should be listed.
4886For Cloud Run (fully managed), replace {namespace_id} with the project ID
4887or number. (required)
4888 labelSelector: string, Allows to filter resources based on a label. Supported operations are
4889=, !=, exists, in, and notIn.
4890 resourceVersion: string, The baseline resource version from which the list or watch operation should
4891start. Not currently used by Cloud Run.
4892 includeUninitialized: boolean, Not currently used by Cloud Run.
4893 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
4894Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
4895Not currently used by Cloud Run.
4896 continue: string, Optional encoded string to continue paging.
4897 limit: integer, The maximum number of records that should be returned.
4898 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
4899Not currently used by Cloud Run.
4900 x__xgafv: string, V1 error format.
4901 Allowed values
4902 1 - v1 error format
4903 2 - v2 error format
4904
4905Returns:
4906 An object of the form:
4907
4908 { # A list of Service resources.
4909 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
4910 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;ServiceList&quot;.
4911 &quot;unreachable&quot;: [ # Locations that could not be reached.
4912 &quot;A String&quot;,
4913 ],
4914 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this Service list.
4915 # lists and various status objects. A resource may have only one of
4916 # {ObjectMeta, ListMeta}.
4917 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
4918 # can be used by clients to determine when objects have changed. Value must
4919 # be treated as opaque by clients and passed unmodified back to the server.
4920 # Populated by the system.
4921 # Read-only.
4922 # More info:
4923 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
4924 # +optional
4925 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
4926 # returned, and indicates that the server has more data available. The value
4927 # is opaque and may be used to issue another request to the endpoint that
4928 # served this list to retrieve the next set of available objects. Continuing
4929 # a list may not be possible if the server configuration has changed or more
4930 # than a few minutes have passed. The resourceVersion field returned when
4931 # using this continue value will be identical to the value in the first
4932 # response.
4933 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
4934 # Populated by the system.
4935 # Read-only.
4936 # +optional
4937 },
4938 &quot;items&quot;: [ # List of Services.
4939 { # Service acts as a top-level container that manages a set of Routes and
4940 # Configurations which implement a network service. Service exists to provide a
4941 # singular abstraction which can be access controlled, reasoned about, and
4942 # which encapsulates software lifecycle decisions such as rollout policy and
4943 # team resource ownership. Service acts only as an orchestrator of the
4944 # underlying Routes and Configurations (much as a kubernetes Deployment
4945 # orchestrates ReplicaSets).
4946 #
4947 # The Service&#x27;s controller will track the statuses of its owned Configuration
4948 # and Route, reflecting their statuses and conditions as its own.
4949 #
4950 # See also:
4951 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
4952 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
4953 # controller).
4954 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
4955 # LatestCreatedRevisionName is the last revision that was created from this
4956 # Service&#x27;s Configuration. It might not be ready yet, for that use
4957 # LatestReadyRevisionName.
4958 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
4959 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
4960 # state of the world.
4961 # Service-specific conditions include:
4962 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
4963 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
4964 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
4965 # ready.
4966 { # Condition defines a generic condition for a Resource
4967 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
4968 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
4969 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
4970 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
4971 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
4972 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
4973 # See also:
4974 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
4975 # Types common to all resources include:
4976 # * &quot;Ready&quot;: True when the Resource is ready.
4977 },
4978 ],
4979 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
4980 # Similar to url, information on where the service is available on HTTP.
4981 &quot;url&quot;: &quot;A String&quot;,
4982 },
4983 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
4984 # was last processed by the controller.
4985 #
4986 # Clients polling for completed reconciliation should poll until
4987 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
4988 # is True or False.
4989 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
4990 # URL holds the url that will distribute traffic over the provided traffic
4991 # targets. It generally has the form
4992 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
4993 &quot;traffic&quot;: [ # From RouteStatus.
4994 # Traffic holds the configured traffic distribution.
4995 # These entries will always contain RevisionName references.
4996 # When ConfigurationName appears in the spec, this will hold the
4997 # LatestReadyRevisionName that we last observed.
4998 { # TrafficTarget holds a single entry of the routing table for a Route.
4999 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
5000 # is displayed in status, and is disallowed on spec. URL must contain a
5001 # scheme (e.g. http://) and a hostname, but may not contain anything else
5002 # (e.g. basic auth, url path, etc.
5003 #
5004 # Not currently supported in Cloud Run.
5005 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
5006 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
5007 # of the referenced configuration changes, we will automatically migrate
5008 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
5009 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
5010 # with RevisionName.
5011 #
5012 # Cloud Run currently supports a single ConfigurationName.
5013 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
5014 # This defaults to zero if unspecified.
5015 #
5016 # Cloud Run currently requires 100 percent for a single ConfigurationName
5017 # TrafficTarget entry.
5018 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
5019 # traffic. This is mutually exclusive with ConfigurationName.
5020 #
5021 # Providing RevisionName in spec is not currently supported by Cloud Run.
5022 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
5023 # ready Revision of the Configuration should be used for this traffic
5024 # target. When provided LatestRevision must be true if RevisionName is
5025 # empty; it must be false when RevisionName is non-empty.
5026 #
5027 # +optional
5028 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
5029 # this target exclusively.
5030 #
5031 # Not currently supported in Cloud Run.
5032 # +optional
5033 },
5034 ],
5035 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
5036 # LatestReadyRevisionName holds the name of the latest Revision stamped out
5037 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
5038 # &quot;True&quot;.
5039 },
5040 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
5041 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
5042 # is used to manipulate the underlying Route and Configuration(s).
5043 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
5044 # Revisions and Configurations.
5045 { # TrafficTarget holds a single entry of the routing table for a Route.
5046 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
5047 # is displayed in status, and is disallowed on spec. URL must contain a
5048 # scheme (e.g. http://) and a hostname, but may not contain anything else
5049 # (e.g. basic auth, url path, etc.
5050 #
5051 # Not currently supported in Cloud Run.
5052 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
5053 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
5054 # of the referenced configuration changes, we will automatically migrate
5055 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
5056 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
5057 # with RevisionName.
5058 #
5059 # Cloud Run currently supports a single ConfigurationName.
5060 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
5061 # This defaults to zero if unspecified.
5062 #
5063 # Cloud Run currently requires 100 percent for a single ConfigurationName
5064 # TrafficTarget entry.
5065 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
5066 # traffic. This is mutually exclusive with ConfigurationName.
5067 #
5068 # Providing RevisionName in spec is not currently supported by Cloud Run.
5069 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
5070 # ready Revision of the Configuration should be used for this traffic
5071 # target. When provided LatestRevision must be true if RevisionName is
5072 # empty; it must be false when RevisionName is non-empty.
5073 #
5074 # +optional
5075 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
5076 # this target exclusively.
5077 #
5078 # Not currently supported in Cloud Run.
5079 # +optional
5080 },
5081 ],
5082 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
5083 # be stamped out.
5084 # from a template. Based on:
5085 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
5086 &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
5087 # will be generated by the Configuration.
5088 # To set minimum instances for this revision, use the
5089 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
5090 # To set maximum instances for this revision, use the
5091 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
5092 # To set Cloud SQL connections for the revision, use the
5093 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
5094 # persisted resources must have, which includes all objects users must create.
5095 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
5096 #
5097 # CreationTimestamp is a timestamp representing the server time when this
5098 # object was created. It is not guaranteed to be set in happens-before order
5099 # across separate operations. Clients may not set this value. It is
5100 # represented in RFC3339 form and is in UTC.
5101 #
5102 # Populated by the system.
5103 # Read-only.
5104 # Null for lists.
5105 # More info:
5106 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
5107 &quot;labels&quot;: { # (Optional)
5108 #
5109 # Map of string keys and values that can be used to organize and categorize
5110 # (scope and select) objects. May match selectors of replication controllers
5111 # and routes.
5112 # More info: http://kubernetes.io/docs/user-guide/labels
5113 &quot;a_key&quot;: &quot;A String&quot;,
5114 },
5115 &quot;generation&quot;: 42, # (Optional)
5116 #
5117 # A sequence number representing a specific generation of the desired state.
5118 # Populated by the system. Read-only.
5119 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
5120 #
5121 # An opaque value that represents the internal version of this object that
5122 # can be used by clients to determine when objects have changed. May be used
5123 # for optimistic concurrency, change detection, and the watch operation on a
5124 # resource or set of resources. Clients must treat these values as opaque and
5125 # passed unmodified back to the server. They may only be valid for a
5126 # particular resource or set of resources.
5127 #
5128 # Populated by the system.
5129 # Read-only.
5130 # Value must be treated as opaque by clients and .
5131 # More info:
5132 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
5133 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
5134 #
5135 # SelfLink is a URL representing this object.
5136 # Populated by the system.
5137 # Read-only.
5138 # string selfLink = 4;
5139 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
5140 #
5141 # UID is the unique in time and space value for this object. It is typically
5142 # generated by the server on successful creation of a resource and is not
5143 # allowed to change on PUT operations.
5144 #
5145 # Populated by the system.
5146 # Read-only.
5147 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
5148 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
5149 # Cloud Run region. In Cloud Run the namespace must be equal to either the
5150 # project ID or project number.
5151 &quot;annotations&quot;: { # (Optional)
5152 #
5153 # Annotations is an unstructured key value map stored with a resource that
5154 # may be set by external tools to store and retrieve arbitrary metadata. They
5155 # are not queryable and should be preserved when modifying objects. More
5156 # info: http://kubernetes.io/docs/user-guide/annotations
5157 &quot;a_key&quot;: &quot;A String&quot;,
5158 },
5159 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
5160 #
5161 # Cloud Run fully managed: not supported
5162 #
5163 # Cloud Run for Anthos: supported
5164 #
5165 # GenerateName is an optional prefix, used by the server, to generate a
5166 # unique name ONLY IF the Name field has not been provided. If this field is
5167 # used, the name returned to the client will be different than the name
5168 # passed. This value will also be combined with a unique suffix. The provided
5169 # value has the same validation rules as the Name field, and may be truncated
5170 # by the length of the suffix required to make the value unique on the
5171 # server.
5172 #
5173 # If this field is specified and the generated name exists, the server will
5174 # NOT return a 409 - instead, it will either return 201 Created or 500 with
5175 # Reason ServerTimeout indicating a unique name could not be found in the
5176 # time allotted, and the client should retry (optionally after the time
5177 # indicated in the Retry-After header).
5178 #
5179 # Applied only if Name is not specified.
5180 # More info:
5181 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
5182 # string generateName = 2;
5183 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
5184 # Is required when creating
5185 # resources, although some resources may allow a client to request the
5186 # generation of an appropriate name automatically. Name is primarily intended
5187 # for creation idempotence and configuration definition. Cannot be updated.
5188 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
5189 # +optional
5190 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
5191 #
5192 # Cloud Run fully managed: not supported
5193 #
5194 # Cloud Run for Anthos: supported
5195 #
5196 # Number of seconds allowed for this object to gracefully terminate before
5197 # it will be removed from the system. Only set when deletionTimestamp is also
5198 # set. May only be shortened. Read-only.
5199 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
5200 #
5201 # Cloud Run fully managed: not supported
5202 #
5203 # Cloud Run for Anthos: supported
5204 #
5205 # The name of the cluster which the object belongs to.
5206 # This is used to distinguish resources with same name and namespace in
5207 # different clusters. This field is not set anywhere right now and apiserver
5208 # is going to ignore it if set in create or update request.
5209 &quot;finalizers&quot;: [ # (Optional)
5210 #
5211 # Cloud Run fully managed: not supported
5212 #
5213 # Cloud Run for Anthos: supported
5214 #
5215 # Must be empty before the object is deleted from the registry. Each entry
5216 # is an identifier for the responsible component that will remove the entry
5217 # from the list. If the deletionTimestamp of the object is non-nil, entries
5218 # in this list can only be removed.
5219 # +patchStrategy=merge
5220 &quot;A String&quot;,
5221 ],
5222 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
5223 #
5224 # Cloud Run fully managed: not supported
5225 #
5226 # Cloud Run for Anthos: supported
5227 #
5228 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
5229 # deleted. This field is set by the server when a graceful deletion is
5230 # requested by the user, and is not directly settable by a client. The
5231 # resource is expected to be deleted (no longer visible from resource lists,
5232 # and not reachable by name) after the time in this field, once the
5233 # finalizers list is empty. As long as the finalizers list contains items,
5234 # deletion is blocked. Once the deletionTimestamp is set, this value may not
5235 # be unset or be set further into the future, although it may be shortened or
5236 # the resource may be deleted prior to this time. For example, a user may
5237 # request that a pod is deleted in 30 seconds. The Kubelet will react by
5238 # sending a graceful termination signal to the containers in the pod. After
5239 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
5240 # to the container and after cleanup, remove the pod from the API. In the
5241 # presence of network partitions, this object may still exist after this
5242 # timestamp, until an administrator or automated process can determine the
5243 # resource is fully terminated.
5244 # If not set, graceful deletion of the object has not been requested.
5245 #
5246 # Populated by the system when a graceful deletion is requested.
5247 # Read-only.
5248 # More info:
5249 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
5250 &quot;ownerReferences&quot;: [ # (Optional)
5251 #
5252 # Cloud Run fully managed: not supported
5253 #
5254 # Cloud Run for Anthos: supported
5255 #
5256 # List of objects that own this object. If ALL objects in the list have
5257 # been deleted, this object will be garbage collected.
5258 { # OwnerReference contains enough information to let you identify an owning
5259 # object. Currently, an owning object must be in the same namespace, so there
5260 # is no namespace field.
5261 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
5262 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
5263 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
5264 # +optional
5265 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
5266 # More info:
5267 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
5268 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
5269 # the owner cannot be deleted from the key-value store until this
5270 # reference is removed.
5271 # Defaults to false.
5272 # To set this field, a user needs &quot;delete&quot; permission of the owner,
5273 # otherwise 422 (Unprocessable Entity) will be returned.
5274 # +optional
5275 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
5276 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
5277 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
5278 },
5279 ],
5280 },
5281 &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).
5282 &quot;volumes&quot;: [
5283 { # Cloud Run fully managed: not supported
5284 #
5285 # Cloud Run for Anthos: supported
5286 #
5287 # Volume represents a named volume in a container.
5288 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
5289 #
5290 # Cloud Run for Anthos: supported
5291 #
5292 # Cloud Run for Anthos: supported
5293 #
5294 # Adapts a ConfigMap into a volume.
5295 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
5296 # volume as files using the keys in the Data field as the file names, unless
5297 # the items element is populated with specific mappings of keys to paths.
5298 &quot;optional&quot;: True or False, # (Optional)
5299 #
5300 # Cloud Run fully managed: not supported
5301 #
5302 # Cloud Run for Anthos: supported
5303 #
5304 # Specify whether the Secret or its keys must be defined.
5305 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5306 #
5307 # Cloud Run for Anthos: supported
5308 #
5309 # Name of the config.
5310 &quot;defaultMode&quot;: 42, # (Optional)
5311 #
5312 # Cloud Run fully managed: not supported
5313 #
5314 # Cloud Run for Anthos: supported
5315 #
5316 # Mode bits to use on created files by default. Must be a value between 0 and
5317 # 0777. Defaults to 0644. Directories within the path are not affected by
5318 # this setting. This might be in conflict with other options that affect the
5319 # file mode, like fsGroup, and the result can be other mode bits set.
5320 &quot;items&quot;: [ # (Optional)
5321 #
5322 # Cloud Run fully managed: not supported
5323 #
5324 # Cloud Run for Anthos: supported
5325 #
5326 # If unspecified, each key-value pair in the Data field of the referenced
5327 # Secret will be projected into the volume as a file whose name is the
5328 # key and content is the value. If specified, the listed keys will be
5329 # projected into the specified paths, and unlisted keys will not be
5330 # present. If a key is specified which is not present in the Secret,
5331 # the volume setup will error unless it is marked optional.
5332 { # Cloud Run fully managed: not supported
5333 #
5334 # Cloud Run for Anthos: supported
5335 #
5336 # Maps a string key to a path within a volume.
5337 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5338 #
5339 # Cloud Run for Anthos: supported
5340 #
5341 # The key to project.
5342 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5343 #
5344 # Cloud Run for Anthos: supported
5345 #
5346 # The relative path of the file to map the key to.
5347 # May not be an absolute path.
5348 # May not contain the path element &#x27;..&#x27;.
5349 # May not start with the string &#x27;..&#x27;.
5350 &quot;mode&quot;: 42, # (Optional)
5351 #
5352 # Cloud Run fully managed: not supported
5353 #
5354 # Cloud Run for Anthos: supported
5355 #
5356 # Mode bits to use on this file, must be a value between 0 and 0777. If not
5357 # specified, the volume defaultMode will be used. This might be in conflict
5358 # with other options that affect the file mode, like fsGroup, and the result
5359 # can be other mode bits set.
5360 },
5361 ],
5362 },
5363 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5364 #
5365 # Cloud Run for Anthos: supported
5366 #
5367 # Volume&#x27;s name.
5368 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
5369 #
5370 # Cloud Run for Anthos: supported
5371 #
5372 # Cloud Run for Anthos: supported
5373 #
5374 # The contents of the target Secret&#x27;s Data field will be presented in a volume
5375 # as files using the keys in the Data field as the file names.
5376 &quot;optional&quot;: True or False, # (Optional)
5377 #
5378 # Cloud Run fully managed: not supported
5379 #
5380 # Cloud Run for Anthos: supported
5381 #
5382 # Specify whether the Secret or its keys must be defined.
5383 &quot;defaultMode&quot;: 42, # (Optional)
5384 #
5385 # Cloud Run fully managed: not supported
5386 #
5387 # Cloud Run for Anthos: supported
5388 #
5389 # Mode bits to use on created files by default. Must be a value between 0 and
5390 # 0777. Defaults to 0644. Directories within the path are not affected by
5391 # this setting. This might be in conflict with other options that affect the
5392 # file mode, like fsGroup, and the result can be other mode bits set.
5393 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5394 #
5395 # Cloud Run for Anthos: supported
5396 #
5397 # Name of the secret in the container&#x27;s namespace to use.
5398 &quot;items&quot;: [ # (Optional)
5399 #
5400 # Cloud Run fully managed: not supported
5401 #
5402 # Cloud Run for Anthos: supported
5403 #
5404 # If unspecified, each key-value pair in the Data field of the referenced
5405 # Secret will be projected into the volume as a file whose name is the
5406 # key and content is the value. If specified, the listed keys will be
5407 # projected into the specified paths, and unlisted keys will not be
5408 # present. If a key is specified which is not present in the Secret,
5409 # the volume setup will error unless it is marked optional.
5410 { # Cloud Run fully managed: not supported
5411 #
5412 # Cloud Run for Anthos: supported
5413 #
5414 # Maps a string key to a path within a volume.
5415 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5416 #
5417 # Cloud Run for Anthos: supported
5418 #
5419 # The key to project.
5420 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5421 #
5422 # Cloud Run for Anthos: supported
5423 #
5424 # The relative path of the file to map the key to.
5425 # May not be an absolute path.
5426 # May not contain the path element &#x27;..&#x27;.
5427 # May not start with the string &#x27;..&#x27;.
5428 &quot;mode&quot;: 42, # (Optional)
5429 #
5430 # Cloud Run fully managed: not supported
5431 #
5432 # Cloud Run for Anthos: supported
5433 #
5434 # Mode bits to use on this file, must be a value between 0 and 0777. If not
5435 # specified, the volume defaultMode will be used. This might be in conflict
5436 # with other options that affect the file mode, like fsGroup, and the result
5437 # can be other mode bits set.
5438 },
5439 ],
5440 },
5441 },
5442 ],
5443 &quot;containerConcurrency&quot;: 42, # (Optional)
5444 #
5445 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
5446 # requests per container instance of the Revision.
5447 #
5448 # Cloud Run fully managed: supported, defaults to 80
5449 #
5450 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
5451 # to the application is not limited, and the system decides the
5452 # target concurrency for the autoscaler.
5453 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
5454 # responding to a request.
5455 # Not currently used by Cloud Run.
5456 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
5457 # of the service. The service account represents the identity of the
5458 # running revision, and determines what permissions the revision has. If
5459 # not provided, the revision will use the project&#x27;s default service account.
5460 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
5461 # for this Revision. In the context of a Revision, we disallow a number of
5462 # fields on this Container, including: name and lifecycle.
5463 # In Cloud Run, only a single container may be provided.
5464 # The runtime contract is documented here:
5465 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
5466 { # A single application container.
5467 # This specifies both the container to run, the command to run in the container
5468 # and the arguments to supply to it.
5469 # Note that additional arguments may be supplied by the system to the container
5470 # at runtime.
5471 &quot;volumeMounts&quot;: [ # (Optional)
5472 #
5473 # Cloud Run fully managed: not supported
5474 #
5475 # Cloud Run for Anthos: supported
5476 #
5477 # Pod volumes to mount into the container&#x27;s filesystem.
5478 { # Cloud Run fully managed: not supported
5479 #
5480 # Cloud Run for Anthos: supported
5481 #
5482 # VolumeMount describes a mounting of a Volume within a container.
5483 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5484 #
5485 # Cloud Run for Anthos: supported
5486 #
5487 # This must match the Name of a Volume.
5488 &quot;readOnly&quot;: True or False, # (Optional)
5489 #
5490 # Cloud Run fully managed: not supported
5491 #
5492 # Cloud Run for Anthos: supported
5493 #
5494 # Only true is accepted.
5495 # Defaults to true.
5496 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5497 #
5498 # Cloud Run for Anthos: supported
5499 #
5500 # Path within the container at which the volume should be mounted. Must
5501 # not contain &#x27;:&#x27;.
5502 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
5503 #
5504 # Cloud Run fully managed: not supported
5505 #
5506 # Cloud Run for Anthos: supported
5507 #
5508 # Path within the volume from which the container&#x27;s volume should be mounted.
5509 # Defaults to &quot;&quot; (volume&#x27;s root).
5510 },
5511 ],
5512 &quot;args&quot;: [ # (Optional)
5513 #
5514 # Cloud Run fully managed: supported
5515 #
5516 # Cloud Run for Anthos: supported
5517 #
5518 # Arguments to the entrypoint.
5519 # The docker image&#x27;s CMD is used if this is not provided.
5520 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
5521 # environment. If a variable cannot be resolved, the reference in the input
5522 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
5523 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
5524 # regardless of whether the variable exists or not.
5525 # More info:
5526 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
5527 &quot;A String&quot;,
5528 ],
5529 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
5530 #
5531 # Cloud Run fully managed: not supported
5532 #
5533 # Cloud Run for Anthos: supported
5534 #
5535 # Container&#x27;s working directory.
5536 # If not specified, the container runtime&#x27;s default will be used, which
5537 # might be configured in the container image.
5538 &quot;ports&quot;: [ # (Optional)
5539 #
5540 # List of ports to expose from the container. Only a single port can be
5541 # specified. The specified ports must be listening on all interfaces
5542 # (0.0.0.0) within the container to be accessible.
5543 #
5544 # If omitted, a port number will be chosen and passed to the container
5545 # through the PORT environment variable for the container to listen on.
5546 { # ContainerPort represents a network port in a single container.
5547 &quot;containerPort&quot;: 42, # (Optional)
5548 #
5549 # Port number the container listens on.
5550 # This must be a valid port number, 0 &lt; x &lt; 65536.
5551 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
5552 #
5553 # Cloud Run fully managed: not supported
5554 #
5555 # Cloud Run for Anthos: supported
5556 #
5557 # Protocol for port. Must be &quot;TCP&quot;.
5558 # Defaults to &quot;TCP&quot;.
5559 &quot;name&quot;: &quot;A String&quot;, # (Optional)
5560 #
5561 # Cloud Run fully managed: not supported
5562 #
5563 # Cloud Run for Anthos: supported
5564 #
5565 # If specified, used to specify which protocol to use.
5566 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
5567 },
5568 ],
5569 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
5570 # Registry
5571 #
5572 # Cloud Run for Anthos: supported
5573 #
5574 # URL of the Container image.
5575 # More info: https://kubernetes.io/docs/concepts/containers/images
5576 &quot;envFrom&quot;: [ # (Optional)
5577 #
5578 # Cloud Run fully managed: not supported
5579 #
5580 # Cloud Run for Anthos: supported
5581 #
5582 # List of sources to populate environment variables in the container.
5583 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
5584 # will be reported as an event when the container is starting. When a key
5585 # exists in multiple sources, the value associated with the last source will
5586 # take precedence. Values defined by an Env with a duplicate key will take
5587 # precedence. Cannot be updated.
5588 { # Cloud Run fully managed: not supported
5589 #
5590 # Cloud Run for Anthos: supported
5591 #
5592 # EnvFromSource represents the source of a set of ConfigMaps
5593 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
5594 #
5595 # Cloud Run fully managed: not supported
5596 #
5597 # Cloud Run for Anthos: supported
5598 #
5599 # An optional identifier to prepend to each key in the ConfigMap. Must be a
5600 # C_IDENTIFIER.
5601 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
5602 #
5603 # Cloud Run fully managed: not supported
5604 #
5605 # Cloud Run for Anthos: supported
5606 #
5607 # The ConfigMap to select from
5608 #
5609 # Cloud Run for Anthos: supported
5610 #
5611 # ConfigMapEnvSource selects a ConfigMap to populate the environment
5612 # variables with.
5613 #
5614 # The contents of the target ConfigMap&#x27;s Data field will represent the
5615 # key-value pairs as environment variables.
5616 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
5617 # directly into the message. Use the &quot;name&quot; field instead.
5618 #
5619 # Cloud Run for Anthos: supported
5620 #
5621 # LocalObjectReference contains enough information to let you locate the
5622 # referenced object inside the same namespace.
5623 &quot;name&quot;: &quot;A String&quot;, # (Optional)
5624 #
5625 # Cloud Run fully managed: not supported
5626 #
5627 # Cloud Run for Anthos: supported
5628 #
5629 # Name of the referent.
5630 # More info:
5631 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
5632 },
5633 &quot;optional&quot;: True or False, # (Optional)
5634 #
5635 # Cloud Run fully managed: not supported
5636 #
5637 # Cloud Run for Anthos: supported
5638 #
5639 # Specify whether the ConfigMap must be defined
5640 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5641 #
5642 # Cloud Run for Anthos: supported
5643 #
5644 # The ConfigMap to select from.
5645 },
5646 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
5647 #
5648 # Cloud Run fully managed: not supported
5649 #
5650 # Cloud Run for Anthos: supported
5651 #
5652 # The Secret to select from
5653 #
5654 # Cloud Run for Anthos: supported
5655 #
5656 # SecretEnvSource selects a Secret to populate the environment
5657 # variables with.
5658 #
5659 # The contents of the target Secret&#x27;s Data field will represent the
5660 # key-value pairs as environment variables.
5661 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
5662 # directly into the message. Use the &quot;name&quot; field instead.
5663 #
5664 # Cloud Run for Anthos: supported
5665 #
5666 # LocalObjectReference contains enough information to let you locate the
5667 # referenced object inside the same namespace.
5668 &quot;name&quot;: &quot;A String&quot;, # (Optional)
5669 #
5670 # Cloud Run fully managed: not supported
5671 #
5672 # Cloud Run for Anthos: supported
5673 #
5674 # Name of the referent.
5675 # More info:
5676 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
5677 },
5678 &quot;optional&quot;: True or False, # (Optional)
5679 #
5680 # Cloud Run fully managed: not supported
5681 #
5682 # Cloud Run for Anthos: supported
5683 #
5684 # Specify whether the Secret must be defined
5685 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5686 #
5687 # Cloud Run for Anthos: supported
5688 #
5689 # The Secret to select from.
5690 },
5691 },
5692 ],
5693 &quot;name&quot;: &quot;A String&quot;, # (Optional)
5694 #
5695 # Name of the container specified as a DNS_LABEL.
5696 &quot;command&quot;: [
5697 &quot;A String&quot;,
5698 ],
5699 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
5700 #
5701 # Cloud Run fully managed: not supported
5702 #
5703 # Cloud Run for Anthos: supported
5704 #
5705 # Indicate how the termination message should be populated. File will use the
5706 # contents of terminationMessagePath to populate the container status message
5707 # on both success and failure. FallbackToLogsOnError will use the last chunk
5708 # of container log output if the termination message file is empty and the
5709 # container exited with an error. The log output is limited to 2048 bytes or
5710 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
5711 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
5712 #
5713 # Cloud Run fully managed: not supported
5714 #
5715 # Cloud Run for Anthos: supported
5716 #
5717 # Security options the pod should run with.
5718 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
5719 # More info:
5720 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
5721 #
5722 # Cloud Run for Anthos: supported
5723 #
5724 # SecurityContext holds security configuration that will be applied to a
5725 # container. Some fields are present in both SecurityContext and
5726 # PodSecurityContext. When both are set, the values in SecurityContext take
5727 # precedence.
5728 &quot;runAsUser&quot;: 42, # (Optional)
5729 #
5730 # Cloud Run fully managed: not supported
5731 #
5732 # Cloud Run for Anthos: supported
5733 #
5734 # The UID to run the entrypoint of the container process.
5735 # Defaults to user specified in image metadata if unspecified.
5736 # May also be set in PodSecurityContext. If set in both SecurityContext and
5737 # PodSecurityContext, the value specified in SecurityContext takes
5738 # precedence.
5739 },
5740 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
5741 #
5742 # Cloud Run fully managed: not supported
5743 #
5744 # Cloud Run for Anthos: supported
5745 #
5746 # Periodic probe of container liveness.
5747 # Container will be restarted if the probe fails.
5748 # More info:
5749 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5750 #
5751 # Cloud Run for Anthos: supported
5752 #
5753 # Probe describes a health check to be performed against a container to
5754 # determine whether it is alive or ready to receive traffic.
5755 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
5756 #
5757 # Cloud Run fully managed: not supported
5758 #
5759 # Cloud Run for Anthos: supported
5760 #
5761 # HTTPGet specifies the http request to perform.
5762 #
5763 # A field inlined from the Handler message.
5764 #
5765 # Cloud Run for Anthos: supported
5766 #
5767 # HTTPGetAction describes an action based on HTTP Get requests.
5768 &quot;httpHeaders&quot;: [ # (Optional)
5769 #
5770 # Cloud Run fully managed: not supported
5771 #
5772 # Cloud Run for Anthos: supported
5773 #
5774 # Custom headers to set in the request. HTTP allows repeated headers.
5775 { # Cloud Run fully managed: not supported
5776 #
5777 # Cloud Run for Anthos: supported
5778 #
5779 # HTTPHeader describes a custom header to be used in HTTP probes
5780 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5781 #
5782 # Cloud Run for Anthos: supported
5783 #
5784 # The header field name
5785 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5786 #
5787 # Cloud Run for Anthos: supported
5788 #
5789 # The header field value
5790 },
5791 ],
5792 &quot;path&quot;: &quot;A String&quot;, # (Optional)
5793 #
5794 # Cloud Run fully managed: not supported
5795 #
5796 # Cloud Run for Anthos: supported
5797 #
5798 # Path to access on the HTTP server.
5799 &quot;host&quot;: &quot;A String&quot;, # (Optional)
5800 #
5801 # Cloud Run fully managed: not supported
5802 #
5803 # Cloud Run for Anthos: supported
5804 #
5805 # Host name to connect to, defaults to the pod IP. You probably want to set
5806 # &quot;Host&quot; in httpHeaders instead.
5807 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
5808 #
5809 # Cloud Run fully managed: not supported
5810 #
5811 # Cloud Run for Anthos: supported
5812 #
5813 # Scheme to use for connecting to the host.
5814 # Defaults to HTTP.
5815 },
5816 &quot;failureThreshold&quot;: 42, # (Optional)
5817 #
5818 # Cloud Run fully managed: not supported
5819 #
5820 # Cloud Run for Anthos: supported
5821 #
5822 # Minimum consecutive failures for the probe to be considered failed after
5823 # having succeeded. Defaults to 3. Minimum value is 1.
5824 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
5825 #
5826 # Cloud Run fully managed: not supported
5827 #
5828 # Cloud Run for Anthos: supported
5829 #
5830 # One and only one of the following should be specified.
5831 # Exec specifies the action to take.
5832 #
5833 # A field inlined from the Handler message.
5834 #
5835 # Cloud Run for Anthos: supported
5836 #
5837 # ExecAction describes a &quot;run in container&quot; action.
5838 &quot;command&quot;: &quot;A String&quot;, # (Optional)
5839 #
5840 # Cloud Run fully managed: not supported
5841 #
5842 # Cloud Run for Anthos: supported
5843 #
5844 # Command is the command line to execute inside the container, the working
5845 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
5846 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
5847 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
5848 # explicitly call out to that shell. Exit status of 0 is treated as
5849 # live/healthy and non-zero is unhealthy.
5850 },
5851 &quot;initialDelaySeconds&quot;: 42, # (Optional)
5852 #
5853 # Cloud Run fully managed: not supported
5854 #
5855 # Cloud Run for Anthos: supported
5856 #
5857 # Number of seconds after the container has started before liveness probes
5858 # are initiated. More info:
5859 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5860 &quot;timeoutSeconds&quot;: 42, # (Optional)
5861 #
5862 # Cloud Run fully managed: not supported
5863 #
5864 # Cloud Run for Anthos: supported
5865 #
5866 # Number of seconds after which the probe times out.
5867 # Defaults to 1 second. Minimum value is 1.
5868 # More info:
5869 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
5870 &quot;successThreshold&quot;: 42, # (Optional)
5871 #
5872 # Cloud Run fully managed: not supported
5873 #
5874 # Cloud Run for Anthos: supported
5875 #
5876 # Minimum consecutive successes for the probe to be considered successful
5877 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
5878 # is 1.
5879 &quot;periodSeconds&quot;: 42, # (Optional)
5880 #
5881 # Cloud Run fully managed: not supported
5882 #
5883 # Cloud Run for Anthos: supported
5884 #
5885 # How often (in seconds) to perform the probe.
5886 # Default to 10 seconds. Minimum value is 1.
5887 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
5888 #
5889 # Cloud Run fully managed: not supported
5890 #
5891 # Cloud Run for Anthos: supported
5892 #
5893 # TCPSocket specifies an action involving a TCP port.
5894 # TCP hooks not yet supported
5895 #
5896 # A field inlined from the Handler message.
5897 #
5898 # Cloud Run for Anthos: supported
5899 #
5900 # TCPSocketAction describes an action based on opening a socket
5901 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
5902 #
5903 # Cloud Run for Anthos: supported
5904 #
5905 # Number or name of the port to access on the container.
5906 # Number must be in the range 1 to 65535.
5907 # Name must be an IANA_SVC_NAME.
5908 #
5909 # This field is currently limited to integer types only because of proto&#x27;s
5910 # inability to properly support the IntOrString golang type.
5911 &quot;host&quot;: &quot;A String&quot;, # (Optional)
5912 #
5913 # Cloud Run fully managed: not supported
5914 #
5915 # Cloud Run for Anthos: supported
5916 #
5917 # Optional: Host name to connect to, defaults to the pod IP.
5918 },
5919 },
5920 &quot;env&quot;: [ # (Optional)
5921 #
5922 # Cloud Run fully managed: supported
5923 #
5924 # Cloud Run for Anthos: supported
5925 #
5926 # List of environment variables to set in the container.
5927 { # EnvVar represents an environment variable present in a Container.
5928 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
5929 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
5930 #
5931 # Cloud Run fully managed: not supported
5932 #
5933 # Cloud Run for Anthos: supported
5934 #
5935 # Source for the environment variable&#x27;s value. Cannot be used if value is not
5936 # empty.
5937 #
5938 # Cloud Run for Anthos: supported
5939 #
5940 # EnvVarSource represents a source for the value of an EnvVar.
5941 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
5942 #
5943 # Cloud Run fully managed: not supported
5944 #
5945 # Cloud Run for Anthos: supported
5946 #
5947 # Selects a key of a secret in the pod&#x27;s namespace
5948 #
5949 # Cloud Run for Anthos: supported
5950 #
5951 # SecretKeySelector selects a key of a Secret.
5952 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5953 #
5954 # Cloud Run for Anthos: supported
5955 #
5956 # The key of the secret to select from. Must be a valid secret key.
5957 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
5958 #
5959 # Cloud Run for Anthos: supported
5960 #
5961 # The name of the secret in the pod&#x27;s namespace to select from.
5962 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
5963 # directly into the message. Use the &quot;name&quot; field instead.
5964 #
5965 # Cloud Run for Anthos: supported
5966 #
5967 # LocalObjectReference contains enough information to let you locate the
5968 # referenced object inside the same namespace.
5969 &quot;name&quot;: &quot;A String&quot;, # (Optional)
5970 #
5971 # Cloud Run fully managed: not supported
5972 #
5973 # Cloud Run for Anthos: supported
5974 #
5975 # Name of the referent.
5976 # More info:
5977 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
5978 },
5979 &quot;optional&quot;: True or False, # (Optional)
5980 #
5981 # Cloud Run fully managed: not supported
5982 #
5983 # Cloud Run for Anthos: supported
5984 #
5985 # Specify whether the Secret or its key must be defined
5986 },
5987 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
5988 #
5989 # Cloud Run fully managed: not supported
5990 #
5991 # Cloud Run for Anthos: supported
5992 #
5993 # Selects a key of a ConfigMap.
5994 #
5995 # Cloud Run for Anthos: supported
5996 #
5997 # Selects a key from a ConfigMap.
5998 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
5999 # directly into the message. Use the &quot;name&quot; field instead.
6000 #
6001 # Cloud Run for Anthos: supported
6002 #
6003 # LocalObjectReference contains enough information to let you locate the
6004 # referenced object inside the same namespace.
6005 &quot;name&quot;: &quot;A String&quot;, # (Optional)
6006 #
6007 # Cloud Run fully managed: not supported
6008 #
6009 # Cloud Run for Anthos: supported
6010 #
6011 # Name of the referent.
6012 # More info:
6013 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
6014 },
6015 &quot;optional&quot;: True or False, # (Optional)
6016 #
6017 # Cloud Run fully managed: not supported
6018 #
6019 # Cloud Run for Anthos: supported
6020 #
6021 # Specify whether the ConfigMap or its key must be defined
6022 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6023 #
6024 # Cloud Run for Anthos: supported
6025 #
6026 # The key to select.
6027 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6028 #
6029 # Cloud Run for Anthos: supported
6030 #
6031 # The ConfigMap to select from.
6032 },
6033 },
6034 &quot;value&quot;: &quot;A String&quot;, # (Optional)
6035 #
6036 # Variable references $(VAR_NAME) are expanded
6037 # using the previous defined environment variables in the container and
6038 # any route environment variables. If a variable cannot be resolved,
6039 # the reference in the input string will be unchanged. The $(VAR_NAME)
6040 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
6041 # references will never be expanded, regardless of whether the variable
6042 # exists or not.
6043 # Defaults to &quot;&quot;.
6044 },
6045 ],
6046 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
6047 #
6048 # Cloud Run fully managed: supported
6049 #
6050 # Cloud Run for Anthos: supported
6051 #
6052 # Compute Resources required by this container.
6053 # More info:
6054 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
6055 &quot;limits&quot;: { # (Optional)
6056 #
6057 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
6058 # supported value for CPU is &#x27;1&#x27;.
6059 #
6060 # Cloud Run for Anthos: supported
6061 #
6062 # Limits describes the maximum amount of compute resources allowed.
6063 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
6064 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
6065 &quot;a_key&quot;: &quot;A String&quot;,
6066 },
6067 &quot;requests&quot;: { # (Optional)
6068 #
6069 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
6070 # supported value for CPU is &#x27;1&#x27;.
6071 #
6072 # Cloud Run for Anthos: supported
6073 #
6074 # Requests describes the minimum amount of compute resources required.
6075 # If Requests is omitted for a container, it defaults to Limits if that is
6076 # explicitly specified, otherwise to an implementation-defined value.
6077 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
6078 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
6079 &quot;a_key&quot;: &quot;A String&quot;,
6080 },
6081 },
6082 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
6083 #
6084 # Cloud Run fully managed: not supported
6085 #
6086 # Cloud Run for Anthos: supported
6087 #
6088 # Periodic probe of container service readiness.
6089 # Container will be removed from service endpoints if the probe fails.
6090 # More info:
6091 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6092 #
6093 # Cloud Run for Anthos: supported
6094 #
6095 # Probe describes a health check to be performed against a container to
6096 # determine whether it is alive or ready to receive traffic.
6097 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
6098 #
6099 # Cloud Run fully managed: not supported
6100 #
6101 # Cloud Run for Anthos: supported
6102 #
6103 # HTTPGet specifies the http request to perform.
6104 #
6105 # A field inlined from the Handler message.
6106 #
6107 # Cloud Run for Anthos: supported
6108 #
6109 # HTTPGetAction describes an action based on HTTP Get requests.
6110 &quot;httpHeaders&quot;: [ # (Optional)
6111 #
6112 # Cloud Run fully managed: not supported
6113 #
6114 # Cloud Run for Anthos: supported
6115 #
6116 # Custom headers to set in the request. HTTP allows repeated headers.
6117 { # Cloud Run fully managed: not supported
6118 #
6119 # Cloud Run for Anthos: supported
6120 #
6121 # HTTPHeader describes a custom header to be used in HTTP probes
6122 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6123 #
6124 # Cloud Run for Anthos: supported
6125 #
6126 # The header field name
6127 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6128 #
6129 # Cloud Run for Anthos: supported
6130 #
6131 # The header field value
6132 },
6133 ],
6134 &quot;path&quot;: &quot;A String&quot;, # (Optional)
6135 #
6136 # Cloud Run fully managed: not supported
6137 #
6138 # Cloud Run for Anthos: supported
6139 #
6140 # Path to access on the HTTP server.
6141 &quot;host&quot;: &quot;A String&quot;, # (Optional)
6142 #
6143 # Cloud Run fully managed: not supported
6144 #
6145 # Cloud Run for Anthos: supported
6146 #
6147 # Host name to connect to, defaults to the pod IP. You probably want to set
6148 # &quot;Host&quot; in httpHeaders instead.
6149 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
6150 #
6151 # Cloud Run fully managed: not supported
6152 #
6153 # Cloud Run for Anthos: supported
6154 #
6155 # Scheme to use for connecting to the host.
6156 # Defaults to HTTP.
6157 },
6158 &quot;failureThreshold&quot;: 42, # (Optional)
6159 #
6160 # Cloud Run fully managed: not supported
6161 #
6162 # Cloud Run for Anthos: supported
6163 #
6164 # Minimum consecutive failures for the probe to be considered failed after
6165 # having succeeded. Defaults to 3. Minimum value is 1.
6166 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
6167 #
6168 # Cloud Run fully managed: not supported
6169 #
6170 # Cloud Run for Anthos: supported
6171 #
6172 # One and only one of the following should be specified.
6173 # Exec specifies the action to take.
6174 #
6175 # A field inlined from the Handler message.
6176 #
6177 # Cloud Run for Anthos: supported
6178 #
6179 # ExecAction describes a &quot;run in container&quot; action.
6180 &quot;command&quot;: &quot;A String&quot;, # (Optional)
6181 #
6182 # Cloud Run fully managed: not supported
6183 #
6184 # Cloud Run for Anthos: supported
6185 #
6186 # Command is the command line to execute inside the container, the working
6187 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
6188 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
6189 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
6190 # explicitly call out to that shell. Exit status of 0 is treated as
6191 # live/healthy and non-zero is unhealthy.
6192 },
6193 &quot;initialDelaySeconds&quot;: 42, # (Optional)
6194 #
6195 # Cloud Run fully managed: not supported
6196 #
6197 # Cloud Run for Anthos: supported
6198 #
6199 # Number of seconds after the container has started before liveness probes
6200 # are initiated. More info:
6201 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6202 &quot;timeoutSeconds&quot;: 42, # (Optional)
6203 #
6204 # Cloud Run fully managed: not supported
6205 #
6206 # Cloud Run for Anthos: supported
6207 #
6208 # Number of seconds after which the probe times out.
6209 # Defaults to 1 second. Minimum value is 1.
6210 # More info:
6211 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
6212 &quot;successThreshold&quot;: 42, # (Optional)
6213 #
6214 # Cloud Run fully managed: not supported
6215 #
6216 # Cloud Run for Anthos: supported
6217 #
6218 # Minimum consecutive successes for the probe to be considered successful
6219 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
6220 # is 1.
6221 &quot;periodSeconds&quot;: 42, # (Optional)
6222 #
6223 # Cloud Run fully managed: not supported
6224 #
6225 # Cloud Run for Anthos: supported
6226 #
6227 # How often (in seconds) to perform the probe.
6228 # Default to 10 seconds. Minimum value is 1.
6229 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
6230 #
6231 # Cloud Run fully managed: not supported
6232 #
6233 # Cloud Run for Anthos: supported
6234 #
6235 # TCPSocket specifies an action involving a TCP port.
6236 # TCP hooks not yet supported
6237 #
6238 # A field inlined from the Handler message.
6239 #
6240 # Cloud Run for Anthos: supported
6241 #
6242 # TCPSocketAction describes an action based on opening a socket
6243 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
6244 #
6245 # Cloud Run for Anthos: supported
6246 #
6247 # Number or name of the port to access on the container.
6248 # Number must be in the range 1 to 65535.
6249 # Name must be an IANA_SVC_NAME.
6250 #
6251 # This field is currently limited to integer types only because of proto&#x27;s
6252 # inability to properly support the IntOrString golang type.
6253 &quot;host&quot;: &quot;A String&quot;, # (Optional)
6254 #
6255 # Cloud Run fully managed: not supported
6256 #
6257 # Cloud Run for Anthos: supported
6258 #
6259 # Optional: Host name to connect to, defaults to the pod IP.
6260 },
6261 },
6262 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
6263 #
6264 # Cloud Run fully managed: not supported
6265 #
6266 # Cloud Run for Anthos: supported
6267 #
6268 # Image pull policy.
6269 # One of Always, Never, IfNotPresent.
6270 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
6271 # More info:
6272 # https://kubernetes.io/docs/concepts/containers/images#updating-images
6273 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
6274 #
6275 # Cloud Run fully managed: not supported
6276 #
6277 # Cloud Run for Anthos: supported
6278 #
6279 # Path at which the file to which the container&#x27;s termination
6280 # message will be written is mounted into the container&#x27;s filesystem. Message
6281 # written is intended to be brief final status, such as an assertion failure
6282 # message. Will be truncated by the node if greater than 4096 bytes. The
6283 # total message length across all containers will be limited to 12kb.
6284 # Defaults to /dev/termination-log.
6285 },
6286 ],
6287 },
6288 },
6289 },
6290 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
6291 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
6292 # and annotations.
6293 # persisted resources must have, which includes all objects users must create.
6294 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
6295 #
6296 # CreationTimestamp is a timestamp representing the server time when this
6297 # object was created. It is not guaranteed to be set in happens-before order
6298 # across separate operations. Clients may not set this value. It is
6299 # represented in RFC3339 form and is in UTC.
6300 #
6301 # Populated by the system.
6302 # Read-only.
6303 # Null for lists.
6304 # More info:
6305 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
6306 &quot;labels&quot;: { # (Optional)
6307 #
6308 # Map of string keys and values that can be used to organize and categorize
6309 # (scope and select) objects. May match selectors of replication controllers
6310 # and routes.
6311 # More info: http://kubernetes.io/docs/user-guide/labels
6312 &quot;a_key&quot;: &quot;A String&quot;,
6313 },
6314 &quot;generation&quot;: 42, # (Optional)
6315 #
6316 # A sequence number representing a specific generation of the desired state.
6317 # Populated by the system. Read-only.
6318 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
6319 #
6320 # An opaque value that represents the internal version of this object that
6321 # can be used by clients to determine when objects have changed. May be used
6322 # for optimistic concurrency, change detection, and the watch operation on a
6323 # resource or set of resources. Clients must treat these values as opaque and
6324 # passed unmodified back to the server. They may only be valid for a
6325 # particular resource or set of resources.
6326 #
6327 # Populated by the system.
6328 # Read-only.
6329 # Value must be treated as opaque by clients and .
6330 # More info:
6331 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
6332 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
6333 #
6334 # SelfLink is a URL representing this object.
6335 # Populated by the system.
6336 # Read-only.
6337 # string selfLink = 4;
6338 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
6339 #
6340 # UID is the unique in time and space value for this object. It is typically
6341 # generated by the server on successful creation of a resource and is not
6342 # allowed to change on PUT operations.
6343 #
6344 # Populated by the system.
6345 # Read-only.
6346 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
6347 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
6348 # Cloud Run region. In Cloud Run the namespace must be equal to either the
6349 # project ID or project number.
6350 &quot;annotations&quot;: { # (Optional)
6351 #
6352 # Annotations is an unstructured key value map stored with a resource that
6353 # may be set by external tools to store and retrieve arbitrary metadata. They
6354 # are not queryable and should be preserved when modifying objects. More
6355 # info: http://kubernetes.io/docs/user-guide/annotations
6356 &quot;a_key&quot;: &quot;A String&quot;,
6357 },
6358 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
6359 #
6360 # Cloud Run fully managed: not supported
6361 #
6362 # Cloud Run for Anthos: supported
6363 #
6364 # GenerateName is an optional prefix, used by the server, to generate a
6365 # unique name ONLY IF the Name field has not been provided. If this field is
6366 # used, the name returned to the client will be different than the name
6367 # passed. This value will also be combined with a unique suffix. The provided
6368 # value has the same validation rules as the Name field, and may be truncated
6369 # by the length of the suffix required to make the value unique on the
6370 # server.
6371 #
6372 # If this field is specified and the generated name exists, the server will
6373 # NOT return a 409 - instead, it will either return 201 Created or 500 with
6374 # Reason ServerTimeout indicating a unique name could not be found in the
6375 # time allotted, and the client should retry (optionally after the time
6376 # indicated in the Retry-After header).
6377 #
6378 # Applied only if Name is not specified.
6379 # More info:
6380 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
6381 # string generateName = 2;
6382 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
6383 # Is required when creating
6384 # resources, although some resources may allow a client to request the
6385 # generation of an appropriate name automatically. Name is primarily intended
6386 # for creation idempotence and configuration definition. Cannot be updated.
6387 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
6388 # +optional
6389 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
6390 #
6391 # Cloud Run fully managed: not supported
6392 #
6393 # Cloud Run for Anthos: supported
6394 #
6395 # Number of seconds allowed for this object to gracefully terminate before
6396 # it will be removed from the system. Only set when deletionTimestamp is also
6397 # set. May only be shortened. Read-only.
6398 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
6399 #
6400 # Cloud Run fully managed: not supported
6401 #
6402 # Cloud Run for Anthos: supported
6403 #
6404 # The name of the cluster which the object belongs to.
6405 # This is used to distinguish resources with same name and namespace in
6406 # different clusters. This field is not set anywhere right now and apiserver
6407 # is going to ignore it if set in create or update request.
6408 &quot;finalizers&quot;: [ # (Optional)
6409 #
6410 # Cloud Run fully managed: not supported
6411 #
6412 # Cloud Run for Anthos: supported
6413 #
6414 # Must be empty before the object is deleted from the registry. Each entry
6415 # is an identifier for the responsible component that will remove the entry
6416 # from the list. If the deletionTimestamp of the object is non-nil, entries
6417 # in this list can only be removed.
6418 # +patchStrategy=merge
6419 &quot;A String&quot;,
6420 ],
6421 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
6422 #
6423 # Cloud Run fully managed: not supported
6424 #
6425 # Cloud Run for Anthos: supported
6426 #
6427 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
6428 # deleted. This field is set by the server when a graceful deletion is
6429 # requested by the user, and is not directly settable by a client. The
6430 # resource is expected to be deleted (no longer visible from resource lists,
6431 # and not reachable by name) after the time in this field, once the
6432 # finalizers list is empty. As long as the finalizers list contains items,
6433 # deletion is blocked. Once the deletionTimestamp is set, this value may not
6434 # be unset or be set further into the future, although it may be shortened or
6435 # the resource may be deleted prior to this time. For example, a user may
6436 # request that a pod is deleted in 30 seconds. The Kubelet will react by
6437 # sending a graceful termination signal to the containers in the pod. After
6438 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
6439 # to the container and after cleanup, remove the pod from the API. In the
6440 # presence of network partitions, this object may still exist after this
6441 # timestamp, until an administrator or automated process can determine the
6442 # resource is fully terminated.
6443 # If not set, graceful deletion of the object has not been requested.
6444 #
6445 # Populated by the system when a graceful deletion is requested.
6446 # Read-only.
6447 # More info:
6448 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
6449 &quot;ownerReferences&quot;: [ # (Optional)
6450 #
6451 # Cloud Run fully managed: not supported
6452 #
6453 # Cloud Run for Anthos: supported
6454 #
6455 # List of objects that own this object. If ALL objects in the list have
6456 # been deleted, this object will be garbage collected.
6457 { # OwnerReference contains enough information to let you identify an owning
6458 # object. Currently, an owning object must be in the same namespace, so there
6459 # is no namespace field.
6460 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
6461 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
6462 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
6463 # +optional
6464 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
6465 # More info:
6466 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
6467 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
6468 # the owner cannot be deleted from the key-value store until this
6469 # reference is removed.
6470 # Defaults to false.
6471 # To set this field, a user needs &quot;delete&quot; permission of the owner,
6472 # otherwise 422 (Unprocessable Entity) will be returned.
6473 # +optional
6474 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
6475 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
6476 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
6477 },
6478 ],
6479 },
6480 },
6481 ],
6482 }</pre>
6483</div>
6484
6485<div class="method">
6486 <code class="details" id="replaceService">replaceService(name, body=None, x__xgafv=None)</code>
6487 <pre>Replace a service.
6488
6489Only the spec and metadata labels and annotations are modifiable. After
6490the Update request, Cloud Run will work to make the &#x27;status&#x27;
6491match the requested &#x27;spec&#x27;.
6492
6493May provide metadata.resourceVersion to enforce update from last read for
6494optimistic concurrency control.
6495
6496Args:
6497 name: string, The name of the service being replaced.
6498For Cloud Run (fully managed), replace {namespace_id} with the project ID
6499or number. (required)
6500 body: object, The request body.
6501 The object takes the form of:
6502
6503{ # Service acts as a top-level container that manages a set of Routes and
6504 # Configurations which implement a network service. Service exists to provide a
6505 # singular abstraction which can be access controlled, reasoned about, and
6506 # which encapsulates software lifecycle decisions such as rollout policy and
6507 # team resource ownership. Service acts only as an orchestrator of the
6508 # underlying Routes and Configurations (much as a kubernetes Deployment
6509 # orchestrates ReplicaSets).
6510 #
6511 # The Service&#x27;s controller will track the statuses of its owned Configuration
6512 # and Route, reflecting their statuses and conditions as its own.
6513 #
6514 # See also:
6515 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
6516 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
6517 # controller).
6518 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
6519 # LatestCreatedRevisionName is the last revision that was created from this
6520 # Service&#x27;s Configuration. It might not be ready yet, for that use
6521 # LatestReadyRevisionName.
6522 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
6523 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
6524 # state of the world.
6525 # Service-specific conditions include:
6526 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
6527 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
6528 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
6529 # ready.
6530 { # Condition defines a generic condition for a Resource
6531 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
6532 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
6533 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
6534 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
6535 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
6536 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
6537 # See also:
6538 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
6539 # Types common to all resources include:
6540 # * &quot;Ready&quot;: True when the Resource is ready.
6541 },
6542 ],
6543 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
6544 # Similar to url, information on where the service is available on HTTP.
6545 &quot;url&quot;: &quot;A String&quot;,
6546 },
6547 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
6548 # was last processed by the controller.
6549 #
6550 # Clients polling for completed reconciliation should poll until
6551 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
6552 # is True or False.
6553 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
6554 # URL holds the url that will distribute traffic over the provided traffic
6555 # targets. It generally has the form
6556 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
6557 &quot;traffic&quot;: [ # From RouteStatus.
6558 # Traffic holds the configured traffic distribution.
6559 # These entries will always contain RevisionName references.
6560 # When ConfigurationName appears in the spec, this will hold the
6561 # LatestReadyRevisionName that we last observed.
6562 { # TrafficTarget holds a single entry of the routing table for a Route.
6563 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
6564 # is displayed in status, and is disallowed on spec. URL must contain a
6565 # scheme (e.g. http://) and a hostname, but may not contain anything else
6566 # (e.g. basic auth, url path, etc.
6567 #
6568 # Not currently supported in Cloud Run.
6569 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
6570 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
6571 # of the referenced configuration changes, we will automatically migrate
6572 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
6573 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
6574 # with RevisionName.
6575 #
6576 # Cloud Run currently supports a single ConfigurationName.
6577 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
6578 # This defaults to zero if unspecified.
6579 #
6580 # Cloud Run currently requires 100 percent for a single ConfigurationName
6581 # TrafficTarget entry.
6582 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
6583 # traffic. This is mutually exclusive with ConfigurationName.
6584 #
6585 # Providing RevisionName in spec is not currently supported by Cloud Run.
6586 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
6587 # ready Revision of the Configuration should be used for this traffic
6588 # target. When provided LatestRevision must be true if RevisionName is
6589 # empty; it must be false when RevisionName is non-empty.
6590 #
6591 # +optional
6592 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
6593 # this target exclusively.
6594 #
6595 # Not currently supported in Cloud Run.
6596 # +optional
6597 },
6598 ],
6599 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
6600 # LatestReadyRevisionName holds the name of the latest Revision stamped out
6601 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
6602 # &quot;True&quot;.
6603 },
6604 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
6605 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
6606 # is used to manipulate the underlying Route and Configuration(s).
6607 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
6608 # Revisions and Configurations.
6609 { # TrafficTarget holds a single entry of the routing table for a Route.
6610 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
6611 # is displayed in status, and is disallowed on spec. URL must contain a
6612 # scheme (e.g. http://) and a hostname, but may not contain anything else
6613 # (e.g. basic auth, url path, etc.
6614 #
6615 # Not currently supported in Cloud Run.
6616 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
6617 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
6618 # of the referenced configuration changes, we will automatically migrate
6619 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
6620 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
6621 # with RevisionName.
6622 #
6623 # Cloud Run currently supports a single ConfigurationName.
6624 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
6625 # This defaults to zero if unspecified.
6626 #
6627 # Cloud Run currently requires 100 percent for a single ConfigurationName
6628 # TrafficTarget entry.
6629 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
6630 # traffic. This is mutually exclusive with ConfigurationName.
6631 #
6632 # Providing RevisionName in spec is not currently supported by Cloud Run.
6633 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
6634 # ready Revision of the Configuration should be used for this traffic
6635 # target. When provided LatestRevision must be true if RevisionName is
6636 # empty; it must be false when RevisionName is non-empty.
6637 #
6638 # +optional
6639 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
6640 # this target exclusively.
6641 #
6642 # Not currently supported in Cloud Run.
6643 # +optional
6644 },
6645 ],
6646 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
6647 # be stamped out.
6648 # from a template. Based on:
6649 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
6650 &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
6651 # will be generated by the Configuration.
6652 # To set minimum instances for this revision, use the
6653 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
6654 # To set maximum instances for this revision, use the
6655 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
6656 # To set Cloud SQL connections for the revision, use the
6657 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
6658 # persisted resources must have, which includes all objects users must create.
6659 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
6660 #
6661 # CreationTimestamp is a timestamp representing the server time when this
6662 # object was created. It is not guaranteed to be set in happens-before order
6663 # across separate operations. Clients may not set this value. It is
6664 # represented in RFC3339 form and is in UTC.
6665 #
6666 # Populated by the system.
6667 # Read-only.
6668 # Null for lists.
6669 # More info:
6670 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
6671 &quot;labels&quot;: { # (Optional)
6672 #
6673 # Map of string keys and values that can be used to organize and categorize
6674 # (scope and select) objects. May match selectors of replication controllers
6675 # and routes.
6676 # More info: http://kubernetes.io/docs/user-guide/labels
6677 &quot;a_key&quot;: &quot;A String&quot;,
6678 },
6679 &quot;generation&quot;: 42, # (Optional)
6680 #
6681 # A sequence number representing a specific generation of the desired state.
6682 # Populated by the system. Read-only.
6683 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
6684 #
6685 # An opaque value that represents the internal version of this object that
6686 # can be used by clients to determine when objects have changed. May be used
6687 # for optimistic concurrency, change detection, and the watch operation on a
6688 # resource or set of resources. Clients must treat these values as opaque and
6689 # passed unmodified back to the server. They may only be valid for a
6690 # particular resource or set of resources.
6691 #
6692 # Populated by the system.
6693 # Read-only.
6694 # Value must be treated as opaque by clients and .
6695 # More info:
6696 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
6697 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
6698 #
6699 # SelfLink is a URL representing this object.
6700 # Populated by the system.
6701 # Read-only.
6702 # string selfLink = 4;
6703 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
6704 #
6705 # UID is the unique in time and space value for this object. It is typically
6706 # generated by the server on successful creation of a resource and is not
6707 # allowed to change on PUT operations.
6708 #
6709 # Populated by the system.
6710 # Read-only.
6711 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
6712 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
6713 # Cloud Run region. In Cloud Run the namespace must be equal to either the
6714 # project ID or project number.
6715 &quot;annotations&quot;: { # (Optional)
6716 #
6717 # Annotations is an unstructured key value map stored with a resource that
6718 # may be set by external tools to store and retrieve arbitrary metadata. They
6719 # are not queryable and should be preserved when modifying objects. More
6720 # info: http://kubernetes.io/docs/user-guide/annotations
6721 &quot;a_key&quot;: &quot;A String&quot;,
6722 },
6723 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
6724 #
6725 # Cloud Run fully managed: not supported
6726 #
6727 # Cloud Run for Anthos: supported
6728 #
6729 # GenerateName is an optional prefix, used by the server, to generate a
6730 # unique name ONLY IF the Name field has not been provided. If this field is
6731 # used, the name returned to the client will be different than the name
6732 # passed. This value will also be combined with a unique suffix. The provided
6733 # value has the same validation rules as the Name field, and may be truncated
6734 # by the length of the suffix required to make the value unique on the
6735 # server.
6736 #
6737 # If this field is specified and the generated name exists, the server will
6738 # NOT return a 409 - instead, it will either return 201 Created or 500 with
6739 # Reason ServerTimeout indicating a unique name could not be found in the
6740 # time allotted, and the client should retry (optionally after the time
6741 # indicated in the Retry-After header).
6742 #
6743 # Applied only if Name is not specified.
6744 # More info:
6745 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
6746 # string generateName = 2;
6747 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
6748 # Is required when creating
6749 # resources, although some resources may allow a client to request the
6750 # generation of an appropriate name automatically. Name is primarily intended
6751 # for creation idempotence and configuration definition. Cannot be updated.
6752 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
6753 # +optional
6754 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
6755 #
6756 # Cloud Run fully managed: not supported
6757 #
6758 # Cloud Run for Anthos: supported
6759 #
6760 # Number of seconds allowed for this object to gracefully terminate before
6761 # it will be removed from the system. Only set when deletionTimestamp is also
6762 # set. May only be shortened. Read-only.
6763 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
6764 #
6765 # Cloud Run fully managed: not supported
6766 #
6767 # Cloud Run for Anthos: supported
6768 #
6769 # The name of the cluster which the object belongs to.
6770 # This is used to distinguish resources with same name and namespace in
6771 # different clusters. This field is not set anywhere right now and apiserver
6772 # is going to ignore it if set in create or update request.
6773 &quot;finalizers&quot;: [ # (Optional)
6774 #
6775 # Cloud Run fully managed: not supported
6776 #
6777 # Cloud Run for Anthos: supported
6778 #
6779 # Must be empty before the object is deleted from the registry. Each entry
6780 # is an identifier for the responsible component that will remove the entry
6781 # from the list. If the deletionTimestamp of the object is non-nil, entries
6782 # in this list can only be removed.
6783 # +patchStrategy=merge
6784 &quot;A String&quot;,
6785 ],
6786 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
6787 #
6788 # Cloud Run fully managed: not supported
6789 #
6790 # Cloud Run for Anthos: supported
6791 #
6792 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
6793 # deleted. This field is set by the server when a graceful deletion is
6794 # requested by the user, and is not directly settable by a client. The
6795 # resource is expected to be deleted (no longer visible from resource lists,
6796 # and not reachable by name) after the time in this field, once the
6797 # finalizers list is empty. As long as the finalizers list contains items,
6798 # deletion is blocked. Once the deletionTimestamp is set, this value may not
6799 # be unset or be set further into the future, although it may be shortened or
6800 # the resource may be deleted prior to this time. For example, a user may
6801 # request that a pod is deleted in 30 seconds. The Kubelet will react by
6802 # sending a graceful termination signal to the containers in the pod. After
6803 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
6804 # to the container and after cleanup, remove the pod from the API. In the
6805 # presence of network partitions, this object may still exist after this
6806 # timestamp, until an administrator or automated process can determine the
6807 # resource is fully terminated.
6808 # If not set, graceful deletion of the object has not been requested.
6809 #
6810 # Populated by the system when a graceful deletion is requested.
6811 # Read-only.
6812 # More info:
6813 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
6814 &quot;ownerReferences&quot;: [ # (Optional)
6815 #
6816 # Cloud Run fully managed: not supported
6817 #
6818 # Cloud Run for Anthos: supported
6819 #
6820 # List of objects that own this object. If ALL objects in the list have
6821 # been deleted, this object will be garbage collected.
6822 { # OwnerReference contains enough information to let you identify an owning
6823 # object. Currently, an owning object must be in the same namespace, so there
6824 # is no namespace field.
6825 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
6826 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
6827 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
6828 # +optional
6829 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
6830 # More info:
6831 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
6832 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
6833 # the owner cannot be deleted from the key-value store until this
6834 # reference is removed.
6835 # Defaults to false.
6836 # To set this field, a user needs &quot;delete&quot; permission of the owner,
6837 # otherwise 422 (Unprocessable Entity) will be returned.
6838 # +optional
6839 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
6840 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
6841 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
6842 },
6843 ],
6844 },
6845 &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).
6846 &quot;volumes&quot;: [
6847 { # Cloud Run fully managed: not supported
6848 #
6849 # Cloud Run for Anthos: supported
6850 #
6851 # Volume represents a named volume in a container.
6852 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
6853 #
6854 # Cloud Run for Anthos: supported
6855 #
6856 # Cloud Run for Anthos: supported
6857 #
6858 # Adapts a ConfigMap into a volume.
6859 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
6860 # volume as files using the keys in the Data field as the file names, unless
6861 # the items element is populated with specific mappings of keys to paths.
6862 &quot;optional&quot;: True or False, # (Optional)
6863 #
6864 # Cloud Run fully managed: not supported
6865 #
6866 # Cloud Run for Anthos: supported
6867 #
6868 # Specify whether the Secret or its keys must be defined.
6869 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6870 #
6871 # Cloud Run for Anthos: supported
6872 #
6873 # Name of the config.
6874 &quot;defaultMode&quot;: 42, # (Optional)
6875 #
6876 # Cloud Run fully managed: not supported
6877 #
6878 # Cloud Run for Anthos: supported
6879 #
6880 # Mode bits to use on created files by default. Must be a value between 0 and
6881 # 0777. Defaults to 0644. Directories within the path are not affected by
6882 # this setting. This might be in conflict with other options that affect the
6883 # file mode, like fsGroup, and the result can be other mode bits set.
6884 &quot;items&quot;: [ # (Optional)
6885 #
6886 # Cloud Run fully managed: not supported
6887 #
6888 # Cloud Run for Anthos: supported
6889 #
6890 # If unspecified, each key-value pair in the Data field of the referenced
6891 # Secret will be projected into the volume as a file whose name is the
6892 # key and content is the value. If specified, the listed keys will be
6893 # projected into the specified paths, and unlisted keys will not be
6894 # present. If a key is specified which is not present in the Secret,
6895 # the volume setup will error unless it is marked optional.
6896 { # Cloud Run fully managed: not supported
6897 #
6898 # Cloud Run for Anthos: supported
6899 #
6900 # Maps a string key to a path within a volume.
6901 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6902 #
6903 # Cloud Run for Anthos: supported
6904 #
6905 # The key to project.
6906 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6907 #
6908 # Cloud Run for Anthos: supported
6909 #
6910 # The relative path of the file to map the key to.
6911 # May not be an absolute path.
6912 # May not contain the path element &#x27;..&#x27;.
6913 # May not start with the string &#x27;..&#x27;.
6914 &quot;mode&quot;: 42, # (Optional)
6915 #
6916 # Cloud Run fully managed: not supported
6917 #
6918 # Cloud Run for Anthos: supported
6919 #
6920 # Mode bits to use on this file, must be a value between 0 and 0777. If not
6921 # specified, the volume defaultMode will be used. This might be in conflict
6922 # with other options that affect the file mode, like fsGroup, and the result
6923 # can be other mode bits set.
6924 },
6925 ],
6926 },
6927 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6928 #
6929 # Cloud Run for Anthos: supported
6930 #
6931 # Volume&#x27;s name.
6932 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
6933 #
6934 # Cloud Run for Anthos: supported
6935 #
6936 # Cloud Run for Anthos: supported
6937 #
6938 # The contents of the target Secret&#x27;s Data field will be presented in a volume
6939 # as files using the keys in the Data field as the file names.
6940 &quot;optional&quot;: True or False, # (Optional)
6941 #
6942 # Cloud Run fully managed: not supported
6943 #
6944 # Cloud Run for Anthos: supported
6945 #
6946 # Specify whether the Secret or its keys must be defined.
6947 &quot;defaultMode&quot;: 42, # (Optional)
6948 #
6949 # Cloud Run fully managed: not supported
6950 #
6951 # Cloud Run for Anthos: supported
6952 #
6953 # Mode bits to use on created files by default. Must be a value between 0 and
6954 # 0777. Defaults to 0644. Directories within the path are not affected by
6955 # this setting. This might be in conflict with other options that affect the
6956 # file mode, like fsGroup, and the result can be other mode bits set.
6957 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6958 #
6959 # Cloud Run for Anthos: supported
6960 #
6961 # Name of the secret in the container&#x27;s namespace to use.
6962 &quot;items&quot;: [ # (Optional)
6963 #
6964 # Cloud Run fully managed: not supported
6965 #
6966 # Cloud Run for Anthos: supported
6967 #
6968 # If unspecified, each key-value pair in the Data field of the referenced
6969 # Secret will be projected into the volume as a file whose name is the
6970 # key and content is the value. If specified, the listed keys will be
6971 # projected into the specified paths, and unlisted keys will not be
6972 # present. If a key is specified which is not present in the Secret,
6973 # the volume setup will error unless it is marked optional.
6974 { # Cloud Run fully managed: not supported
6975 #
6976 # Cloud Run for Anthos: supported
6977 #
6978 # Maps a string key to a path within a volume.
6979 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6980 #
6981 # Cloud Run for Anthos: supported
6982 #
6983 # The key to project.
6984 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
6985 #
6986 # Cloud Run for Anthos: supported
6987 #
6988 # The relative path of the file to map the key to.
6989 # May not be an absolute path.
6990 # May not contain the path element &#x27;..&#x27;.
6991 # May not start with the string &#x27;..&#x27;.
6992 &quot;mode&quot;: 42, # (Optional)
6993 #
6994 # Cloud Run fully managed: not supported
6995 #
6996 # Cloud Run for Anthos: supported
6997 #
6998 # Mode bits to use on this file, must be a value between 0 and 0777. If not
6999 # specified, the volume defaultMode will be used. This might be in conflict
7000 # with other options that affect the file mode, like fsGroup, and the result
7001 # can be other mode bits set.
7002 },
7003 ],
7004 },
7005 },
7006 ],
7007 &quot;containerConcurrency&quot;: 42, # (Optional)
7008 #
7009 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
7010 # requests per container instance of the Revision.
7011 #
7012 # Cloud Run fully managed: supported, defaults to 80
7013 #
7014 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
7015 # to the application is not limited, and the system decides the
7016 # target concurrency for the autoscaler.
7017 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
7018 # responding to a request.
7019 # Not currently used by Cloud Run.
7020 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
7021 # of the service. The service account represents the identity of the
7022 # running revision, and determines what permissions the revision has. If
7023 # not provided, the revision will use the project&#x27;s default service account.
7024 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
7025 # for this Revision. In the context of a Revision, we disallow a number of
7026 # fields on this Container, including: name and lifecycle.
7027 # In Cloud Run, only a single container may be provided.
7028 # The runtime contract is documented here:
7029 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
7030 { # A single application container.
7031 # This specifies both the container to run, the command to run in the container
7032 # and the arguments to supply to it.
7033 # Note that additional arguments may be supplied by the system to the container
7034 # at runtime.
7035 &quot;volumeMounts&quot;: [ # (Optional)
7036 #
7037 # Cloud Run fully managed: not supported
7038 #
7039 # Cloud Run for Anthos: supported
7040 #
7041 # Pod volumes to mount into the container&#x27;s filesystem.
7042 { # Cloud Run fully managed: not supported
7043 #
7044 # Cloud Run for Anthos: supported
7045 #
7046 # VolumeMount describes a mounting of a Volume within a container.
7047 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7048 #
7049 # Cloud Run for Anthos: supported
7050 #
7051 # This must match the Name of a Volume.
7052 &quot;readOnly&quot;: True or False, # (Optional)
7053 #
7054 # Cloud Run fully managed: not supported
7055 #
7056 # Cloud Run for Anthos: supported
7057 #
7058 # Only true is accepted.
7059 # Defaults to true.
7060 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7061 #
7062 # Cloud Run for Anthos: supported
7063 #
7064 # Path within the container at which the volume should be mounted. Must
7065 # not contain &#x27;:&#x27;.
7066 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
7067 #
7068 # Cloud Run fully managed: not supported
7069 #
7070 # Cloud Run for Anthos: supported
7071 #
7072 # Path within the volume from which the container&#x27;s volume should be mounted.
7073 # Defaults to &quot;&quot; (volume&#x27;s root).
7074 },
7075 ],
7076 &quot;args&quot;: [ # (Optional)
7077 #
7078 # Cloud Run fully managed: supported
7079 #
7080 # Cloud Run for Anthos: supported
7081 #
7082 # Arguments to the entrypoint.
7083 # The docker image&#x27;s CMD is used if this is not provided.
7084 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
7085 # environment. If a variable cannot be resolved, the reference in the input
7086 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
7087 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
7088 # regardless of whether the variable exists or not.
7089 # More info:
7090 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
7091 &quot;A String&quot;,
7092 ],
7093 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
7094 #
7095 # Cloud Run fully managed: not supported
7096 #
7097 # Cloud Run for Anthos: supported
7098 #
7099 # Container&#x27;s working directory.
7100 # If not specified, the container runtime&#x27;s default will be used, which
7101 # might be configured in the container image.
7102 &quot;ports&quot;: [ # (Optional)
7103 #
7104 # List of ports to expose from the container. Only a single port can be
7105 # specified. The specified ports must be listening on all interfaces
7106 # (0.0.0.0) within the container to be accessible.
7107 #
7108 # If omitted, a port number will be chosen and passed to the container
7109 # through the PORT environment variable for the container to listen on.
7110 { # ContainerPort represents a network port in a single container.
7111 &quot;containerPort&quot;: 42, # (Optional)
7112 #
7113 # Port number the container listens on.
7114 # This must be a valid port number, 0 &lt; x &lt; 65536.
7115 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
7116 #
7117 # Cloud Run fully managed: not supported
7118 #
7119 # Cloud Run for Anthos: supported
7120 #
7121 # Protocol for port. Must be &quot;TCP&quot;.
7122 # Defaults to &quot;TCP&quot;.
7123 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7124 #
7125 # Cloud Run fully managed: not supported
7126 #
7127 # Cloud Run for Anthos: supported
7128 #
7129 # If specified, used to specify which protocol to use.
7130 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
7131 },
7132 ],
7133 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
7134 # Registry
7135 #
7136 # Cloud Run for Anthos: supported
7137 #
7138 # URL of the Container image.
7139 # More info: https://kubernetes.io/docs/concepts/containers/images
7140 &quot;envFrom&quot;: [ # (Optional)
7141 #
7142 # Cloud Run fully managed: not supported
7143 #
7144 # Cloud Run for Anthos: supported
7145 #
7146 # List of sources to populate environment variables in the container.
7147 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
7148 # will be reported as an event when the container is starting. When a key
7149 # exists in multiple sources, the value associated with the last source will
7150 # take precedence. Values defined by an Env with a duplicate key will take
7151 # precedence. Cannot be updated.
7152 { # Cloud Run fully managed: not supported
7153 #
7154 # Cloud Run for Anthos: supported
7155 #
7156 # EnvFromSource represents the source of a set of ConfigMaps
7157 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
7158 #
7159 # Cloud Run fully managed: not supported
7160 #
7161 # Cloud Run for Anthos: supported
7162 #
7163 # An optional identifier to prepend to each key in the ConfigMap. Must be a
7164 # C_IDENTIFIER.
7165 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
7166 #
7167 # Cloud Run fully managed: not supported
7168 #
7169 # Cloud Run for Anthos: supported
7170 #
7171 # The ConfigMap to select from
7172 #
7173 # Cloud Run for Anthos: supported
7174 #
7175 # ConfigMapEnvSource selects a ConfigMap to populate the environment
7176 # variables with.
7177 #
7178 # The contents of the target ConfigMap&#x27;s Data field will represent the
7179 # key-value pairs as environment variables.
7180 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
7181 # directly into the message. Use the &quot;name&quot; field instead.
7182 #
7183 # Cloud Run for Anthos: supported
7184 #
7185 # LocalObjectReference contains enough information to let you locate the
7186 # referenced object inside the same namespace.
7187 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7188 #
7189 # Cloud Run fully managed: not supported
7190 #
7191 # Cloud Run for Anthos: supported
7192 #
7193 # Name of the referent.
7194 # More info:
7195 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
7196 },
7197 &quot;optional&quot;: True or False, # (Optional)
7198 #
7199 # Cloud Run fully managed: not supported
7200 #
7201 # Cloud Run for Anthos: supported
7202 #
7203 # Specify whether the ConfigMap must be defined
7204 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7205 #
7206 # Cloud Run for Anthos: supported
7207 #
7208 # The ConfigMap to select from.
7209 },
7210 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
7211 #
7212 # Cloud Run fully managed: not supported
7213 #
7214 # Cloud Run for Anthos: supported
7215 #
7216 # The Secret to select from
7217 #
7218 # Cloud Run for Anthos: supported
7219 #
7220 # SecretEnvSource selects a Secret to populate the environment
7221 # variables with.
7222 #
7223 # The contents of the target Secret&#x27;s Data field will represent the
7224 # key-value pairs as environment variables.
7225 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
7226 # directly into the message. Use the &quot;name&quot; field instead.
7227 #
7228 # Cloud Run for Anthos: supported
7229 #
7230 # LocalObjectReference contains enough information to let you locate the
7231 # referenced object inside the same namespace.
7232 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7233 #
7234 # Cloud Run fully managed: not supported
7235 #
7236 # Cloud Run for Anthos: supported
7237 #
7238 # Name of the referent.
7239 # More info:
7240 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
7241 },
7242 &quot;optional&quot;: True or False, # (Optional)
7243 #
7244 # Cloud Run fully managed: not supported
7245 #
7246 # Cloud Run for Anthos: supported
7247 #
7248 # Specify whether the Secret must be defined
7249 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7250 #
7251 # Cloud Run for Anthos: supported
7252 #
7253 # The Secret to select from.
7254 },
7255 },
7256 ],
7257 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7258 #
7259 # Name of the container specified as a DNS_LABEL.
7260 &quot;command&quot;: [
7261 &quot;A String&quot;,
7262 ],
7263 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
7264 #
7265 # Cloud Run fully managed: not supported
7266 #
7267 # Cloud Run for Anthos: supported
7268 #
7269 # Indicate how the termination message should be populated. File will use the
7270 # contents of terminationMessagePath to populate the container status message
7271 # on both success and failure. FallbackToLogsOnError will use the last chunk
7272 # of container log output if the termination message file is empty and the
7273 # container exited with an error. The log output is limited to 2048 bytes or
7274 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
7275 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
7276 #
7277 # Cloud Run fully managed: not supported
7278 #
7279 # Cloud Run for Anthos: supported
7280 #
7281 # Security options the pod should run with.
7282 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
7283 # More info:
7284 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
7285 #
7286 # Cloud Run for Anthos: supported
7287 #
7288 # SecurityContext holds security configuration that will be applied to a
7289 # container. Some fields are present in both SecurityContext and
7290 # PodSecurityContext. When both are set, the values in SecurityContext take
7291 # precedence.
7292 &quot;runAsUser&quot;: 42, # (Optional)
7293 #
7294 # Cloud Run fully managed: not supported
7295 #
7296 # Cloud Run for Anthos: supported
7297 #
7298 # The UID to run the entrypoint of the container process.
7299 # Defaults to user specified in image metadata if unspecified.
7300 # May also be set in PodSecurityContext. If set in both SecurityContext and
7301 # PodSecurityContext, the value specified in SecurityContext takes
7302 # precedence.
7303 },
7304 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
7305 #
7306 # Cloud Run fully managed: not supported
7307 #
7308 # Cloud Run for Anthos: supported
7309 #
7310 # Periodic probe of container liveness.
7311 # Container will be restarted if the probe fails.
7312 # More info:
7313 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7314 #
7315 # Cloud Run for Anthos: supported
7316 #
7317 # Probe describes a health check to be performed against a container to
7318 # determine whether it is alive or ready to receive traffic.
7319 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
7320 #
7321 # Cloud Run fully managed: not supported
7322 #
7323 # Cloud Run for Anthos: supported
7324 #
7325 # HTTPGet specifies the http request to perform.
7326 #
7327 # A field inlined from the Handler message.
7328 #
7329 # Cloud Run for Anthos: supported
7330 #
7331 # HTTPGetAction describes an action based on HTTP Get requests.
7332 &quot;httpHeaders&quot;: [ # (Optional)
7333 #
7334 # Cloud Run fully managed: not supported
7335 #
7336 # Cloud Run for Anthos: supported
7337 #
7338 # Custom headers to set in the request. HTTP allows repeated headers.
7339 { # Cloud Run fully managed: not supported
7340 #
7341 # Cloud Run for Anthos: supported
7342 #
7343 # HTTPHeader describes a custom header to be used in HTTP probes
7344 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7345 #
7346 # Cloud Run for Anthos: supported
7347 #
7348 # The header field name
7349 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7350 #
7351 # Cloud Run for Anthos: supported
7352 #
7353 # The header field value
7354 },
7355 ],
7356 &quot;path&quot;: &quot;A String&quot;, # (Optional)
7357 #
7358 # Cloud Run fully managed: not supported
7359 #
7360 # Cloud Run for Anthos: supported
7361 #
7362 # Path to access on the HTTP server.
7363 &quot;host&quot;: &quot;A String&quot;, # (Optional)
7364 #
7365 # Cloud Run fully managed: not supported
7366 #
7367 # Cloud Run for Anthos: supported
7368 #
7369 # Host name to connect to, defaults to the pod IP. You probably want to set
7370 # &quot;Host&quot; in httpHeaders instead.
7371 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
7372 #
7373 # Cloud Run fully managed: not supported
7374 #
7375 # Cloud Run for Anthos: supported
7376 #
7377 # Scheme to use for connecting to the host.
7378 # Defaults to HTTP.
7379 },
7380 &quot;failureThreshold&quot;: 42, # (Optional)
7381 #
7382 # Cloud Run fully managed: not supported
7383 #
7384 # Cloud Run for Anthos: supported
7385 #
7386 # Minimum consecutive failures for the probe to be considered failed after
7387 # having succeeded. Defaults to 3. Minimum value is 1.
7388 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
7389 #
7390 # Cloud Run fully managed: not supported
7391 #
7392 # Cloud Run for Anthos: supported
7393 #
7394 # One and only one of the following should be specified.
7395 # Exec specifies the action to take.
7396 #
7397 # A field inlined from the Handler message.
7398 #
7399 # Cloud Run for Anthos: supported
7400 #
7401 # ExecAction describes a &quot;run in container&quot; action.
7402 &quot;command&quot;: &quot;A String&quot;, # (Optional)
7403 #
7404 # Cloud Run fully managed: not supported
7405 #
7406 # Cloud Run for Anthos: supported
7407 #
7408 # Command is the command line to execute inside the container, the working
7409 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
7410 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
7411 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
7412 # explicitly call out to that shell. Exit status of 0 is treated as
7413 # live/healthy and non-zero is unhealthy.
7414 },
7415 &quot;initialDelaySeconds&quot;: 42, # (Optional)
7416 #
7417 # Cloud Run fully managed: not supported
7418 #
7419 # Cloud Run for Anthos: supported
7420 #
7421 # Number of seconds after the container has started before liveness probes
7422 # are initiated. More info:
7423 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7424 &quot;timeoutSeconds&quot;: 42, # (Optional)
7425 #
7426 # Cloud Run fully managed: not supported
7427 #
7428 # Cloud Run for Anthos: supported
7429 #
7430 # Number of seconds after which the probe times out.
7431 # Defaults to 1 second. Minimum value is 1.
7432 # More info:
7433 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7434 &quot;successThreshold&quot;: 42, # (Optional)
7435 #
7436 # Cloud Run fully managed: not supported
7437 #
7438 # Cloud Run for Anthos: supported
7439 #
7440 # Minimum consecutive successes for the probe to be considered successful
7441 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
7442 # is 1.
7443 &quot;periodSeconds&quot;: 42, # (Optional)
7444 #
7445 # Cloud Run fully managed: not supported
7446 #
7447 # Cloud Run for Anthos: supported
7448 #
7449 # How often (in seconds) to perform the probe.
7450 # Default to 10 seconds. Minimum value is 1.
7451 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
7452 #
7453 # Cloud Run fully managed: not supported
7454 #
7455 # Cloud Run for Anthos: supported
7456 #
7457 # TCPSocket specifies an action involving a TCP port.
7458 # TCP hooks not yet supported
7459 #
7460 # A field inlined from the Handler message.
7461 #
7462 # Cloud Run for Anthos: supported
7463 #
7464 # TCPSocketAction describes an action based on opening a socket
7465 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
7466 #
7467 # Cloud Run for Anthos: supported
7468 #
7469 # Number or name of the port to access on the container.
7470 # Number must be in the range 1 to 65535.
7471 # Name must be an IANA_SVC_NAME.
7472 #
7473 # This field is currently limited to integer types only because of proto&#x27;s
7474 # inability to properly support the IntOrString golang type.
7475 &quot;host&quot;: &quot;A String&quot;, # (Optional)
7476 #
7477 # Cloud Run fully managed: not supported
7478 #
7479 # Cloud Run for Anthos: supported
7480 #
7481 # Optional: Host name to connect to, defaults to the pod IP.
7482 },
7483 },
7484 &quot;env&quot;: [ # (Optional)
7485 #
7486 # Cloud Run fully managed: supported
7487 #
7488 # Cloud Run for Anthos: supported
7489 #
7490 # List of environment variables to set in the container.
7491 { # EnvVar represents an environment variable present in a Container.
7492 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
7493 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
7494 #
7495 # Cloud Run fully managed: not supported
7496 #
7497 # Cloud Run for Anthos: supported
7498 #
7499 # Source for the environment variable&#x27;s value. Cannot be used if value is not
7500 # empty.
7501 #
7502 # Cloud Run for Anthos: supported
7503 #
7504 # EnvVarSource represents a source for the value of an EnvVar.
7505 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
7506 #
7507 # Cloud Run fully managed: not supported
7508 #
7509 # Cloud Run for Anthos: supported
7510 #
7511 # Selects a key of a secret in the pod&#x27;s namespace
7512 #
7513 # Cloud Run for Anthos: supported
7514 #
7515 # SecretKeySelector selects a key of a Secret.
7516 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7517 #
7518 # Cloud Run for Anthos: supported
7519 #
7520 # The key of the secret to select from. Must be a valid secret key.
7521 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7522 #
7523 # Cloud Run for Anthos: supported
7524 #
7525 # The name of the secret in the pod&#x27;s namespace to select from.
7526 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
7527 # directly into the message. Use the &quot;name&quot; field instead.
7528 #
7529 # Cloud Run for Anthos: supported
7530 #
7531 # LocalObjectReference contains enough information to let you locate the
7532 # referenced object inside the same namespace.
7533 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7534 #
7535 # Cloud Run fully managed: not supported
7536 #
7537 # Cloud Run for Anthos: supported
7538 #
7539 # Name of the referent.
7540 # More info:
7541 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
7542 },
7543 &quot;optional&quot;: True or False, # (Optional)
7544 #
7545 # Cloud Run fully managed: not supported
7546 #
7547 # Cloud Run for Anthos: supported
7548 #
7549 # Specify whether the Secret or its key must be defined
7550 },
7551 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
7552 #
7553 # Cloud Run fully managed: not supported
7554 #
7555 # Cloud Run for Anthos: supported
7556 #
7557 # Selects a key of a ConfigMap.
7558 #
7559 # Cloud Run for Anthos: supported
7560 #
7561 # Selects a key from a ConfigMap.
7562 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
7563 # directly into the message. Use the &quot;name&quot; field instead.
7564 #
7565 # Cloud Run for Anthos: supported
7566 #
7567 # LocalObjectReference contains enough information to let you locate the
7568 # referenced object inside the same namespace.
7569 &quot;name&quot;: &quot;A String&quot;, # (Optional)
7570 #
7571 # Cloud Run fully managed: not supported
7572 #
7573 # Cloud Run for Anthos: supported
7574 #
7575 # Name of the referent.
7576 # More info:
7577 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
7578 },
7579 &quot;optional&quot;: True or False, # (Optional)
7580 #
7581 # Cloud Run fully managed: not supported
7582 #
7583 # Cloud Run for Anthos: supported
7584 #
7585 # Specify whether the ConfigMap or its key must be defined
7586 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7587 #
7588 # Cloud Run for Anthos: supported
7589 #
7590 # The key to select.
7591 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7592 #
7593 # Cloud Run for Anthos: supported
7594 #
7595 # The ConfigMap to select from.
7596 },
7597 },
7598 &quot;value&quot;: &quot;A String&quot;, # (Optional)
7599 #
7600 # Variable references $(VAR_NAME) are expanded
7601 # using the previous defined environment variables in the container and
7602 # any route environment variables. If a variable cannot be resolved,
7603 # the reference in the input string will be unchanged. The $(VAR_NAME)
7604 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
7605 # references will never be expanded, regardless of whether the variable
7606 # exists or not.
7607 # Defaults to &quot;&quot;.
7608 },
7609 ],
7610 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
7611 #
7612 # Cloud Run fully managed: supported
7613 #
7614 # Cloud Run for Anthos: supported
7615 #
7616 # Compute Resources required by this container.
7617 # More info:
7618 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
7619 &quot;limits&quot;: { # (Optional)
7620 #
7621 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
7622 # supported value for CPU is &#x27;1&#x27;.
7623 #
7624 # Cloud Run for Anthos: supported
7625 #
7626 # Limits describes the maximum amount of compute resources allowed.
7627 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
7628 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
7629 &quot;a_key&quot;: &quot;A String&quot;,
7630 },
7631 &quot;requests&quot;: { # (Optional)
7632 #
7633 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
7634 # supported value for CPU is &#x27;1&#x27;.
7635 #
7636 # Cloud Run for Anthos: supported
7637 #
7638 # Requests describes the minimum amount of compute resources required.
7639 # If Requests is omitted for a container, it defaults to Limits if that is
7640 # explicitly specified, otherwise to an implementation-defined value.
7641 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
7642 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
7643 &quot;a_key&quot;: &quot;A String&quot;,
7644 },
7645 },
7646 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
7647 #
7648 # Cloud Run fully managed: not supported
7649 #
7650 # Cloud Run for Anthos: supported
7651 #
7652 # Periodic probe of container service readiness.
7653 # Container will be removed from service endpoints if the probe fails.
7654 # More info:
7655 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7656 #
7657 # Cloud Run for Anthos: supported
7658 #
7659 # Probe describes a health check to be performed against a container to
7660 # determine whether it is alive or ready to receive traffic.
7661 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
7662 #
7663 # Cloud Run fully managed: not supported
7664 #
7665 # Cloud Run for Anthos: supported
7666 #
7667 # HTTPGet specifies the http request to perform.
7668 #
7669 # A field inlined from the Handler message.
7670 #
7671 # Cloud Run for Anthos: supported
7672 #
7673 # HTTPGetAction describes an action based on HTTP Get requests.
7674 &quot;httpHeaders&quot;: [ # (Optional)
7675 #
7676 # Cloud Run fully managed: not supported
7677 #
7678 # Cloud Run for Anthos: supported
7679 #
7680 # Custom headers to set in the request. HTTP allows repeated headers.
7681 { # Cloud Run fully managed: not supported
7682 #
7683 # Cloud Run for Anthos: supported
7684 #
7685 # HTTPHeader describes a custom header to be used in HTTP probes
7686 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7687 #
7688 # Cloud Run for Anthos: supported
7689 #
7690 # The header field name
7691 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
7692 #
7693 # Cloud Run for Anthos: supported
7694 #
7695 # The header field value
7696 },
7697 ],
7698 &quot;path&quot;: &quot;A String&quot;, # (Optional)
7699 #
7700 # Cloud Run fully managed: not supported
7701 #
7702 # Cloud Run for Anthos: supported
7703 #
7704 # Path to access on the HTTP server.
7705 &quot;host&quot;: &quot;A String&quot;, # (Optional)
7706 #
7707 # Cloud Run fully managed: not supported
7708 #
7709 # Cloud Run for Anthos: supported
7710 #
7711 # Host name to connect to, defaults to the pod IP. You probably want to set
7712 # &quot;Host&quot; in httpHeaders instead.
7713 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
7714 #
7715 # Cloud Run fully managed: not supported
7716 #
7717 # Cloud Run for Anthos: supported
7718 #
7719 # Scheme to use for connecting to the host.
7720 # Defaults to HTTP.
7721 },
7722 &quot;failureThreshold&quot;: 42, # (Optional)
7723 #
7724 # Cloud Run fully managed: not supported
7725 #
7726 # Cloud Run for Anthos: supported
7727 #
7728 # Minimum consecutive failures for the probe to be considered failed after
7729 # having succeeded. Defaults to 3. Minimum value is 1.
7730 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
7731 #
7732 # Cloud Run fully managed: not supported
7733 #
7734 # Cloud Run for Anthos: supported
7735 #
7736 # One and only one of the following should be specified.
7737 # Exec specifies the action to take.
7738 #
7739 # A field inlined from the Handler message.
7740 #
7741 # Cloud Run for Anthos: supported
7742 #
7743 # ExecAction describes a &quot;run in container&quot; action.
7744 &quot;command&quot;: &quot;A String&quot;, # (Optional)
7745 #
7746 # Cloud Run fully managed: not supported
7747 #
7748 # Cloud Run for Anthos: supported
7749 #
7750 # Command is the command line to execute inside the container, the working
7751 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
7752 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
7753 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
7754 # explicitly call out to that shell. Exit status of 0 is treated as
7755 # live/healthy and non-zero is unhealthy.
7756 },
7757 &quot;initialDelaySeconds&quot;: 42, # (Optional)
7758 #
7759 # Cloud Run fully managed: not supported
7760 #
7761 # Cloud Run for Anthos: supported
7762 #
7763 # Number of seconds after the container has started before liveness probes
7764 # are initiated. More info:
7765 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7766 &quot;timeoutSeconds&quot;: 42, # (Optional)
7767 #
7768 # Cloud Run fully managed: not supported
7769 #
7770 # Cloud Run for Anthos: supported
7771 #
7772 # Number of seconds after which the probe times out.
7773 # Defaults to 1 second. Minimum value is 1.
7774 # More info:
7775 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
7776 &quot;successThreshold&quot;: 42, # (Optional)
7777 #
7778 # Cloud Run fully managed: not supported
7779 #
7780 # Cloud Run for Anthos: supported
7781 #
7782 # Minimum consecutive successes for the probe to be considered successful
7783 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
7784 # is 1.
7785 &quot;periodSeconds&quot;: 42, # (Optional)
7786 #
7787 # Cloud Run fully managed: not supported
7788 #
7789 # Cloud Run for Anthos: supported
7790 #
7791 # How often (in seconds) to perform the probe.
7792 # Default to 10 seconds. Minimum value is 1.
7793 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
7794 #
7795 # Cloud Run fully managed: not supported
7796 #
7797 # Cloud Run for Anthos: supported
7798 #
7799 # TCPSocket specifies an action involving a TCP port.
7800 # TCP hooks not yet supported
7801 #
7802 # A field inlined from the Handler message.
7803 #
7804 # Cloud Run for Anthos: supported
7805 #
7806 # TCPSocketAction describes an action based on opening a socket
7807 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
7808 #
7809 # Cloud Run for Anthos: supported
7810 #
7811 # Number or name of the port to access on the container.
7812 # Number must be in the range 1 to 65535.
7813 # Name must be an IANA_SVC_NAME.
7814 #
7815 # This field is currently limited to integer types only because of proto&#x27;s
7816 # inability to properly support the IntOrString golang type.
7817 &quot;host&quot;: &quot;A String&quot;, # (Optional)
7818 #
7819 # Cloud Run fully managed: not supported
7820 #
7821 # Cloud Run for Anthos: supported
7822 #
7823 # Optional: Host name to connect to, defaults to the pod IP.
7824 },
7825 },
7826 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
7827 #
7828 # Cloud Run fully managed: not supported
7829 #
7830 # Cloud Run for Anthos: supported
7831 #
7832 # Image pull policy.
7833 # One of Always, Never, IfNotPresent.
7834 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
7835 # More info:
7836 # https://kubernetes.io/docs/concepts/containers/images#updating-images
7837 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
7838 #
7839 # Cloud Run fully managed: not supported
7840 #
7841 # Cloud Run for Anthos: supported
7842 #
7843 # Path at which the file to which the container&#x27;s termination
7844 # message will be written is mounted into the container&#x27;s filesystem. Message
7845 # written is intended to be brief final status, such as an assertion failure
7846 # message. Will be truncated by the node if greater than 4096 bytes. The
7847 # total message length across all containers will be limited to 12kb.
7848 # Defaults to /dev/termination-log.
7849 },
7850 ],
7851 },
7852 },
7853 },
7854 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
7855 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
7856 # and annotations.
7857 # persisted resources must have, which includes all objects users must create.
7858 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
7859 #
7860 # CreationTimestamp is a timestamp representing the server time when this
7861 # object was created. It is not guaranteed to be set in happens-before order
7862 # across separate operations. Clients may not set this value. It is
7863 # represented in RFC3339 form and is in UTC.
7864 #
7865 # Populated by the system.
7866 # Read-only.
7867 # Null for lists.
7868 # More info:
7869 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
7870 &quot;labels&quot;: { # (Optional)
7871 #
7872 # Map of string keys and values that can be used to organize and categorize
7873 # (scope and select) objects. May match selectors of replication controllers
7874 # and routes.
7875 # More info: http://kubernetes.io/docs/user-guide/labels
7876 &quot;a_key&quot;: &quot;A String&quot;,
7877 },
7878 &quot;generation&quot;: 42, # (Optional)
7879 #
7880 # A sequence number representing a specific generation of the desired state.
7881 # Populated by the system. Read-only.
7882 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
7883 #
7884 # An opaque value that represents the internal version of this object that
7885 # can be used by clients to determine when objects have changed. May be used
7886 # for optimistic concurrency, change detection, and the watch operation on a
7887 # resource or set of resources. Clients must treat these values as opaque and
7888 # passed unmodified back to the server. They may only be valid for a
7889 # particular resource or set of resources.
7890 #
7891 # Populated by the system.
7892 # Read-only.
7893 # Value must be treated as opaque by clients and .
7894 # More info:
7895 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
7896 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
7897 #
7898 # SelfLink is a URL representing this object.
7899 # Populated by the system.
7900 # Read-only.
7901 # string selfLink = 4;
7902 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
7903 #
7904 # UID is the unique in time and space value for this object. It is typically
7905 # generated by the server on successful creation of a resource and is not
7906 # allowed to change on PUT operations.
7907 #
7908 # Populated by the system.
7909 # Read-only.
7910 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
7911 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
7912 # Cloud Run region. In Cloud Run the namespace must be equal to either the
7913 # project ID or project number.
7914 &quot;annotations&quot;: { # (Optional)
7915 #
7916 # Annotations is an unstructured key value map stored with a resource that
7917 # may be set by external tools to store and retrieve arbitrary metadata. They
7918 # are not queryable and should be preserved when modifying objects. More
7919 # info: http://kubernetes.io/docs/user-guide/annotations
7920 &quot;a_key&quot;: &quot;A String&quot;,
7921 },
7922 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
7923 #
7924 # Cloud Run fully managed: not supported
7925 #
7926 # Cloud Run for Anthos: supported
7927 #
7928 # GenerateName is an optional prefix, used by the server, to generate a
7929 # unique name ONLY IF the Name field has not been provided. If this field is
7930 # used, the name returned to the client will be different than the name
7931 # passed. This value will also be combined with a unique suffix. The provided
7932 # value has the same validation rules as the Name field, and may be truncated
7933 # by the length of the suffix required to make the value unique on the
7934 # server.
7935 #
7936 # If this field is specified and the generated name exists, the server will
7937 # NOT return a 409 - instead, it will either return 201 Created or 500 with
7938 # Reason ServerTimeout indicating a unique name could not be found in the
7939 # time allotted, and the client should retry (optionally after the time
7940 # indicated in the Retry-After header).
7941 #
7942 # Applied only if Name is not specified.
7943 # More info:
7944 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
7945 # string generateName = 2;
7946 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
7947 # Is required when creating
7948 # resources, although some resources may allow a client to request the
7949 # generation of an appropriate name automatically. Name is primarily intended
7950 # for creation idempotence and configuration definition. Cannot be updated.
7951 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
7952 # +optional
7953 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
7954 #
7955 # Cloud Run fully managed: not supported
7956 #
7957 # Cloud Run for Anthos: supported
7958 #
7959 # Number of seconds allowed for this object to gracefully terminate before
7960 # it will be removed from the system. Only set when deletionTimestamp is also
7961 # set. May only be shortened. Read-only.
7962 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
7963 #
7964 # Cloud Run fully managed: not supported
7965 #
7966 # Cloud Run for Anthos: supported
7967 #
7968 # The name of the cluster which the object belongs to.
7969 # This is used to distinguish resources with same name and namespace in
7970 # different clusters. This field is not set anywhere right now and apiserver
7971 # is going to ignore it if set in create or update request.
7972 &quot;finalizers&quot;: [ # (Optional)
7973 #
7974 # Cloud Run fully managed: not supported
7975 #
7976 # Cloud Run for Anthos: supported
7977 #
7978 # Must be empty before the object is deleted from the registry. Each entry
7979 # is an identifier for the responsible component that will remove the entry
7980 # from the list. If the deletionTimestamp of the object is non-nil, entries
7981 # in this list can only be removed.
7982 # +patchStrategy=merge
7983 &quot;A String&quot;,
7984 ],
7985 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
7986 #
7987 # Cloud Run fully managed: not supported
7988 #
7989 # Cloud Run for Anthos: supported
7990 #
7991 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
7992 # deleted. This field is set by the server when a graceful deletion is
7993 # requested by the user, and is not directly settable by a client. The
7994 # resource is expected to be deleted (no longer visible from resource lists,
7995 # and not reachable by name) after the time in this field, once the
7996 # finalizers list is empty. As long as the finalizers list contains items,
7997 # deletion is blocked. Once the deletionTimestamp is set, this value may not
7998 # be unset or be set further into the future, although it may be shortened or
7999 # the resource may be deleted prior to this time. For example, a user may
8000 # request that a pod is deleted in 30 seconds. The Kubelet will react by
8001 # sending a graceful termination signal to the containers in the pod. After
8002 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
8003 # to the container and after cleanup, remove the pod from the API. In the
8004 # presence of network partitions, this object may still exist after this
8005 # timestamp, until an administrator or automated process can determine the
8006 # resource is fully terminated.
8007 # If not set, graceful deletion of the object has not been requested.
8008 #
8009 # Populated by the system when a graceful deletion is requested.
8010 # Read-only.
8011 # More info:
8012 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
8013 &quot;ownerReferences&quot;: [ # (Optional)
8014 #
8015 # Cloud Run fully managed: not supported
8016 #
8017 # Cloud Run for Anthos: supported
8018 #
8019 # List of objects that own this object. If ALL objects in the list have
8020 # been deleted, this object will be garbage collected.
8021 { # OwnerReference contains enough information to let you identify an owning
8022 # object. Currently, an owning object must be in the same namespace, so there
8023 # is no namespace field.
8024 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
8025 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
8026 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
8027 # +optional
8028 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
8029 # More info:
8030 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
8031 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
8032 # the owner cannot be deleted from the key-value store until this
8033 # reference is removed.
8034 # Defaults to false.
8035 # To set this field, a user needs &quot;delete&quot; permission of the owner,
8036 # otherwise 422 (Unprocessable Entity) will be returned.
8037 # +optional
8038 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
8039 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
8040 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
8041 },
8042 ],
8043 },
8044}
8045
8046 x__xgafv: string, V1 error format.
8047 Allowed values
8048 1 - v1 error format
8049 2 - v2 error format
8050
8051Returns:
8052 An object of the form:
8053
8054 { # Service acts as a top-level container that manages a set of Routes and
8055 # Configurations which implement a network service. Service exists to provide a
8056 # singular abstraction which can be access controlled, reasoned about, and
8057 # which encapsulates software lifecycle decisions such as rollout policy and
8058 # team resource ownership. Service acts only as an orchestrator of the
8059 # underlying Routes and Configurations (much as a kubernetes Deployment
8060 # orchestrates ReplicaSets).
8061 #
8062 # The Service&#x27;s controller will track the statuses of its owned Configuration
8063 # and Route, reflecting their statuses and conditions as its own.
8064 #
8065 # See also:
8066 # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service
8067 &quot;status&quot;: { # The current state of the Service. Output only. # Status communicates the observed state of the Service (from the
8068 # controller).
8069 &quot;latestCreatedRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
8070 # LatestCreatedRevisionName is the last revision that was created from this
8071 # Service&#x27;s Configuration. It might not be ready yet, for that use
8072 # LatestReadyRevisionName.
8073 &quot;conditions&quot;: [ # Conditions communicates information about ongoing/complete
8074 # reconciliation processes that bring the &quot;spec&quot; inline with the observed
8075 # state of the world.
8076 # Service-specific conditions include:
8077 # * &quot;ConfigurationsReady&quot;: true when the underlying Configuration is ready.
8078 # * &quot;RoutesReady&quot;: true when the underlying Route is ready.
8079 # * &quot;Ready&quot;: true when both the underlying Route and Configuration are
8080 # ready.
8081 { # Condition defines a generic condition for a Resource
8082 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
8083 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
8084 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
8085 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
8086 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
8087 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
8088 # See also:
8089 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
8090 # Types common to all resources include:
8091 # * &quot;Ready&quot;: True when the Resource is ready.
8092 },
8093 ],
8094 &quot;address&quot;: { # Information for connecting over HTTP(s). # From RouteStatus.
8095 # Similar to url, information on where the service is available on HTTP.
8096 &quot;url&quot;: &quot;A String&quot;,
8097 },
8098 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the Route that
8099 # was last processed by the controller.
8100 #
8101 # Clients polling for completed reconciliation should poll until
8102 # observedGeneration = metadata.generation and the Ready condition&#x27;s status
8103 # is True or False.
8104 &quot;url&quot;: &quot;A String&quot;, # From RouteStatus.
8105 # URL holds the url that will distribute traffic over the provided traffic
8106 # targets. It generally has the form
8107 # https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app
8108 &quot;traffic&quot;: [ # From RouteStatus.
8109 # Traffic holds the configured traffic distribution.
8110 # These entries will always contain RevisionName references.
8111 # When ConfigurationName appears in the spec, this will hold the
8112 # LatestReadyRevisionName that we last observed.
8113 { # TrafficTarget holds a single entry of the routing table for a Route.
8114 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
8115 # is displayed in status, and is disallowed on spec. URL must contain a
8116 # scheme (e.g. http://) and a hostname, but may not contain anything else
8117 # (e.g. basic auth, url path, etc.
8118 #
8119 # Not currently supported in Cloud Run.
8120 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
8121 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
8122 # of the referenced configuration changes, we will automatically migrate
8123 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
8124 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
8125 # with RevisionName.
8126 #
8127 # Cloud Run currently supports a single ConfigurationName.
8128 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
8129 # This defaults to zero if unspecified.
8130 #
8131 # Cloud Run currently requires 100 percent for a single ConfigurationName
8132 # TrafficTarget entry.
8133 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
8134 # traffic. This is mutually exclusive with ConfigurationName.
8135 #
8136 # Providing RevisionName in spec is not currently supported by Cloud Run.
8137 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
8138 # ready Revision of the Configuration should be used for this traffic
8139 # target. When provided LatestRevision must be true if RevisionName is
8140 # empty; it must be false when RevisionName is non-empty.
8141 #
8142 # +optional
8143 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
8144 # this target exclusively.
8145 #
8146 # Not currently supported in Cloud Run.
8147 # +optional
8148 },
8149 ],
8150 &quot;latestReadyRevisionName&quot;: &quot;A String&quot;, # From ConfigurationStatus.
8151 # LatestReadyRevisionName holds the name of the latest Revision stamped out
8152 # from this Service&#x27;s Configuration that has had its &quot;Ready&quot; condition become
8153 # &quot;True&quot;.
8154 },
8155 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;serving.knative.dev/v1&quot;.
8156 &quot;spec&quot;: { # ServiceSpec holds the desired state of the Route (from the client), which # Spec holds the desired state of the Service (from the client).
8157 # is used to manipulate the underlying Route and Configuration(s).
8158 &quot;traffic&quot;: [ # Traffic specifies how to distribute traffic over a collection of Knative
8159 # Revisions and Configurations.
8160 { # TrafficTarget holds a single entry of the routing table for a Route.
8161 &quot;url&quot;: &quot;A String&quot;, # Output only. URL displays the URL for accessing tagged traffic targets. URL
8162 # is displayed in status, and is disallowed on spec. URL must contain a
8163 # scheme (e.g. http://) and a hostname, but may not contain anything else
8164 # (e.g. basic auth, url path, etc.
8165 #
8166 # Not currently supported in Cloud Run.
8167 &quot;configurationName&quot;: &quot;A String&quot;, # ConfigurationName of a configuration to whose latest revision we will
8168 # send this portion of traffic. When the &quot;status.latestReadyRevisionName&quot;
8169 # of the referenced configuration changes, we will automatically migrate
8170 # traffic from the prior &quot;latest ready&quot; revision to the new one. This field
8171 # is never set in Route&#x27;s status, only its spec. This is mutually exclusive
8172 # with RevisionName.
8173 #
8174 # Cloud Run currently supports a single ConfigurationName.
8175 &quot;percent&quot;: 42, # Percent specifies percent of the traffic to this Revision or Configuration.
8176 # This defaults to zero if unspecified.
8177 #
8178 # Cloud Run currently requires 100 percent for a single ConfigurationName
8179 # TrafficTarget entry.
8180 &quot;revisionName&quot;: &quot;A String&quot;, # RevisionName of a specific revision to which to send this portion of
8181 # traffic. This is mutually exclusive with ConfigurationName.
8182 #
8183 # Providing RevisionName in spec is not currently supported by Cloud Run.
8184 &quot;latestRevision&quot;: True or False, # LatestRevision may be optionally provided to indicate that the latest
8185 # ready Revision of the Configuration should be used for this traffic
8186 # target. When provided LatestRevision must be true if RevisionName is
8187 # empty; it must be false when RevisionName is non-empty.
8188 #
8189 # +optional
8190 &quot;tag&quot;: &quot;A String&quot;, # Tag is optionally used to expose a dedicated url for referencing
8191 # this target exclusively.
8192 #
8193 # Not currently supported in Cloud Run.
8194 # +optional
8195 },
8196 ],
8197 &quot;template&quot;: { # RevisionTemplateSpec describes the data a revision should have when created # Template holds the latest specification for the Revision to
8198 # be stamped out.
8199 # from a template. Based on:
8200 # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
8201 &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
8202 # will be generated by the Configuration.
8203 # To set minimum instances for this revision, use the
8204 # &quot;autoscaling.knative.dev/minScale&quot; annotation key.
8205 # To set maximum instances for this revision, use the
8206 # &quot;autoscaling.knative.dev/maxScale&quot; annotation key.
8207 # To set Cloud SQL connections for the revision, use the
8208 # &quot;run.googleapis.com/cloudsql-instances&quot; annotation key.
8209 # persisted resources must have, which includes all objects users must create.
8210 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
8211 #
8212 # CreationTimestamp is a timestamp representing the server time when this
8213 # object was created. It is not guaranteed to be set in happens-before order
8214 # across separate operations. Clients may not set this value. It is
8215 # represented in RFC3339 form and is in UTC.
8216 #
8217 # Populated by the system.
8218 # Read-only.
8219 # Null for lists.
8220 # More info:
8221 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
8222 &quot;labels&quot;: { # (Optional)
8223 #
8224 # Map of string keys and values that can be used to organize and categorize
8225 # (scope and select) objects. May match selectors of replication controllers
8226 # and routes.
8227 # More info: http://kubernetes.io/docs/user-guide/labels
8228 &quot;a_key&quot;: &quot;A String&quot;,
8229 },
8230 &quot;generation&quot;: 42, # (Optional)
8231 #
8232 # A sequence number representing a specific generation of the desired state.
8233 # Populated by the system. Read-only.
8234 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
8235 #
8236 # An opaque value that represents the internal version of this object that
8237 # can be used by clients to determine when objects have changed. May be used
8238 # for optimistic concurrency, change detection, and the watch operation on a
8239 # resource or set of resources. Clients must treat these values as opaque and
8240 # passed unmodified back to the server. They may only be valid for a
8241 # particular resource or set of resources.
8242 #
8243 # Populated by the system.
8244 # Read-only.
8245 # Value must be treated as opaque by clients and .
8246 # More info:
8247 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
8248 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
8249 #
8250 # SelfLink is a URL representing this object.
8251 # Populated by the system.
8252 # Read-only.
8253 # string selfLink = 4;
8254 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
8255 #
8256 # UID is the unique in time and space value for this object. It is typically
8257 # generated by the server on successful creation of a resource and is not
8258 # allowed to change on PUT operations.
8259 #
8260 # Populated by the system.
8261 # Read-only.
8262 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
8263 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
8264 # Cloud Run region. In Cloud Run the namespace must be equal to either the
8265 # project ID or project number.
8266 &quot;annotations&quot;: { # (Optional)
8267 #
8268 # Annotations is an unstructured key value map stored with a resource that
8269 # may be set by external tools to store and retrieve arbitrary metadata. They
8270 # are not queryable and should be preserved when modifying objects. More
8271 # info: http://kubernetes.io/docs/user-guide/annotations
8272 &quot;a_key&quot;: &quot;A String&quot;,
8273 },
8274 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
8275 #
8276 # Cloud Run fully managed: not supported
8277 #
8278 # Cloud Run for Anthos: supported
8279 #
8280 # GenerateName is an optional prefix, used by the server, to generate a
8281 # unique name ONLY IF the Name field has not been provided. If this field is
8282 # used, the name returned to the client will be different than the name
8283 # passed. This value will also be combined with a unique suffix. The provided
8284 # value has the same validation rules as the Name field, and may be truncated
8285 # by the length of the suffix required to make the value unique on the
8286 # server.
8287 #
8288 # If this field is specified and the generated name exists, the server will
8289 # NOT return a 409 - instead, it will either return 201 Created or 500 with
8290 # Reason ServerTimeout indicating a unique name could not be found in the
8291 # time allotted, and the client should retry (optionally after the time
8292 # indicated in the Retry-After header).
8293 #
8294 # Applied only if Name is not specified.
8295 # More info:
8296 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
8297 # string generateName = 2;
8298 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
8299 # Is required when creating
8300 # resources, although some resources may allow a client to request the
8301 # generation of an appropriate name automatically. Name is primarily intended
8302 # for creation idempotence and configuration definition. Cannot be updated.
8303 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
8304 # +optional
8305 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
8306 #
8307 # Cloud Run fully managed: not supported
8308 #
8309 # Cloud Run for Anthos: supported
8310 #
8311 # Number of seconds allowed for this object to gracefully terminate before
8312 # it will be removed from the system. Only set when deletionTimestamp is also
8313 # set. May only be shortened. Read-only.
8314 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
8315 #
8316 # Cloud Run fully managed: not supported
8317 #
8318 # Cloud Run for Anthos: supported
8319 #
8320 # The name of the cluster which the object belongs to.
8321 # This is used to distinguish resources with same name and namespace in
8322 # different clusters. This field is not set anywhere right now and apiserver
8323 # is going to ignore it if set in create or update request.
8324 &quot;finalizers&quot;: [ # (Optional)
8325 #
8326 # Cloud Run fully managed: not supported
8327 #
8328 # Cloud Run for Anthos: supported
8329 #
8330 # Must be empty before the object is deleted from the registry. Each entry
8331 # is an identifier for the responsible component that will remove the entry
8332 # from the list. If the deletionTimestamp of the object is non-nil, entries
8333 # in this list can only be removed.
8334 # +patchStrategy=merge
8335 &quot;A String&quot;,
8336 ],
8337 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
8338 #
8339 # Cloud Run fully managed: not supported
8340 #
8341 # Cloud Run for Anthos: supported
8342 #
8343 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
8344 # deleted. This field is set by the server when a graceful deletion is
8345 # requested by the user, and is not directly settable by a client. The
8346 # resource is expected to be deleted (no longer visible from resource lists,
8347 # and not reachable by name) after the time in this field, once the
8348 # finalizers list is empty. As long as the finalizers list contains items,
8349 # deletion is blocked. Once the deletionTimestamp is set, this value may not
8350 # be unset or be set further into the future, although it may be shortened or
8351 # the resource may be deleted prior to this time. For example, a user may
8352 # request that a pod is deleted in 30 seconds. The Kubelet will react by
8353 # sending a graceful termination signal to the containers in the pod. After
8354 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
8355 # to the container and after cleanup, remove the pod from the API. In the
8356 # presence of network partitions, this object may still exist after this
8357 # timestamp, until an administrator or automated process can determine the
8358 # resource is fully terminated.
8359 # If not set, graceful deletion of the object has not been requested.
8360 #
8361 # Populated by the system when a graceful deletion is requested.
8362 # Read-only.
8363 # More info:
8364 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
8365 &quot;ownerReferences&quot;: [ # (Optional)
8366 #
8367 # Cloud Run fully managed: not supported
8368 #
8369 # Cloud Run for Anthos: supported
8370 #
8371 # List of objects that own this object. If ALL objects in the list have
8372 # been deleted, this object will be garbage collected.
8373 { # OwnerReference contains enough information to let you identify an owning
8374 # object. Currently, an owning object must be in the same namespace, so there
8375 # is no namespace field.
8376 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
8377 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
8378 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
8379 # +optional
8380 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
8381 # More info:
8382 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
8383 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
8384 # the owner cannot be deleted from the key-value store until this
8385 # reference is removed.
8386 # Defaults to false.
8387 # To set this field, a user needs &quot;delete&quot; permission of the owner,
8388 # otherwise 422 (Unprocessable Entity) will be returned.
8389 # +optional
8390 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
8391 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
8392 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
8393 },
8394 ],
8395 },
8396 &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).
8397 &quot;volumes&quot;: [
8398 { # Cloud Run fully managed: not supported
8399 #
8400 # Cloud Run for Anthos: supported
8401 #
8402 # Volume represents a named volume in a container.
8403 &quot;configMap&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
8404 #
8405 # Cloud Run for Anthos: supported
8406 #
8407 # Cloud Run for Anthos: supported
8408 #
8409 # Adapts a ConfigMap into a volume.
8410 # The contents of the target ConfigMap&#x27;s Data field will be presented in a
8411 # volume as files using the keys in the Data field as the file names, unless
8412 # the items element is populated with specific mappings of keys to paths.
8413 &quot;optional&quot;: True or False, # (Optional)
8414 #
8415 # Cloud Run fully managed: not supported
8416 #
8417 # Cloud Run for Anthos: supported
8418 #
8419 # Specify whether the Secret or its keys must be defined.
8420 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8421 #
8422 # Cloud Run for Anthos: supported
8423 #
8424 # Name of the config.
8425 &quot;defaultMode&quot;: 42, # (Optional)
8426 #
8427 # Cloud Run fully managed: not supported
8428 #
8429 # Cloud Run for Anthos: supported
8430 #
8431 # Mode bits to use on created files by default. Must be a value between 0 and
8432 # 0777. Defaults to 0644. Directories within the path are not affected by
8433 # this setting. This might be in conflict with other options that affect the
8434 # file mode, like fsGroup, and the result can be other mode bits set.
8435 &quot;items&quot;: [ # (Optional)
8436 #
8437 # Cloud Run fully managed: not supported
8438 #
8439 # Cloud Run for Anthos: supported
8440 #
8441 # If unspecified, each key-value pair in the Data field of the referenced
8442 # Secret will be projected into the volume as a file whose name is the
8443 # key and content is the value. If specified, the listed keys will be
8444 # projected into the specified paths, and unlisted keys will not be
8445 # present. If a key is specified which is not present in the Secret,
8446 # the volume setup will error unless it is marked optional.
8447 { # Cloud Run fully managed: not supported
8448 #
8449 # Cloud Run for Anthos: supported
8450 #
8451 # Maps a string key to a path within a volume.
8452 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8453 #
8454 # Cloud Run for Anthos: supported
8455 #
8456 # The key to project.
8457 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8458 #
8459 # Cloud Run for Anthos: supported
8460 #
8461 # The relative path of the file to map the key to.
8462 # May not be an absolute path.
8463 # May not contain the path element &#x27;..&#x27;.
8464 # May not start with the string &#x27;..&#x27;.
8465 &quot;mode&quot;: 42, # (Optional)
8466 #
8467 # Cloud Run fully managed: not supported
8468 #
8469 # Cloud Run for Anthos: supported
8470 #
8471 # Mode bits to use on this file, must be a value between 0 and 0777. If not
8472 # specified, the volume defaultMode will be used. This might be in conflict
8473 # with other options that affect the file mode, like fsGroup, and the result
8474 # can be other mode bits set.
8475 },
8476 ],
8477 },
8478 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8479 #
8480 # Cloud Run for Anthos: supported
8481 #
8482 # Volume&#x27;s name.
8483 &quot;secret&quot;: { # Cloud Run fully managed: not supported # Cloud Run fully managed: not supported
8484 #
8485 # Cloud Run for Anthos: supported
8486 #
8487 # Cloud Run for Anthos: supported
8488 #
8489 # The contents of the target Secret&#x27;s Data field will be presented in a volume
8490 # as files using the keys in the Data field as the file names.
8491 &quot;optional&quot;: True or False, # (Optional)
8492 #
8493 # Cloud Run fully managed: not supported
8494 #
8495 # Cloud Run for Anthos: supported
8496 #
8497 # Specify whether the Secret or its keys must be defined.
8498 &quot;defaultMode&quot;: 42, # (Optional)
8499 #
8500 # Cloud Run fully managed: not supported
8501 #
8502 # Cloud Run for Anthos: supported
8503 #
8504 # Mode bits to use on created files by default. Must be a value between 0 and
8505 # 0777. Defaults to 0644. Directories within the path are not affected by
8506 # this setting. This might be in conflict with other options that affect the
8507 # file mode, like fsGroup, and the result can be other mode bits set.
8508 &quot;secretName&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8509 #
8510 # Cloud Run for Anthos: supported
8511 #
8512 # Name of the secret in the container&#x27;s namespace to use.
8513 &quot;items&quot;: [ # (Optional)
8514 #
8515 # Cloud Run fully managed: not supported
8516 #
8517 # Cloud Run for Anthos: supported
8518 #
8519 # If unspecified, each key-value pair in the Data field of the referenced
8520 # Secret will be projected into the volume as a file whose name is the
8521 # key and content is the value. If specified, the listed keys will be
8522 # projected into the specified paths, and unlisted keys will not be
8523 # present. If a key is specified which is not present in the Secret,
8524 # the volume setup will error unless it is marked optional.
8525 { # Cloud Run fully managed: not supported
8526 #
8527 # Cloud Run for Anthos: supported
8528 #
8529 # Maps a string key to a path within a volume.
8530 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8531 #
8532 # Cloud Run for Anthos: supported
8533 #
8534 # The key to project.
8535 &quot;path&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8536 #
8537 # Cloud Run for Anthos: supported
8538 #
8539 # The relative path of the file to map the key to.
8540 # May not be an absolute path.
8541 # May not contain the path element &#x27;..&#x27;.
8542 # May not start with the string &#x27;..&#x27;.
8543 &quot;mode&quot;: 42, # (Optional)
8544 #
8545 # Cloud Run fully managed: not supported
8546 #
8547 # Cloud Run for Anthos: supported
8548 #
8549 # Mode bits to use on this file, must be a value between 0 and 0777. If not
8550 # specified, the volume defaultMode will be used. This might be in conflict
8551 # with other options that affect the file mode, like fsGroup, and the result
8552 # can be other mode bits set.
8553 },
8554 ],
8555 },
8556 },
8557 ],
8558 &quot;containerConcurrency&quot;: 42, # (Optional)
8559 #
8560 # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
8561 # requests per container instance of the Revision.
8562 #
8563 # Cloud Run fully managed: supported, defaults to 80
8564 #
8565 # Cloud Run for Anthos: supported, defaults to 0, which means concurrency
8566 # to the application is not limited, and the system decides the
8567 # target concurrency for the autoscaler.
8568 &quot;timeoutSeconds&quot;: 42, # TimeoutSeconds holds the max duration the instance is allowed for
8569 # responding to a request.
8570 # Not currently used by Cloud Run.
8571 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Email address of the IAM service account associated with the revision
8572 # of the service. The service account represents the identity of the
8573 # running revision, and determines what permissions the revision has. If
8574 # not provided, the revision will use the project&#x27;s default service account.
8575 &quot;containers&quot;: [ # Containers holds the single container that defines the unit of execution
8576 # for this Revision. In the context of a Revision, we disallow a number of
8577 # fields on this Container, including: name and lifecycle.
8578 # In Cloud Run, only a single container may be provided.
8579 # The runtime contract is documented here:
8580 # https://github.com/knative/serving/blob/master/docs/runtime-contract.md
8581 { # A single application container.
8582 # This specifies both the container to run, the command to run in the container
8583 # and the arguments to supply to it.
8584 # Note that additional arguments may be supplied by the system to the container
8585 # at runtime.
8586 &quot;volumeMounts&quot;: [ # (Optional)
8587 #
8588 # Cloud Run fully managed: not supported
8589 #
8590 # Cloud Run for Anthos: supported
8591 #
8592 # Pod volumes to mount into the container&#x27;s filesystem.
8593 { # Cloud Run fully managed: not supported
8594 #
8595 # Cloud Run for Anthos: supported
8596 #
8597 # VolumeMount describes a mounting of a Volume within a container.
8598 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8599 #
8600 # Cloud Run for Anthos: supported
8601 #
8602 # This must match the Name of a Volume.
8603 &quot;readOnly&quot;: True or False, # (Optional)
8604 #
8605 # Cloud Run fully managed: not supported
8606 #
8607 # Cloud Run for Anthos: supported
8608 #
8609 # Only true is accepted.
8610 # Defaults to true.
8611 &quot;mountPath&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8612 #
8613 # Cloud Run for Anthos: supported
8614 #
8615 # Path within the container at which the volume should be mounted. Must
8616 # not contain &#x27;:&#x27;.
8617 &quot;subPath&quot;: &quot;A String&quot;, # (Optional)
8618 #
8619 # Cloud Run fully managed: not supported
8620 #
8621 # Cloud Run for Anthos: supported
8622 #
8623 # Path within the volume from which the container&#x27;s volume should be mounted.
8624 # Defaults to &quot;&quot; (volume&#x27;s root).
8625 },
8626 ],
8627 &quot;args&quot;: [ # (Optional)
8628 #
8629 # Cloud Run fully managed: supported
8630 #
8631 # Cloud Run for Anthos: supported
8632 #
8633 # Arguments to the entrypoint.
8634 # The docker image&#x27;s CMD is used if this is not provided.
8635 # Variable references $(VAR_NAME) are expanded using the container&#x27;s
8636 # environment. If a variable cannot be resolved, the reference in the input
8637 # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
8638 # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
8639 # regardless of whether the variable exists or not.
8640 # More info:
8641 # https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
8642 &quot;A String&quot;,
8643 ],
8644 &quot;workingDir&quot;: &quot;A String&quot;, # (Optional)
8645 #
8646 # Cloud Run fully managed: not supported
8647 #
8648 # Cloud Run for Anthos: supported
8649 #
8650 # Container&#x27;s working directory.
8651 # If not specified, the container runtime&#x27;s default will be used, which
8652 # might be configured in the container image.
8653 &quot;ports&quot;: [ # (Optional)
8654 #
8655 # List of ports to expose from the container. Only a single port can be
8656 # specified. The specified ports must be listening on all interfaces
8657 # (0.0.0.0) within the container to be accessible.
8658 #
8659 # If omitted, a port number will be chosen and passed to the container
8660 # through the PORT environment variable for the container to listen on.
8661 { # ContainerPort represents a network port in a single container.
8662 &quot;containerPort&quot;: 42, # (Optional)
8663 #
8664 # Port number the container listens on.
8665 # This must be a valid port number, 0 &lt; x &lt; 65536.
8666 &quot;protocol&quot;: &quot;A String&quot;, # (Optional)
8667 #
8668 # Cloud Run fully managed: not supported
8669 #
8670 # Cloud Run for Anthos: supported
8671 #
8672 # Protocol for port. Must be &quot;TCP&quot;.
8673 # Defaults to &quot;TCP&quot;.
8674 &quot;name&quot;: &quot;A String&quot;, # (Optional)
8675 #
8676 # Cloud Run fully managed: not supported
8677 #
8678 # Cloud Run for Anthos: supported
8679 #
8680 # If specified, used to specify which protocol to use.
8681 # Allowed values are &quot;http1&quot; and &quot;h2c&quot;.
8682 },
8683 ],
8684 &quot;image&quot;: &quot;A String&quot;, # Cloud Run fully managed: only supports containers from Google Container
8685 # Registry
8686 #
8687 # Cloud Run for Anthos: supported
8688 #
8689 # URL of the Container image.
8690 # More info: https://kubernetes.io/docs/concepts/containers/images
8691 &quot;envFrom&quot;: [ # (Optional)
8692 #
8693 # Cloud Run fully managed: not supported
8694 #
8695 # Cloud Run for Anthos: supported
8696 #
8697 # List of sources to populate environment variables in the container.
8698 # The keys defined within a source must be a C_IDENTIFIER. All invalid keys
8699 # will be reported as an event when the container is starting. When a key
8700 # exists in multiple sources, the value associated with the last source will
8701 # take precedence. Values defined by an Env with a duplicate key will take
8702 # precedence. Cannot be updated.
8703 { # Cloud Run fully managed: not supported
8704 #
8705 # Cloud Run for Anthos: supported
8706 #
8707 # EnvFromSource represents the source of a set of ConfigMaps
8708 &quot;prefix&quot;: &quot;A String&quot;, # (Optional)
8709 #
8710 # Cloud Run fully managed: not supported
8711 #
8712 # Cloud Run for Anthos: supported
8713 #
8714 # An optional identifier to prepend to each key in the ConfigMap. Must be a
8715 # C_IDENTIFIER.
8716 &quot;configMapRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
8717 #
8718 # Cloud Run fully managed: not supported
8719 #
8720 # Cloud Run for Anthos: supported
8721 #
8722 # The ConfigMap to select from
8723 #
8724 # Cloud Run for Anthos: supported
8725 #
8726 # ConfigMapEnvSource selects a ConfigMap to populate the environment
8727 # variables with.
8728 #
8729 # The contents of the target ConfigMap&#x27;s Data field will represent the
8730 # key-value pairs as environment variables.
8731 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
8732 # directly into the message. Use the &quot;name&quot; field instead.
8733 #
8734 # Cloud Run for Anthos: supported
8735 #
8736 # LocalObjectReference contains enough information to let you locate the
8737 # referenced object inside the same namespace.
8738 &quot;name&quot;: &quot;A String&quot;, # (Optional)
8739 #
8740 # Cloud Run fully managed: not supported
8741 #
8742 # Cloud Run for Anthos: supported
8743 #
8744 # Name of the referent.
8745 # More info:
8746 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8747 },
8748 &quot;optional&quot;: True or False, # (Optional)
8749 #
8750 # Cloud Run fully managed: not supported
8751 #
8752 # Cloud Run for Anthos: supported
8753 #
8754 # Specify whether the ConfigMap must be defined
8755 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8756 #
8757 # Cloud Run for Anthos: supported
8758 #
8759 # The ConfigMap to select from.
8760 },
8761 &quot;secretRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
8762 #
8763 # Cloud Run fully managed: not supported
8764 #
8765 # Cloud Run for Anthos: supported
8766 #
8767 # The Secret to select from
8768 #
8769 # Cloud Run for Anthos: supported
8770 #
8771 # SecretEnvSource selects a Secret to populate the environment
8772 # variables with.
8773 #
8774 # The contents of the target Secret&#x27;s Data field will represent the
8775 # key-value pairs as environment variables.
8776 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
8777 # directly into the message. Use the &quot;name&quot; field instead.
8778 #
8779 # Cloud Run for Anthos: supported
8780 #
8781 # LocalObjectReference contains enough information to let you locate the
8782 # referenced object inside the same namespace.
8783 &quot;name&quot;: &quot;A String&quot;, # (Optional)
8784 #
8785 # Cloud Run fully managed: not supported
8786 #
8787 # Cloud Run for Anthos: supported
8788 #
8789 # Name of the referent.
8790 # More info:
8791 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
8792 },
8793 &quot;optional&quot;: True or False, # (Optional)
8794 #
8795 # Cloud Run fully managed: not supported
8796 #
8797 # Cloud Run for Anthos: supported
8798 #
8799 # Specify whether the Secret must be defined
8800 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8801 #
8802 # Cloud Run for Anthos: supported
8803 #
8804 # The Secret to select from.
8805 },
8806 },
8807 ],
8808 &quot;name&quot;: &quot;A String&quot;, # (Optional)
8809 #
8810 # Name of the container specified as a DNS_LABEL.
8811 &quot;command&quot;: [
8812 &quot;A String&quot;,
8813 ],
8814 &quot;terminationMessagePolicy&quot;: &quot;A String&quot;, # (Optional)
8815 #
8816 # Cloud Run fully managed: not supported
8817 #
8818 # Cloud Run for Anthos: supported
8819 #
8820 # Indicate how the termination message should be populated. File will use the
8821 # contents of terminationMessagePath to populate the container status message
8822 # on both success and failure. FallbackToLogsOnError will use the last chunk
8823 # of container log output if the termination message file is empty and the
8824 # container exited with an error. The log output is limited to 2048 bytes or
8825 # 80 lines, whichever is smaller. Defaults to File. Cannot be updated.
8826 &quot;securityContext&quot;: { # Cloud Run fully managed: not supported # (Optional)
8827 #
8828 # Cloud Run fully managed: not supported
8829 #
8830 # Cloud Run for Anthos: supported
8831 #
8832 # Security options the pod should run with.
8833 # More info: https://kubernetes.io/docs/concepts/policy/security-context/
8834 # More info:
8835 # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
8836 #
8837 # Cloud Run for Anthos: supported
8838 #
8839 # SecurityContext holds security configuration that will be applied to a
8840 # container. Some fields are present in both SecurityContext and
8841 # PodSecurityContext. When both are set, the values in SecurityContext take
8842 # precedence.
8843 &quot;runAsUser&quot;: 42, # (Optional)
8844 #
8845 # Cloud Run fully managed: not supported
8846 #
8847 # Cloud Run for Anthos: supported
8848 #
8849 # The UID to run the entrypoint of the container process.
8850 # Defaults to user specified in image metadata if unspecified.
8851 # May also be set in PodSecurityContext. If set in both SecurityContext and
8852 # PodSecurityContext, the value specified in SecurityContext takes
8853 # precedence.
8854 },
8855 &quot;livenessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
8856 #
8857 # Cloud Run fully managed: not supported
8858 #
8859 # Cloud Run for Anthos: supported
8860 #
8861 # Periodic probe of container liveness.
8862 # Container will be restarted if the probe fails.
8863 # More info:
8864 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
8865 #
8866 # Cloud Run for Anthos: supported
8867 #
8868 # Probe describes a health check to be performed against a container to
8869 # determine whether it is alive or ready to receive traffic.
8870 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
8871 #
8872 # Cloud Run fully managed: not supported
8873 #
8874 # Cloud Run for Anthos: supported
8875 #
8876 # HTTPGet specifies the http request to perform.
8877 #
8878 # A field inlined from the Handler message.
8879 #
8880 # Cloud Run for Anthos: supported
8881 #
8882 # HTTPGetAction describes an action based on HTTP Get requests.
8883 &quot;httpHeaders&quot;: [ # (Optional)
8884 #
8885 # Cloud Run fully managed: not supported
8886 #
8887 # Cloud Run for Anthos: supported
8888 #
8889 # Custom headers to set in the request. HTTP allows repeated headers.
8890 { # Cloud Run fully managed: not supported
8891 #
8892 # Cloud Run for Anthos: supported
8893 #
8894 # HTTPHeader describes a custom header to be used in HTTP probes
8895 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8896 #
8897 # Cloud Run for Anthos: supported
8898 #
8899 # The header field name
8900 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
8901 #
8902 # Cloud Run for Anthos: supported
8903 #
8904 # The header field value
8905 },
8906 ],
8907 &quot;path&quot;: &quot;A String&quot;, # (Optional)
8908 #
8909 # Cloud Run fully managed: not supported
8910 #
8911 # Cloud Run for Anthos: supported
8912 #
8913 # Path to access on the HTTP server.
8914 &quot;host&quot;: &quot;A String&quot;, # (Optional)
8915 #
8916 # Cloud Run fully managed: not supported
8917 #
8918 # Cloud Run for Anthos: supported
8919 #
8920 # Host name to connect to, defaults to the pod IP. You probably want to set
8921 # &quot;Host&quot; in httpHeaders instead.
8922 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
8923 #
8924 # Cloud Run fully managed: not supported
8925 #
8926 # Cloud Run for Anthos: supported
8927 #
8928 # Scheme to use for connecting to the host.
8929 # Defaults to HTTP.
8930 },
8931 &quot;failureThreshold&quot;: 42, # (Optional)
8932 #
8933 # Cloud Run fully managed: not supported
8934 #
8935 # Cloud Run for Anthos: supported
8936 #
8937 # Minimum consecutive failures for the probe to be considered failed after
8938 # having succeeded. Defaults to 3. Minimum value is 1.
8939 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
8940 #
8941 # Cloud Run fully managed: not supported
8942 #
8943 # Cloud Run for Anthos: supported
8944 #
8945 # One and only one of the following should be specified.
8946 # Exec specifies the action to take.
8947 #
8948 # A field inlined from the Handler message.
8949 #
8950 # Cloud Run for Anthos: supported
8951 #
8952 # ExecAction describes a &quot;run in container&quot; action.
8953 &quot;command&quot;: &quot;A String&quot;, # (Optional)
8954 #
8955 # Cloud Run fully managed: not supported
8956 #
8957 # Cloud Run for Anthos: supported
8958 #
8959 # Command is the command line to execute inside the container, the working
8960 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
8961 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
8962 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
8963 # explicitly call out to that shell. Exit status of 0 is treated as
8964 # live/healthy and non-zero is unhealthy.
8965 },
8966 &quot;initialDelaySeconds&quot;: 42, # (Optional)
8967 #
8968 # Cloud Run fully managed: not supported
8969 #
8970 # Cloud Run for Anthos: supported
8971 #
8972 # Number of seconds after the container has started before liveness probes
8973 # are initiated. More info:
8974 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
8975 &quot;timeoutSeconds&quot;: 42, # (Optional)
8976 #
8977 # Cloud Run fully managed: not supported
8978 #
8979 # Cloud Run for Anthos: supported
8980 #
8981 # Number of seconds after which the probe times out.
8982 # Defaults to 1 second. Minimum value is 1.
8983 # More info:
8984 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
8985 &quot;successThreshold&quot;: 42, # (Optional)
8986 #
8987 # Cloud Run fully managed: not supported
8988 #
8989 # Cloud Run for Anthos: supported
8990 #
8991 # Minimum consecutive successes for the probe to be considered successful
8992 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
8993 # is 1.
8994 &quot;periodSeconds&quot;: 42, # (Optional)
8995 #
8996 # Cloud Run fully managed: not supported
8997 #
8998 # Cloud Run for Anthos: supported
8999 #
9000 # How often (in seconds) to perform the probe.
9001 # Default to 10 seconds. Minimum value is 1.
9002 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
9003 #
9004 # Cloud Run fully managed: not supported
9005 #
9006 # Cloud Run for Anthos: supported
9007 #
9008 # TCPSocket specifies an action involving a TCP port.
9009 # TCP hooks not yet supported
9010 #
9011 # A field inlined from the Handler message.
9012 #
9013 # Cloud Run for Anthos: supported
9014 #
9015 # TCPSocketAction describes an action based on opening a socket
9016 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
9017 #
9018 # Cloud Run for Anthos: supported
9019 #
9020 # Number or name of the port to access on the container.
9021 # Number must be in the range 1 to 65535.
9022 # Name must be an IANA_SVC_NAME.
9023 #
9024 # This field is currently limited to integer types only because of proto&#x27;s
9025 # inability to properly support the IntOrString golang type.
9026 &quot;host&quot;: &quot;A String&quot;, # (Optional)
9027 #
9028 # Cloud Run fully managed: not supported
9029 #
9030 # Cloud Run for Anthos: supported
9031 #
9032 # Optional: Host name to connect to, defaults to the pod IP.
9033 },
9034 },
9035 &quot;env&quot;: [ # (Optional)
9036 #
9037 # Cloud Run fully managed: supported
9038 #
9039 # Cloud Run for Anthos: supported
9040 #
9041 # List of environment variables to set in the container.
9042 { # EnvVar represents an environment variable present in a Container.
9043 &quot;name&quot;: &quot;A String&quot;, # Name of the environment variable. Must be a C_IDENTIFIER.
9044 &quot;valueFrom&quot;: { # Cloud Run fully managed: not supported # (Optional)
9045 #
9046 # Cloud Run fully managed: not supported
9047 #
9048 # Cloud Run for Anthos: supported
9049 #
9050 # Source for the environment variable&#x27;s value. Cannot be used if value is not
9051 # empty.
9052 #
9053 # Cloud Run for Anthos: supported
9054 #
9055 # EnvVarSource represents a source for the value of an EnvVar.
9056 &quot;secretKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
9057 #
9058 # Cloud Run fully managed: not supported
9059 #
9060 # Cloud Run for Anthos: supported
9061 #
9062 # Selects a key of a secret in the pod&#x27;s namespace
9063 #
9064 # Cloud Run for Anthos: supported
9065 #
9066 # SecretKeySelector selects a key of a Secret.
9067 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9068 #
9069 # Cloud Run for Anthos: supported
9070 #
9071 # The key of the secret to select from. Must be a valid secret key.
9072 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9073 #
9074 # Cloud Run for Anthos: supported
9075 #
9076 # The name of the secret in the pod&#x27;s namespace to select from.
9077 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
9078 # directly into the message. Use the &quot;name&quot; field instead.
9079 #
9080 # Cloud Run for Anthos: supported
9081 #
9082 # LocalObjectReference contains enough information to let you locate the
9083 # referenced object inside the same namespace.
9084 &quot;name&quot;: &quot;A String&quot;, # (Optional)
9085 #
9086 # Cloud Run fully managed: not supported
9087 #
9088 # Cloud Run for Anthos: supported
9089 #
9090 # Name of the referent.
9091 # More info:
9092 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9093 },
9094 &quot;optional&quot;: True or False, # (Optional)
9095 #
9096 # Cloud Run fully managed: not supported
9097 #
9098 # Cloud Run for Anthos: supported
9099 #
9100 # Specify whether the Secret or its key must be defined
9101 },
9102 &quot;configMapKeyRef&quot;: { # Cloud Run fully managed: not supported # (Optional)
9103 #
9104 # Cloud Run fully managed: not supported
9105 #
9106 # Cloud Run for Anthos: supported
9107 #
9108 # Selects a key of a ConfigMap.
9109 #
9110 # Cloud Run for Anthos: supported
9111 #
9112 # Selects a key from a ConfigMap.
9113 &quot;localObjectReference&quot;: { # Cloud Run fully managed: not supported # This field should not be used directly as it is meant to be inlined
9114 # directly into the message. Use the &quot;name&quot; field instead.
9115 #
9116 # Cloud Run for Anthos: supported
9117 #
9118 # LocalObjectReference contains enough information to let you locate the
9119 # referenced object inside the same namespace.
9120 &quot;name&quot;: &quot;A String&quot;, # (Optional)
9121 #
9122 # Cloud Run fully managed: not supported
9123 #
9124 # Cloud Run for Anthos: supported
9125 #
9126 # Name of the referent.
9127 # More info:
9128 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9129 },
9130 &quot;optional&quot;: True or False, # (Optional)
9131 #
9132 # Cloud Run fully managed: not supported
9133 #
9134 # Cloud Run for Anthos: supported
9135 #
9136 # Specify whether the ConfigMap or its key must be defined
9137 &quot;key&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9138 #
9139 # Cloud Run for Anthos: supported
9140 #
9141 # The key to select.
9142 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9143 #
9144 # Cloud Run for Anthos: supported
9145 #
9146 # The ConfigMap to select from.
9147 },
9148 },
9149 &quot;value&quot;: &quot;A String&quot;, # (Optional)
9150 #
9151 # Variable references $(VAR_NAME) are expanded
9152 # using the previous defined environment variables in the container and
9153 # any route environment variables. If a variable cannot be resolved,
9154 # the reference in the input string will be unchanged. The $(VAR_NAME)
9155 # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
9156 # references will never be expanded, regardless of whether the variable
9157 # exists or not.
9158 # Defaults to &quot;&quot;.
9159 },
9160 ],
9161 &quot;resources&quot;: { # ResourceRequirements describes the compute resource requirements. # (Optional)
9162 #
9163 # Cloud Run fully managed: supported
9164 #
9165 # Cloud Run for Anthos: supported
9166 #
9167 # Compute Resources required by this container.
9168 # More info:
9169 # https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
9170 &quot;limits&quot;: { # (Optional)
9171 #
9172 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
9173 # supported value for CPU is &#x27;1&#x27;.
9174 #
9175 # Cloud Run for Anthos: supported
9176 #
9177 # Limits describes the maximum amount of compute resources allowed.
9178 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
9179 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
9180 &quot;a_key&quot;: &quot;A String&quot;,
9181 },
9182 &quot;requests&quot;: { # (Optional)
9183 #
9184 # Cloud Run fully managed: Only memory and CPU are supported. Note: The only
9185 # supported value for CPU is &#x27;1&#x27;.
9186 #
9187 # Cloud Run for Anthos: supported
9188 #
9189 # Requests describes the minimum amount of compute resources required.
9190 # If Requests is omitted for a container, it defaults to Limits if that is
9191 # explicitly specified, otherwise to an implementation-defined value.
9192 # The values of the map is string form of the &#x27;quantity&#x27; k8s type:
9193 # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
9194 &quot;a_key&quot;: &quot;A String&quot;,
9195 },
9196 },
9197 &quot;readinessProbe&quot;: { # Cloud Run fully managed: not supported # (Optional)
9198 #
9199 # Cloud Run fully managed: not supported
9200 #
9201 # Cloud Run for Anthos: supported
9202 #
9203 # Periodic probe of container service readiness.
9204 # Container will be removed from service endpoints if the probe fails.
9205 # More info:
9206 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
9207 #
9208 # Cloud Run for Anthos: supported
9209 #
9210 # Probe describes a health check to be performed against a container to
9211 # determine whether it is alive or ready to receive traffic.
9212 &quot;httpGet&quot;: { # Cloud Run fully managed: not supported # (Optional)
9213 #
9214 # Cloud Run fully managed: not supported
9215 #
9216 # Cloud Run for Anthos: supported
9217 #
9218 # HTTPGet specifies the http request to perform.
9219 #
9220 # A field inlined from the Handler message.
9221 #
9222 # Cloud Run for Anthos: supported
9223 #
9224 # HTTPGetAction describes an action based on HTTP Get requests.
9225 &quot;httpHeaders&quot;: [ # (Optional)
9226 #
9227 # Cloud Run fully managed: not supported
9228 #
9229 # Cloud Run for Anthos: supported
9230 #
9231 # Custom headers to set in the request. HTTP allows repeated headers.
9232 { # Cloud Run fully managed: not supported
9233 #
9234 # Cloud Run for Anthos: supported
9235 #
9236 # HTTPHeader describes a custom header to be used in HTTP probes
9237 &quot;name&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9238 #
9239 # Cloud Run for Anthos: supported
9240 #
9241 # The header field name
9242 &quot;value&quot;: &quot;A String&quot;, # Cloud Run fully managed: not supported
9243 #
9244 # Cloud Run for Anthos: supported
9245 #
9246 # The header field value
9247 },
9248 ],
9249 &quot;path&quot;: &quot;A String&quot;, # (Optional)
9250 #
9251 # Cloud Run fully managed: not supported
9252 #
9253 # Cloud Run for Anthos: supported
9254 #
9255 # Path to access on the HTTP server.
9256 &quot;host&quot;: &quot;A String&quot;, # (Optional)
9257 #
9258 # Cloud Run fully managed: not supported
9259 #
9260 # Cloud Run for Anthos: supported
9261 #
9262 # Host name to connect to, defaults to the pod IP. You probably want to set
9263 # &quot;Host&quot; in httpHeaders instead.
9264 &quot;scheme&quot;: &quot;A String&quot;, # (Optional)
9265 #
9266 # Cloud Run fully managed: not supported
9267 #
9268 # Cloud Run for Anthos: supported
9269 #
9270 # Scheme to use for connecting to the host.
9271 # Defaults to HTTP.
9272 },
9273 &quot;failureThreshold&quot;: 42, # (Optional)
9274 #
9275 # Cloud Run fully managed: not supported
9276 #
9277 # Cloud Run for Anthos: supported
9278 #
9279 # Minimum consecutive failures for the probe to be considered failed after
9280 # having succeeded. Defaults to 3. Minimum value is 1.
9281 &quot;exec&quot;: { # Cloud Run fully managed: not supported # (Optional)
9282 #
9283 # Cloud Run fully managed: not supported
9284 #
9285 # Cloud Run for Anthos: supported
9286 #
9287 # One and only one of the following should be specified.
9288 # Exec specifies the action to take.
9289 #
9290 # A field inlined from the Handler message.
9291 #
9292 # Cloud Run for Anthos: supported
9293 #
9294 # ExecAction describes a &quot;run in container&quot; action.
9295 &quot;command&quot;: &quot;A String&quot;, # (Optional)
9296 #
9297 # Cloud Run fully managed: not supported
9298 #
9299 # Cloud Run for Anthos: supported
9300 #
9301 # Command is the command line to execute inside the container, the working
9302 # directory for the command is root (&#x27;/&#x27;) in the container&#x27;s filesystem. The
9303 # command is simply exec&#x27;d, it is not run inside a shell, so traditional
9304 # shell instructions (&#x27;|&#x27;, etc) won&#x27;t work. To use a shell, you need to
9305 # explicitly call out to that shell. Exit status of 0 is treated as
9306 # live/healthy and non-zero is unhealthy.
9307 },
9308 &quot;initialDelaySeconds&quot;: 42, # (Optional)
9309 #
9310 # Cloud Run fully managed: not supported
9311 #
9312 # Cloud Run for Anthos: supported
9313 #
9314 # Number of seconds after the container has started before liveness probes
9315 # are initiated. More info:
9316 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
9317 &quot;timeoutSeconds&quot;: 42, # (Optional)
9318 #
9319 # Cloud Run fully managed: not supported
9320 #
9321 # Cloud Run for Anthos: supported
9322 #
9323 # Number of seconds after which the probe times out.
9324 # Defaults to 1 second. Minimum value is 1.
9325 # More info:
9326 # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
9327 &quot;successThreshold&quot;: 42, # (Optional)
9328 #
9329 # Cloud Run fully managed: not supported
9330 #
9331 # Cloud Run for Anthos: supported
9332 #
9333 # Minimum consecutive successes for the probe to be considered successful
9334 # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
9335 # is 1.
9336 &quot;periodSeconds&quot;: 42, # (Optional)
9337 #
9338 # Cloud Run fully managed: not supported
9339 #
9340 # Cloud Run for Anthos: supported
9341 #
9342 # How often (in seconds) to perform the probe.
9343 # Default to 10 seconds. Minimum value is 1.
9344 &quot;tcpSocket&quot;: { # Cloud Run fully managed: not supported # (Optional)
9345 #
9346 # Cloud Run fully managed: not supported
9347 #
9348 # Cloud Run for Anthos: supported
9349 #
9350 # TCPSocket specifies an action involving a TCP port.
9351 # TCP hooks not yet supported
9352 #
9353 # A field inlined from the Handler message.
9354 #
9355 # Cloud Run for Anthos: supported
9356 #
9357 # TCPSocketAction describes an action based on opening a socket
9358 &quot;port&quot;: 42, # Cloud Run fully managed: not supported
9359 #
9360 # Cloud Run for Anthos: supported
9361 #
9362 # Number or name of the port to access on the container.
9363 # Number must be in the range 1 to 65535.
9364 # Name must be an IANA_SVC_NAME.
9365 #
9366 # This field is currently limited to integer types only because of proto&#x27;s
9367 # inability to properly support the IntOrString golang type.
9368 &quot;host&quot;: &quot;A String&quot;, # (Optional)
9369 #
9370 # Cloud Run fully managed: not supported
9371 #
9372 # Cloud Run for Anthos: supported
9373 #
9374 # Optional: Host name to connect to, defaults to the pod IP.
9375 },
9376 },
9377 &quot;imagePullPolicy&quot;: &quot;A String&quot;, # (Optional)
9378 #
9379 # Cloud Run fully managed: not supported
9380 #
9381 # Cloud Run for Anthos: supported
9382 #
9383 # Image pull policy.
9384 # One of Always, Never, IfNotPresent.
9385 # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
9386 # More info:
9387 # https://kubernetes.io/docs/concepts/containers/images#updating-images
9388 &quot;terminationMessagePath&quot;: &quot;A String&quot;, # (Optional)
9389 #
9390 # Cloud Run fully managed: not supported
9391 #
9392 # Cloud Run for Anthos: supported
9393 #
9394 # Path at which the file to which the container&#x27;s termination
9395 # message will be written is mounted into the container&#x27;s filesystem. Message
9396 # written is intended to be brief final status, such as an assertion failure
9397 # message. Will be truncated by the node if greater than 4096 bytes. The
9398 # total message length across all containers will be limited to 12kb.
9399 # Defaults to /dev/termination-log.
9400 },
9401 ],
9402 },
9403 },
9404 },
9405 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;Service&quot;.
9406 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this Service, including name, namespace, labels,
9407 # and annotations.
9408 # persisted resources must have, which includes all objects users must create.
9409 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
9410 #
9411 # CreationTimestamp is a timestamp representing the server time when this
9412 # object was created. It is not guaranteed to be set in happens-before order
9413 # across separate operations. Clients may not set this value. It is
9414 # represented in RFC3339 form and is in UTC.
9415 #
9416 # Populated by the system.
9417 # Read-only.
9418 # Null for lists.
9419 # More info:
9420 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
9421 &quot;labels&quot;: { # (Optional)
9422 #
9423 # Map of string keys and values that can be used to organize and categorize
9424 # (scope and select) objects. May match selectors of replication controllers
9425 # and routes.
9426 # More info: http://kubernetes.io/docs/user-guide/labels
9427 &quot;a_key&quot;: &quot;A String&quot;,
9428 },
9429 &quot;generation&quot;: 42, # (Optional)
9430 #
9431 # A sequence number representing a specific generation of the desired state.
9432 # Populated by the system. Read-only.
9433 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
9434 #
9435 # An opaque value that represents the internal version of this object that
9436 # can be used by clients to determine when objects have changed. May be used
9437 # for optimistic concurrency, change detection, and the watch operation on a
9438 # resource or set of resources. Clients must treat these values as opaque and
9439 # passed unmodified back to the server. They may only be valid for a
9440 # particular resource or set of resources.
9441 #
9442 # Populated by the system.
9443 # Read-only.
9444 # Value must be treated as opaque by clients and .
9445 # More info:
9446 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
9447 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
9448 #
9449 # SelfLink is a URL representing this object.
9450 # Populated by the system.
9451 # Read-only.
9452 # string selfLink = 4;
9453 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
9454 #
9455 # UID is the unique in time and space value for this object. It is typically
9456 # generated by the server on successful creation of a resource and is not
9457 # allowed to change on PUT operations.
9458 #
9459 # Populated by the system.
9460 # Read-only.
9461 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
9462 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
9463 # Cloud Run region. In Cloud Run the namespace must be equal to either the
9464 # project ID or project number.
9465 &quot;annotations&quot;: { # (Optional)
9466 #
9467 # Annotations is an unstructured key value map stored with a resource that
9468 # may be set by external tools to store and retrieve arbitrary metadata. They
9469 # are not queryable and should be preserved when modifying objects. More
9470 # info: http://kubernetes.io/docs/user-guide/annotations
9471 &quot;a_key&quot;: &quot;A String&quot;,
9472 },
9473 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
9474 #
9475 # Cloud Run fully managed: not supported
9476 #
9477 # Cloud Run for Anthos: supported
9478 #
9479 # GenerateName is an optional prefix, used by the server, to generate a
9480 # unique name ONLY IF the Name field has not been provided. If this field is
9481 # used, the name returned to the client will be different than the name
9482 # passed. This value will also be combined with a unique suffix. The provided
9483 # value has the same validation rules as the Name field, and may be truncated
9484 # by the length of the suffix required to make the value unique on the
9485 # server.
9486 #
9487 # If this field is specified and the generated name exists, the server will
9488 # NOT return a 409 - instead, it will either return 201 Created or 500 with
9489 # Reason ServerTimeout indicating a unique name could not be found in the
9490 # time allotted, and the client should retry (optionally after the time
9491 # indicated in the Retry-After header).
9492 #
9493 # Applied only if Name is not specified.
9494 # More info:
9495 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
9496 # string generateName = 2;
9497 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
9498 # Is required when creating
9499 # resources, although some resources may allow a client to request the
9500 # generation of an appropriate name automatically. Name is primarily intended
9501 # for creation idempotence and configuration definition. Cannot be updated.
9502 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
9503 # +optional
9504 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
9505 #
9506 # Cloud Run fully managed: not supported
9507 #
9508 # Cloud Run for Anthos: supported
9509 #
9510 # Number of seconds allowed for this object to gracefully terminate before
9511 # it will be removed from the system. Only set when deletionTimestamp is also
9512 # set. May only be shortened. Read-only.
9513 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
9514 #
9515 # Cloud Run fully managed: not supported
9516 #
9517 # Cloud Run for Anthos: supported
9518 #
9519 # The name of the cluster which the object belongs to.
9520 # This is used to distinguish resources with same name and namespace in
9521 # different clusters. This field is not set anywhere right now and apiserver
9522 # is going to ignore it if set in create or update request.
9523 &quot;finalizers&quot;: [ # (Optional)
9524 #
9525 # Cloud Run fully managed: not supported
9526 #
9527 # Cloud Run for Anthos: supported
9528 #
9529 # Must be empty before the object is deleted from the registry. Each entry
9530 # is an identifier for the responsible component that will remove the entry
9531 # from the list. If the deletionTimestamp of the object is non-nil, entries
9532 # in this list can only be removed.
9533 # +patchStrategy=merge
9534 &quot;A String&quot;,
9535 ],
9536 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
9537 #
9538 # Cloud Run fully managed: not supported
9539 #
9540 # Cloud Run for Anthos: supported
9541 #
9542 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
9543 # deleted. This field is set by the server when a graceful deletion is
9544 # requested by the user, and is not directly settable by a client. The
9545 # resource is expected to be deleted (no longer visible from resource lists,
9546 # and not reachable by name) after the time in this field, once the
9547 # finalizers list is empty. As long as the finalizers list contains items,
9548 # deletion is blocked. Once the deletionTimestamp is set, this value may not
9549 # be unset or be set further into the future, although it may be shortened or
9550 # the resource may be deleted prior to this time. For example, a user may
9551 # request that a pod is deleted in 30 seconds. The Kubelet will react by
9552 # sending a graceful termination signal to the containers in the pod. After
9553 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
9554 # to the container and after cleanup, remove the pod from the API. In the
9555 # presence of network partitions, this object may still exist after this
9556 # timestamp, until an administrator or automated process can determine the
9557 # resource is fully terminated.
9558 # If not set, graceful deletion of the object has not been requested.
9559 #
9560 # Populated by the system when a graceful deletion is requested.
9561 # Read-only.
9562 # More info:
9563 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
9564 &quot;ownerReferences&quot;: [ # (Optional)
9565 #
9566 # Cloud Run fully managed: not supported
9567 #
9568 # Cloud Run for Anthos: supported
9569 #
9570 # List of objects that own this object. If ALL objects in the list have
9571 # been deleted, this object will be garbage collected.
9572 { # OwnerReference contains enough information to let you identify an owning
9573 # object. Currently, an owning object must be in the same namespace, so there
9574 # is no namespace field.
9575 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
9576 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
9577 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
9578 # +optional
9579 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
9580 # More info:
9581 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
9582 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
9583 # the owner cannot be deleted from the key-value store until this
9584 # reference is removed.
9585 # Defaults to false.
9586 # To set this field, a user needs &quot;delete&quot; permission of the owner,
9587 # otherwise 422 (Unprocessable Entity) will be returned.
9588 # +optional
9589 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
9590 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
9591 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
9592 },
9593 ],
9594 },
9595 }</pre>
9596</div>
9597
9598</body></html>