Edit

opencenter cluster lock

Lock a cluster to prevent modifications

Synopsis

Lock a cluster to prevent accidental modifications.

A locked cluster cannot be modified until it is explicitly unlocked. This is useful for protecting production clusters or clusters undergoing maintenance.

Examples: # Lock the currently selected cluster opencenter cluster lock --reason "Production cluster - do not modify"

opencenter cluster lock my-cluster --reason "Under maintenance"

Lock a cluster in a specific organization

opencenter cluster lock myorg/my-cluster --reason "Critical infrastructure"
opencenter cluster lock [name] [flags]

Options

  -h, --help            help for lock
  -r, --reason string   Reason for locking the cluster (required)

SEE ALSO

  • opencenter_cluster.md[opencenter cluster] - Manage cluster configurations

Auto generated by spf13/cobra on 28-Apr-2026