Module
Scope: Cluster
Version: v1alpha1
Describes the module’s status in the cluster. The Module
object is created automatically after configuring the ModuleSource and successfully completing synchronization.
- object
Module dependencies, a set of requirements that must be met for Deckhouse Kubernetes Platform (DKP) to run the module.
ModuleConfig
Scope: Cluster
Version: v1alpha1
Defines the configuration of the Deckhouse module. The name of the ModuleConfig resource must match the name of the module (for example, control-plane-manager
for the control-plane-manager
module).
Example:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: module-1
spec:
enabled: true
settings: {}
version: 1
ModulePullOverride
Scope: Cluster
Defines the configuration.
Deprecated resource. Support for the resource might be removed in a later release.
Defines the configuration.
ModuleRelease
Scope: Cluster
Version: v1alpha1
Defines the configuration for a Deckhouse release.
ModuleRelease resources are created by Deckhouse.
- object
Release dependencies, a set of requirements that must be met for Deckhouse Kubernetes Platform to run the module release.
ModuleSource
Scope: Cluster
Version: v1alpha1
Defines the configuration of a source of Deckhouse modules.
Example:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleSource
metadata:
name: example
spec:
registry:
repo: registry.example.io/modules-source
dockerCfg: "<base64 encoded credentials>"
ModuleUpdatePolicy
Scope: Cluster
Defines the update settings for a module’s release.
Example:
apiVersion: deckhouse.io/v1alpha2
kind: ModuleUpdatePolicy
metadata:
name: example-update-policy
spec:
releaseChannel: Alpha
update:
mode: Auto
windows:
- days:
- Mon
- Wed
from: '13:30'
to: '14:00'
- string
Modules version update mode (release change).
-
AutoPatch
— automatic update mode for patch releases.To change a minor version (for example, from
v1.65.*
tov1.66.*
), confirmation is required.Set
modules.deckhouse.io/approved="true"
annotation on the corresponding ModuleRelease resource, to confirm the update.A patch version update (for example, from
v1.65.1
tov1.65.4
) is applied according to the update windows, if they are set. -
Auto
— all updates are applied automatically.Modules minor version updates (release updates, for example, from
v1.26.*
tov1.27.*
), are applied according to the update windows or (if no update windows are set) as they appear on the corresponding release channel; -
Manual
— confirmation is required for updating both minor and patch versions.To confirm the update, add the
modules.deckhouse.io/approved="true"
annotation to the corresponding ModuleRelease resource.
Default:
"Auto"
Allowed values:
Auto
,Manual
,AutoPatch
-
- array of strings
The days of the week on which the update window is applied.
Examples:
days: Mon
days: Wed
Deprecated resource. Support for the resource might be removed in a later release.
Defines the update settings for a module’s release.
Example:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleUpdatePolicy
metadata:
name: example-update-policy
spec:
moduleReleaseSelector:
labelSelector:
matchLabels:
source: example
module: module-1
releaseChannel: Alpha
update:
mode: Auto
windows:
- days:
- Mon
- Wed
from: '13:30'
to: '14:00'
- object
Required value
Label-selector-based filter to match target modules.
If both
matchExpressions
andmatchLabels
parameters are set, their requirements are ANDed together — they must all be satisfied in order to match. If multiplematchExpression
conditions are provided, they all must be satisfied in order to match.- array of objects
An array of set-based expressions.
- string
Modules version update mode (release change).
-
AutoPatch
— automatic update mode for patch releases.To change a minor version (for example, from
v1.65.*
tov1.66.*
), confirmation is required.Set
modules.deckhouse.io/approved="true"
annotation on the corresponding ModuleRelease resource, to confirm the update.A patch version update (for example, from
v1.65.1
tov1.65.4
) is applied according to the update windows, if they are set. -
Auto
— all updates are applied automatically.Modules minor version updates (release updates, for example, from
v1.26.*
tov1.27.*
), are applied according to the update windows or (if no update windows are set) as they appear on the corresponding release channel; -
Manual
— confirmation is required for updating both minor and patch versions.To confirm the update, add the
modules.deckhouse.io/approved="true"
annotation to the corresponding ModuleRelease resource. -
Ignore
— updates are ignored.
Default:
"AutoPatch"
Allowed values:
Auto
,Manual
,Ignore
,AutoPatch
-
- array of strings
The days of the week on which the update window is applied.
Examples:
days: Mon
days: Wed