Update pod mutation

Updates a pod mutation. [Deprecated] Use the new PodMutationsAPI under the patching-engine product category.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
string
string
boolean
objectFilter
object
labels
object
annotations
object
nodeSelector
object
tolerations
array of objects
tolerations
affinity
object
string
enum
Defaults to UNSPECIFIED_SPOT_TYPE

Spot Type specifies the type of spot instance to use.

  • UNSPECIFIED_SPOT_TYPE: Unspecified is the default value.
  • OPTIONAL_SPOT: Optional Spot allows to use any spot instance type.
  • USE_ONLY_SPOT: UseOnly Spot allows to use only spot instances.
  • PREFERRED_SPOT: Preferred Spot allows to use spot instances if available, otherwise use on-demand instances.
Allowed:
nodeTemplatesToConsolidate
array of strings
Node Template Names to consolidate
boolean
int32

The percentage of pods (0-100) that receive spot scheduling constraints. The specific spot scheduling constraints depend on the selected SpotType. At least the remaining percentage will be scheduled on on-demand instances. This field applies only if SpotType is specified.

patch
array
Optional patching field that allows mutation of pod definitions using the standard JSON patch mechanism. All preceding mutations have a priority, and the patch is applied at the end. Setting this field does not guarantee that it won't override mutations set in previous fields. For example, if a label is added via the labels field and then removed by the patch, the label will be removed. For more detailed explanation read JSON patching section in kubernetes documentation: https://kubernetes.io/docs/reference/kubectl/generated/kubectl_patch/
Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json