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