2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IBMCloud ROKS(Redhat Openshift)におけるGitOps(CI/CDツール)のインストール

Posted at

概要

IBMCloudのOpenshiftクラスターにCI/CDツールであるRed Hat OpenShift GitOps(ArgoCDがベースになっている)をインストールする手順を紹介します。

  • 公式参考サイト
    • Installing Red Hat OpenShift GitOps
      (Redhatが用意しているGitOpsバージョンの最新は25/2/19時点で1.15になっています、上記リンクは1.15のものです。)

インストール手順

  • 前提条件

    • IBMCloud上にOpenshiftClusterが作成済みで、ポータルからOpenshiftのWebConsoleにアクセスできることが前提となっています。
  • IBMCloudへログイン

    • IBMCloud Menu -> Containers -> Clusters -> 対象OpenshiftClusterを選択image.png
      image.png

    • "Openshift web console"を選択して、OpenshiftのWebコンソールを表示するimage.png

  • Openshift管理画面でのインストール操作

    • Administrator(左上で権限選択) -> OperatorHub -> All Items Searchで"Openshift GitOps"で検索 -> "Redhat OpenShift GitOps"をクリック
      image.png

    • 今回はVersionは1.15とし、以下画面でInstallボタンをクリック
      image.png

    • 詳細なインストール画面に遷移するため、特にオプションは変えずにInstallをクリック
      image.png

    • インストールが始まり、以下の画面に自動で遷移します
      image.png

    • 3-5分程度で、以下のインストール完了画面に遷移するため、View Operatorをクリックします
      image.png

    • インストール済みのOperatorにRedhat Openshift GitOpsがあることが確認できる
      image.png

  • Openshift管理画面でのログイン操作

    • ログインのためのID/PW情報を取得する
      Openshift管理画面 -> Developer(操作権限選択) -> Projectを"openshift-gitops"へ変更 -> Secretsを選択 -> "openshift-gitops-cluster"をクリック"
      image.png

    • 最下部にadmin.passwordのカラムがあるため、右端にあるPWコピーをクリックすることでクリップボードにPWが保存される

    • image.png

    • ArgoCDへのログイン

    • Openshift管理画面最上部バーにあるメニューから"Cluster Argo CD"へのアクセスリンクが作成されているため、リンクをクリックしてアクセスする。
      image.png

    • Argoのログイン画面が表示されるため、admin/(入手したpassword)を入力してログインする
      image.png

    • ログイン完了
      image.png

以上です。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?