1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/dcl2crd: "true"
9 cnrm.cloud.google.com/managed-by-kcc: "true"
10 cnrm.cloud.google.com/stability-level: stable
11 cnrm.cloud.google.com/system: "true"
12 name: computeinstancegroupmanagers.compute.cnrm.cloud.google.com
13spec:
14 group: compute.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ComputeInstanceGroupManager
19 plural: computeinstancegroupmanagers
20 shortNames:
21 - gcpcomputeinstancegroupmanager
22 - gcpcomputeinstancegroupmanagers
23 singular: computeinstancegroupmanager
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 autoHealingPolicies:
62 description: The autohealing policy for this managed instance group.
63 You can specify only one value.
64 items:
65 properties:
66 healthCheckRef:
67 oneOf:
68 - not:
69 required:
70 - external
71 required:
72 - name
73 - not:
74 anyOf:
75 - required:
76 - name
77 - required:
78 - namespace
79 required:
80 - external
81 properties:
82 external:
83 description: |-
84 The URL for the health check that signals autohealing.
85
86 Allowed value: The `selfLink` field of a `ComputeHealthCheck` resource.
87 type: string
88 name:
89 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
90 type: string
91 namespace:
92 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
93 type: string
94 type: object
95 initialDelaySec:
96 description: The number of seconds that the managed instance
97 group waits before it applies autohealing policies to new
98 instances or recently recreated instances. This initial delay
99 allows instances to initialize and run their startup scripts
100 before the instance group determines that they are UNHEALTHY.
101 This prevents the managed instance group from recreating its
102 instances prematurely. This value must be from range [0, 3600].
103 format: int64
104 type: integer
105 type: object
106 type: array
107 baseInstanceName:
108 description: The base instance name to use for instances in this group.
109 The value must be 1-58 characters long. Instances are named by appending
110 a hyphen and a random four-character string to the base instance
111 name. The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
112 type: string
113 description:
114 description: Immutable. An optional description of this resource.
115 type: string
116 distributionPolicy:
117 description: Policy specifying the intended distribution of managed
118 instances across zones in a regional managed instance group.
119 properties:
120 targetShape:
121 description: 'The distribution shape to which the group converges
122 either proactively or on resize events (depending on the value
123 set in `updatePolicy.instanceRedistributionType`). Possible
124 values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'
125 type: string
126 zones:
127 description: Immutable. Zones where the regional managed instance
128 group will create and manage its instances.
129 items:
130 properties:
131 zone:
132 description: Immutable. The URL of the [zone](/compute/docs/regions-zones/#available).
133 The zone must exist in the region where the managed instance
134 group is located.
135 type: string
136 type: object
137 type: array
138 type: object
139 failoverAction:
140 description: 'The action to perform in case of zone failure. Only
141 one value is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`.
142 Possible values: UNKNOWN, NO_FAILOVER'
143 type: string
144 instanceTemplateRef:
145 oneOf:
146 - not:
147 required:
148 - external
149 required:
150 - name
151 - not:
152 anyOf:
153 - required:
154 - name
155 - required:
156 - namespace
157 required:
158 - external
159 properties:
160 external:
161 description: |-
162 The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`, or set the group's `updatePolicy.type` to `PROACTIVE`.
163
164 Allowed value: The `selfLink` field of a `ComputeInstanceTemplate` resource.
165 type: string
166 name:
167 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
168 type: string
169 namespace:
170 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
171 type: string
172 type: object
173 location:
174 description: Immutable. The location of this resource.
175 type: string
176 namedPorts:
177 description: Immutable. Named ports configured for the Instance Groups
178 complementary to this Instance Group Manager.
179 items:
180 properties:
181 name:
182 description: Immutable. The name for this named port. The name
183 must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
184 type: string
185 port:
186 description: Immutable. The port number, which can be a value
187 between 1 and 65535.
188 format: int64
189 type: integer
190 type: object
191 type: array
192 projectRef:
193 description: Immutable. The Project that this resource belongs to.
194 oneOf:
195 - not:
196 required:
197 - external
198 required:
199 - name
200 - not:
201 anyOf:
202 - required:
203 - name
204 - required:
205 - namespace
206 required:
207 - external
208 properties:
209 external:
210 description: |-
211 The project for the resource
212
213 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
214 type: string
215 name:
216 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
217 type: string
218 namespace:
219 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
220 type: string
221 type: object
222 resourceID:
223 description: Immutable. Optional. The name of the resource. Used for
224 creation and acquisition. When unset, the value of `metadata.name`
225 is used as the default.
226 type: string
227 serviceAccountRef:
228 oneOf:
229 - not:
230 required:
231 - external
232 required:
233 - name
234 - not:
235 anyOf:
236 - required:
237 - name
238 - required:
239 - namespace
240 required:
241 - external
242 properties:
243 external:
244 description: |-
245 The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account: {projectNumber}@cloudservices.gserviceaccount.com is used.
246
247 Allowed value: The `email` field of an `IAMServiceAccount` resource.
248 type: string
249 name:
250 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
251 type: string
252 namespace:
253 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
254 type: string
255 type: object
256 statefulPolicy:
257 description: Stateful configuration for this Instanced Group Manager
258 properties:
259 preservedState:
260 properties:
261 disks:
262 additionalProperties:
263 properties:
264 autoDelete:
265 description: 'These stateful disks will never be deleted
266 during autohealing, update or VM instance recreate
267 operations. This flag is used to configure if the
268 disk should be deleted after it is no longer used
269 by the group, e.g. when the given instance or the
270 whole group is deleted. Note: disks attached in READ_ONLY
271 mode cannot be auto-deleted. Possible values: NEVER,
272 ON_PERMANENT_INSTANCE_DELETION'
273 type: string
274 type: object
275 description: Disks created on the instances that will be preserved
276 on instance delete, update, etc. This map is keyed with
277 the device names of the disks.
278 type: object
279 externalIps:
280 additionalProperties:
281 properties:
282 autoDelete:
283 description: 'These stateful IPs will never be released
284 during autohealing, update or VM instance recreate
285 operations. This flag is used to configure if the
286 IP reservation should be deleted after it is no longer
287 used by the group, e.g. when the given instance or
288 the whole group is deleted. Possible values: NEVER,
289 ON_PERMANENT_INSTANCE_DELETION'
290 type: string
291 type: object
292 description: External network IPs assigned to the instances
293 that will be preserved on instance delete, update, etc.
294 This map is keyed with the network interface name.
295 type: object
296 internalIps:
297 additionalProperties:
298 properties:
299 autoDelete:
300 description: 'These stateful IPs will never be released
301 during autohealing, update or VM instance recreate
302 operations. This flag is used to configure if the
303 IP reservation should be deleted after it is no longer
304 used by the group, e.g. when the given instance or
305 the whole group is deleted. Possible values: NEVER,
306 ON_PERMANENT_INSTANCE_DELETION'
307 type: string
308 type: object
309 description: Internal network IPs assigned to the instances
310 that will be preserved on instance delete, update, etc.
311 This map is keyed with the network interface name.
312 type: object
313 type: object
314 type: object
315 targetPools:
316 items:
317 oneOf:
318 - not:
319 required:
320 - external
321 required:
322 - name
323 - not:
324 anyOf:
325 - required:
326 - name
327 - required:
328 - namespace
329 required:
330 - external
331 properties:
332 external:
333 description: 'Allowed value: The `selfLink` field of a `ComputeTargetPool`
334 resource.'
335 type: string
336 name:
337 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
338 type: string
339 namespace:
340 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
341 type: string
342 type: object
343 type: array
344 targetSize:
345 description: The target number of running instances for this managed
346 instance group. You can reduce this number by using the instanceGroupManager
347 deleteInstances or abandonInstances methods. Resizing the group
348 also changes this number.
349 format: int64
350 type: integer
351 updatePolicy:
352 description: The update policy for this managed instance group.
353 properties:
354 instanceRedistributionType:
355 description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)
356 for regional managed instance groups. Valid values are: - `PROACTIVE`
357 (default): The group attempts to maintain an even distribution
358 of VM instances across zones in the region. - `NONE`: For non-autoscaled
359 groups, proactive redistribution is disabled.'
360 type: string
361 maxSurge:
362 description: The maximum number of instances that can be created
363 above the specified `targetSize` during the update process.
364 This value can be either a fixed number or, if the group has
365 10 or more instances, a percentage. If you set a percentage,
366 the number of instances is rounded if necessary. The default
367 value for `maxSurge` is a fixed value equal to the number of
368 zones in which the managed instance group operates. At least
369 one of either `maxSurge` or `maxUnavailable` must be greater
370 than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).
371 properties:
372 fixed:
373 description: Specifies a fixed number of VM instances. This
374 must be a positive integer.
375 format: int64
376 type: integer
377 percent:
378 description: Specifies a percentage of instances between 0
379 to 100%, inclusive. For example, specify `80` for 80%.
380 format: int64
381 type: integer
382 type: object
383 maxUnavailable:
384 description: 'The maximum number of instances that can be unavailable
385 during the update process. An instance is considered available
386 if all of the following conditions are satisfied: - The instance''s
387 [status](/compute/docs/instances/checking-instance-status) is
388 `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)
389 on the instance group, the instance''s health check status must
390 be `HEALTHY` at least once. If there is no health check on the
391 group, then the instance only needs to have a status of `RUNNING`
392 to be considered available. This value can be either a fixed
393 number or, if the group has 10 or more instances, a percentage.
394 If you set a percentage, the number of instances is rounded
395 if necessary. The default value for `maxUnavailable` is a fixed
396 value equal to the number of zones in which the managed instance
397 group operates. At least one of either `maxSurge` or `maxUnavailable`
398 must be greater than 0. Learn more about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'
399 properties:
400 fixed:
401 description: Specifies a fixed number of VM instances. This
402 must be a positive integer.
403 format: int64
404 type: integer
405 percent:
406 description: Specifies a percentage of instances between 0
407 to 100%, inclusive. For example, specify `80` for 80%.
408 format: int64
409 type: integer
410 type: object
411 minReadySec:
412 description: Minimum number of seconds to wait for after a newly
413 created instance becomes available. This value must be from
414 range [0, 3600].
415 format: int64
416 type: integer
417 minimalAction:
418 description: Minimal action to be taken on an instance. You can
419 specify either `RESTART` to restart existing instances or `REPLACE`
420 to delete and create new instances from the target template.
421 If you specify a `RESTART`, the Updater will attempt to perform
422 that action only. However, if the Updater determines that the
423 minimal action you specify is not enough to perform the update,
424 it might perform a more disruptive action.
425 type: string
426 mostDisruptiveAllowedAction:
427 description: Most disruptive action that is allowed to be taken
428 on an instance. You can specify either `NONE` to forbid any
429 actions, `REFRESH` to allow actions that do not need instance
430 restart, `RESTART` to allow actions that can be applied without
431 instance replacing or `REPLACE` to allow all possible actions.
432 If the Updater determines that the minimal update action needed
433 is more disruptive than most disruptive allowed action you specify
434 it will not perform the update at all.
435 type: string
436 replacementMethod:
437 description: 'What action should be used to replace instances.
438 See minimal_action.REPLACE Possible values: SUBSTITUTE, RECREATE'
439 type: string
440 type:
441 description: The type of update process. You can specify either
442 `PROACTIVE` so that the instance group manager proactively executes
443 actions in order to bring instances to their target versions
444 or `OPPORTUNISTIC` so that no action is proactively executed
445 but the update will be performed as part of other actions (for
446 example, resizes or `recreateInstances` calls).
447 type: string
448 type: object
449 versions:
450 description: Specifies the instance templates used by this managed
451 instance group to create instances. Each version is defined by an
452 `instanceTemplate` and a `name`. Every version can appear at most
453 once per instance group. This field overrides the top-level `instanceTemplate`
454 field. Read more about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).
455 Exactly one `version` must leave the `targetSize` field unset. That
456 version will be applied to all remaining instances. For more information,
457 read about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).
458 items:
459 properties:
460 instanceTemplateRef:
461 oneOf:
462 - not:
463 required:
464 - external
465 required:
466 - name
467 - not:
468 anyOf:
469 - required:
470 - name
471 - required:
472 - namespace
473 required:
474 - external
475 properties:
476 external:
477 description: |-
478 The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`, or set the group's `updatePolicy.type` to `PROACTIVE`; in those cases, existing instances are updated until the `targetSize` for this version is reached.
479
480 Allowed value: The `selfLink` field of a `ComputeInstanceTemplate` resource.
481 type: string
482 name:
483 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
484 type: string
485 namespace:
486 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
487 type: string
488 type: object
489 name:
490 description: Name of the version. Unique among all versions
491 in the scope of this managed instance group.
492 type: string
493 targetSize:
494 description: 'Specifies the intended number of instances to
495 be created from the `instanceTemplate`. The final number of
496 instances created from the template will be equal to: - If
497 expressed as a fixed number, the minimum of either `targetSize.fixed`
498 or `instanceGroupManager.targetSize` is used. - if expressed
499 as a `percent`, the `targetSize` would be `(targetSize.percent/100
500 * InstanceGroupManager.targetSize)` If there is a remainder,
501 the number is rounded. If unset, this version will update
502 any remaining instances not updated by another `version`.
503 Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)
504 for more information.'
505 properties:
506 calculated:
507 description: '[Output Only] Absolute value of VM instances
508 calculated based on the specific mode. - If the value
509 is `fixed`, then the `calculated` value is equal to the
510 `fixed` value. - If the value is a `percent`, then the
511 `calculated` value is `percent`/100 * `targetSize`. For
512 example, the `calculated` value of a 80% of a managed
513 instance group with 150 instances would be (80/100 * 150)
514 = 120 VM instances. If there is a remainder, the number
515 is rounded.'
516 format: int64
517 type: integer
518 fixed:
519 description: Specifies a fixed number of VM instances. This
520 must be a positive integer.
521 format: int64
522 type: integer
523 percent:
524 description: Specifies a percentage of instances between
525 0 to 100%, inclusive. For example, specify `80` for 80%.
526 format: int64
527 type: integer
528 type: object
529 type: object
530 type: array
531 required:
532 - projectRef
533 - targetSize
534 type: object
535 status:
536 properties:
537 conditions:
538 description: Conditions represent the latest available observation
539 of the resource's current state.
540 items:
541 properties:
542 lastTransitionTime:
543 description: Last time the condition transitioned from one status
544 to another.
545 type: string
546 message:
547 description: Human-readable message indicating details about
548 last transition.
549 type: string
550 reason:
551 description: Unique, one-word, CamelCase reason for the condition's
552 last transition.
553 type: string
554 status:
555 description: Status is the status of the condition. Can be True,
556 False, Unknown.
557 type: string
558 type:
559 description: Type is the type of the condition.
560 type: string
561 type: object
562 type: array
563 creationTimestamp:
564 description: The creation timestamp for this managed instance group
565 in \[RFC3339\](https://www.ietf.org/rfc/rfc3339.txt) text format.
566 type: string
567 currentActions:
568 description: '[Output Only] The list of instance actions and the number
569 of instances in this managed instance group that are scheduled for
570 each of those actions.'
571 properties:
572 abandoning:
573 description: '[Output Only] The total number of instances in the
574 managed instance group that are scheduled to be abandoned. Abandoning
575 an instance removes it from the managed instance group without
576 deleting it.'
577 format: int64
578 type: integer
579 creating:
580 description: '[Output Only] The number of instances in the managed
581 instance group that are scheduled to be created or are currently
582 being created. If the group fails to create any of these instances,
583 it tries again until it creates the instance successfully. If
584 you have disabled creation retries, this field will not be populated;
585 instead, the `creatingWithoutRetries` field will be populated.'
586 format: int64
587 type: integer
588 creatingWithoutRetries:
589 description: '[Output Only] The number of instances that the managed
590 instance group will attempt to create. The group attempts to
591 create each instance only once. If the group fails to create
592 any of these instances, it decreases the group''s `targetSize`
593 value accordingly.'
594 format: int64
595 type: integer
596 deleting:
597 description: '[Output Only] The number of instances in the managed
598 instance group that are scheduled to be deleted or are currently
599 being deleted.'
600 format: int64
601 type: integer
602 none:
603 description: '[Output Only] The number of instances in the managed
604 instance group that are running and have no scheduled actions.'
605 format: int64
606 type: integer
607 recreating:
608 description: '[Output Only] The number of instances in the managed
609 instance group that are scheduled to be recreated or are currently
610 being being recreated. Recreating an instance deletes the existing
611 root persistent disk and creates a new disk from the image that
612 is defined in the instance template.'
613 format: int64
614 type: integer
615 refreshing:
616 description: '[Output Only] The number of instances in the managed
617 instance group that are being reconfigured with properties that
618 do not require a restart or a recreate action. For example,
619 setting or removing target pools for the instance.'
620 format: int64
621 type: integer
622 restarting:
623 description: '[Output Only] The number of instances in the managed
624 instance group that are scheduled to be restarted or are currently
625 being restarted.'
626 format: int64
627 type: integer
628 verifying:
629 description: '[Output Only] The number of instances in the managed
630 instance group that are being verified. See the `managedInstances[].currentAction`
631 property in the `listManagedInstances` method documentation.'
632 format: int64
633 type: integer
634 type: object
635 fingerprint:
636 description: Fingerprint of this resource. This field may be used
637 in optimistic locking. It will be ignored when inserting an InstanceGroupManager.
638 An up-to-date fingerprint must be provided in order to update the
639 InstanceGroupManager, otherwise the request will fail with error
640 `412 conditionNotMet`. To see the latest fingerprint, make a `get()`
641 request to retrieve an InstanceGroupManager.
642 type: string
643 id:
644 description: '[Output Only] A unique identifier for this resource
645 type. The server generates this identifier.'
646 format: int64
647 type: integer
648 instanceGroup:
649 description: '[Output Only] The URL of the Instance Group resource.'
650 type: string
651 observedGeneration:
652 description: ObservedGeneration is the generation of the resource
653 that was most recently observed by the Config Connector controller.
654 If this is equal to metadata.generation, then that means that the
655 current reported status reflects the most recent desired state of
656 the resource.
657 type: integer
658 region:
659 description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)
660 where the managed instance group resides (for regional resources).'
661 type: string
662 selfLink:
663 description: '[Output Only] The URL for this managed instance group.
664 The server defines this URL.'
665 type: string
666 status:
667 description: '[Output Only] The status of this managed instance group.'
668 properties:
669 autoscaler:
670 description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)
671 that targets this instance group manager.'
672 type: string
673 isStable:
674 description: '[Output Only] A bit indicating whether the managed
675 instance group is in a stable state. A stable state means that:
676 none of the instances in the managed instance group is currently
677 undergoing any type of change (for example, creation, restart,
678 or deletion); no future changes are scheduled for instances
679 in the managed instance group; and the managed instance group
680 itself is not being modified.'
681 type: boolean
682 stateful:
683 description: '[Output Only] Stateful status of the given Instance
684 Group Manager.'
685 properties:
686 hasStatefulConfig:
687 description: '[Output Only] A bit indicating whether the managed
688 instance group has stateful configuration, that is, if you
689 have configured any items in a stateful policy or in per-instance
690 configs. The group might report that it has no stateful
691 config even when there is still some preserved state on
692 a managed instance, for example, if you have deleted all
693 PICs but not yet applied those deletions.'
694 type: boolean
695 isStateful:
696 description: '[Output Only] A bit indicating whether the managed
697 instance group has stateful configuration, that is, if you
698 have configured any items in a stateful policy or in per-instance
699 configs. The group might report that it has no stateful
700 config even when there is still some preserved state on
701 a managed instance, for example, if you have deleted all
702 PICs but not yet applied those deletions. This field is
703 deprecated in favor of has_stateful_config.'
704 type: boolean
705 perInstanceConfigs:
706 description: '[Output Only] Status of per-instance configs
707 on the instance.'
708 properties:
709 allEffective:
710 description: A bit indicating if all of the group's per-instance
711 configs (listed in the output of a listPerInstanceConfigs
712 API call) have status `EFFECTIVE` or there are no per-instance-configs.
713 type: boolean
714 type: object
715 type: object
716 versionTarget:
717 description: '[Output Only] A status of consistency of Instances''
718 versions with their target version specified by `version` field
719 on Instance Group Manager.'
720 properties:
721 isReached:
722 description: '[Output Only] A bit indicating whether version
723 target has been reached in this managed instance group,
724 i.e. all instances are in their target version. Instances''
725 target version are specified by `version` field on Instance
726 Group Manager.'
727 type: boolean
728 type: object
729 type: object
730 updatePolicy:
731 properties:
732 maxSurge:
733 properties:
734 calculated:
735 description: '[Output Only] Absolute value of VM instances
736 calculated based on the specific mode. - If the value is
737 `fixed`, then the `calculated` value is equal to the `fixed`
738 value. - If the value is a `percent`, then the `calculated`
739 value is `percent`/100 * `targetSize`. For example, the
740 `calculated` value of a 80% of a managed instance group
741 with 150 instances would be (80/100 * 150) = 120 VM instances.
742 If there is a remainder, the number is rounded.'
743 format: int64
744 type: integer
745 type: object
746 maxUnavailable:
747 properties:
748 calculated:
749 description: '[Output Only] Absolute value of VM instances
750 calculated based on the specific mode. - If the value is
751 `fixed`, then the `calculated` value is equal to the `fixed`
752 value. - If the value is a `percent`, then the `calculated`
753 value is `percent`/100 * `targetSize`. For example, the
754 `calculated` value of a 80% of a managed instance group
755 with 150 instances would be (80/100 * 150) = 120 VM instances.
756 If there is a remainder, the number is rounded.'
757 format: int64
758 type: integer
759 type: object
760 type: object
761 zone:
762 description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)
763 where the managed instance group is located (for zonal resources).'
764 type: string
765 type: object
766 required:
767 - spec
768 type: object
769 served: true
770 storage: true
771 subresources:
772 status: {}
773status:
774 acceptedNames:
775 kind: ""
776 plural: ""
777 conditions: []
778 storedVersions: []
View as plain text