Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
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