UpdateAutoPause resource¶
Available since MOSK 25.1 TechPreview
This section describes the UpdateAutoPause custom resource (CR) used in the
management API to configure automatic pausing of cluster release updates in a
MOSK cluster using StackLight alerts.
The UpdateAutoPause CR contains the following fields:
apiVersionAPI version of the object that is
kaas.mirantis.com/v1alpha1.
kindObject type that is
UpdateAutoPause.
metadataMetadata of the
UpdateAutoPauseCR that contains the following fields:nameName of the
UpdateAutoPauseobject. Must match the cluster name.
namespaceProject where the
UpdateAutoPauseis created. Must match the cluster namespace.
specSpecification of the
UpdateAutoPauseCR that contains the following field:alertsList of alert names. The occurrence of any alert from this list triggers auto-pause of the cluster release update.
statusStatus of the
UpdateAutoPauseCR that contains the following fields:firingAlertsList of currently firing alerts from the specified set.
errorError message, if any, encountered during object processing.
Configuration example:
apiVersion: kaas.mirantis.com/v1alpha1
kind: UpdateAutoPause
metadata:
name: example-cluster
namespace: example-ns
spec:
alerts:
- KubernetesNodeNotReady
- KubernetesContainerOOMKilled
status:
firingAlerts:
- KubernetesNodeNotReady
error: ""
See also