このコンテンツは選択した言語では利用できません。

Chapter 23. Upgrade OpenShift Dev Spaces using the CLI management tool


Upgrade OpenShift Dev Spaces from the previous minor version using the CLI management tool to receive the latest bug fixes, security patches, and feature improvements. Upgrade the dsc management tool to version 3.27 by following the installation procedure to reinstall it before you begin.

23.1. Upgrade OpenShift Dev Spaces using the CLI management tool

Upgrade OpenShift Dev Spaces from the previous minor version using the CLI management tool to receive the latest bug fixes, security patches, and feature improvements.

Prerequisites

  • You have an administrative account on OpenShift.
  • You have a previous minor version of CodeReady Workspaces installed using the CLI management tool on the same instance of OpenShift, in the openshift-devspaces project.
  • You have dsc for OpenShift Dev Spaces version 3.27 installed. See Section 2.2, “Install the dsc management tool”.

Procedure

  1. Save and push changes back to the Git repositories for all running CodeReady Workspaces 3.26 workspaces.
  2. Shut down all workspaces in the CodeReady Workspaces 3.26 instance.
  3. Upgrade OpenShift Dev Spaces:

    $ dsc server:update -n openshift-devspaces
    Note

    For slow systems or internet connections, add the --k8spodwaittimeout=1800000 flag option to extend the Pod timeout period to 1800000 ms or longer.

Verification

  1. Navigate to the OpenShift Dev Spaces instance.
  2. The 3.27 version number is visible at the bottom of the page.

23.2. Upgrade OpenShift Dev Spaces in a restricted environment

Upgrade Red Hat OpenShift Dev Spaces and perform minor version updates by using the CLI management tool in a restricted environment.

Prerequisites

Procedure

  1. Download and execute the mirroring script to install a custom Operator catalog and mirror the related images: prepare-restricted-environment.sh.

    $ bash prepare-restricted-environment.sh \
      --devworkspace_operator_index registry.redhat.io/redhat/redhat-operator-index:v4.22\
      --devworkspace_operator_version "v0.40.0" \
      --prod_operator_index "registry.redhat.io/redhat/redhat-operator-index:v4.22" \
      --prod_operator_package_name "devspaces" \
      --prod_operator_bundle_name "devspacesoperator" \
      --prod_operator_version "v3.27.0" \
      --my_registry "<my_registry>"

    where:

    <my_registry>
    The private Docker registry where the images are mirrored
  2. In all running workspaces in the CodeReady Workspaces 3.26 instance, save and push changes back to the Git repositories.
  3. Stop all workspaces in the CodeReady Workspaces 3.26 instance.
  4. Run the following command:

    $ dsc server:update --che-operator-image="$TAG" -n openshift-devspaces --k8spodwaittimeout=1800000

Verification

  1. Navigate to the OpenShift Dev Spaces instance.
  2. The 3.27 version number is visible at the bottom of the page.
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る