Skip to content

[deckhouse-cli] Add maintenance switcher for modules#380

Merged
ldmonster merged 1 commit into
mainfrom
maintenance-switcher
Jun 4, 2026
Merged

[deckhouse-cli] Add maintenance switcher for modules#380
ldmonster merged 1 commit into
mainfrom
maintenance-switcher

Conversation

@haosb

@haosb haosb commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Added switcher for module's maintenance mode, commands added:

d8 s module maintenance # With wide description about purpose of that
d8 s module maintenance enable <module-name>
d8 s module maintenance disable <module-name>
➜ /bin/d8 p module maintenance disable csi-nfs
[INFO] Maintenance mode is already disabled for module 'csi-nfs'.
➜ /bin/d8 p module maintenance enable ingress-nginx
[INFO] Maintenance mode enabled for module 'ingress-nginx'.
➜ /bin/d8 p module maintenance enable not-enabled 
[ERROR] ModuleConfig 'not-enabled' does not exist.

Create it first by enabling the module:
  d8 system module enable not-enabled

Error executing command: module config 'not-enabled' does not exist

Signed-off-by: Ruslan Usmanov <ruslanusmanov@Ruslans-MacBook-Pro-2.local>
@haosb haosb requested a review from ldmonster as a code owner June 3, 2026 16:02
@ldmonster ldmonster merged commit 872bfba into main Jun 4, 2026
9 checks passed
@ldmonster ldmonster deleted the maintenance-switcher branch June 4, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants