google.cloud.osconfig_v1.types.FixedOrPercent
The maximum number (or percentage) of VMs per zone to
disrupt at any given moment. The number of VMs calculated
from multiplying the percentage by the total number of VMs
in a zone is rounded up.
During patching, a VM is considered disrupted from the time
the agent is notified to begin until patching has completed.
This disruption time includes the time to complete reboot
and any post-patch steps.
A VM contributes to the disruption budget if its patching
operation fails either when applying the patches, running
pre or post patch steps, or if it fails to respond with a
success notification before timing out. VMs that are not
running or do not have an active agent do not count toward
this disruption budget.
For zone-by-zone rollouts, if the disruption budget in a
zone is exceeded, the patch job stops, because continuing to
the next zone requires completion of the patch process in
the previous zone.
For example, if the disruption budget has a fixed value of
10, and 8 VMs fail to patch in the current zone, the
patch job continues to patch 2 VMs at a time until the zone
is completed. When that zone is completed successfully,
patching begins with 10 VMs at a time in the next zone. If
10 VMs in the next zone fail to patch, the patch job stops.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-11 UTC."],[],[],null,["# Class PatchRollout (1.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.21.0 (latest)](/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.20.2](/python/docs/reference/osconfig/1.20.2/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.19.0](/python/docs/reference/osconfig/1.19.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.18.1](/python/docs/reference/osconfig/1.18.1/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.17.5](/python/docs/reference/osconfig/1.17.5/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.16.0](/python/docs/reference/osconfig/1.16.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.15.3](/python/docs/reference/osconfig/1.15.3/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.14.1](/python/docs/reference/osconfig/1.14.1/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.13.0](/python/docs/reference/osconfig/1.13.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.12.4](/python/docs/reference/osconfig/1.12.4/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.11.2](/python/docs/reference/osconfig/1.11.2/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.10.0](/python/docs/reference/osconfig/1.10.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.9.0](/python/docs/reference/osconfig/1.9.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.8.0](/python/docs/reference/osconfig/1.8.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.7.1](/python/docs/reference/osconfig/1.7.1/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.6.0](/python/docs/reference/osconfig/1.6.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.5.2](/python/docs/reference/osconfig/1.5.2/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.4.0](/python/docs/reference/osconfig/1.4.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.3.2](/python/docs/reference/osconfig/1.3.2/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.2.0](/python/docs/reference/osconfig/1.2.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.1.0](/python/docs/reference/osconfig/1.1.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [1.0.0](/python/docs/reference/osconfig/1.0.0/google.cloud.osconfig_v1.types.PatchRollout)\n- [0.1.2](/python/docs/reference/osconfig/0.1.2/google.cloud.osconfig_v1.types.PatchRollout) \n\n PatchRollout(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nPatch rollout configuration specifications. Contains details\non the concurrency control when applying patch(es) to all\ntargeted VMs.\n\nClasses\n-------\n\n### Mode\n\n Mode(value)\n\nType of the rollout."]]