Web コンソール
OpenShift Container Platform 4.1 Web コンソールのスタートガイド
概要
第1章 Web コンソールへのアクセス
OpenShift Container Platform Web コンソールは、Web ブラウザーからアクセスできるユーザーインターフェースです。開発者は Web コンソールを使用してプロジェクトのコンテンツを視覚的に把握し、参照し、管理することができます。
前提条件
- Web コンソールを使用するために JavaScript が有効にされている必要があります。WebSocketをサポートする Web ブラウザーを使用することが最も推奨されます。
- 「OpenShift Container Platform 4.x Tested Integrations」のページを確認してから、クラスターのサポートされるインフラストラクチャーを作成します。
1.1. Web コンソールの理解および Web コンソールへのアクセス
Web コンソールはマスター上で Pod として実行されます。Web コンソールを実行するために必要な静的アセットは Pod によって提供されます。OpenShift Container Platform が正常にインストールされた後に、Web コンソールの URL およびインストールされたクラスターのログイン認証情報を、インストーラーの CLI 出力で確認します。以下は例になります。
INFO Install complete! INFO Run 'export KUBECONFIG=<your working directory>/auth/kubeconfig' to manage the cluster with 'oc', the OpenShift CLI. INFO The cluster is ready when 'oc login -u kubeadmin -p <provided>' succeeds (wait a few minutes). INFO Access the OpenShift web-console here: https://console-openshift-console.apps.demo1.openshift4-beta-abcorp.com INFO Login to the console with user: kubeadmin, password: <provided>
これらの詳細を使用してログインし、Web コンソールにアクセスします。
第2章 OpenShift Container Platform の Web コンソールの設定
OpenShift Container Platform の Web コンソールを変更してログアウトリダイレクト URL を設定したり、コンソールを無効にしたりすることができます。
前提条件
- OpenShift Container Platform クラスターをデプロイします。
2.1. Web コンソールの設定
console.config.openshift.io
リソースを編集して Web コンソールを設定できます。
console.config.openshift.io
リソースを編集します。$ oc edit console.config.openshift.io cluster
以下の例は、コンソールのリソース定義のサンプルを示しています。
apiVersion: config.openshift.io/v1 kind: Console metadata: name: cluster spec: authentication: logoutRedirect: "" 1 status: consoleURL: "" 2
第3章 OpenShift Container Platform の Web コンソールの無効化
OpenShift Container Platform の Web コンソールを無効にすることができます。
前提条件
- OpenShift Container Platform クラスターをデプロイしていること。
3.1. Web コンソールの無効化
console.config.openshift.io
リソースを編集して Web コンソールを無効にすることができます。
console.operator.openshift.io
リソースを編集します。$ oc edit console.operator.openshift.io cluster
以下の例は、変更できるリソースのパラメーターを表示しています。
apiVersion: config.openshift.io/v1 kind: Console metadata: name: cluster spec: managementState: Removed 1
- 1
managementState
パラメーター値をRemoved
に設定し、Web コンソールを無効にします。このパラメーターの他の有効な値には以下が含まれます。Managed
ではクラスターの制御下でコンソールを有効にし、Unmanaged
は Web コンソール管理を制御するのがユーザーであることを意味します。
Legal Notice
Copyright © 2024 Red Hat, Inc.
OpenShift documentation is licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0).
Modified versions must remove all Red Hat trademarks.
Portions adapted from https://github.com/kubernetes-incubator/service-catalog/ with modifications by Red Hat.
Red Hat, Red Hat Enterprise Linux, the Red Hat logo, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation’s permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.