You can customize the OpenShift Container Platform web console to set a custom logo and product name. This is especially helpful if you need to tailor the web console to meet specific corporate or government requirements.
Add a Custom Logo and Product Name
Prerequisites
Create a file of the logo that you want to use. The logo can be a file in any common image format (e.g. GIF, JPG, PNG, or SVG) and is constrained to a max-height of 60px.
Procedure
1: Import your logo file into a ConfigMap in the openshift-config namespace:
$ oc create configmap console-custom-logo --from-file=/path/to/console-custom-logo.png -n openshift-config
2: Edit the web console’s Operator configuration to include customLogoFile and customProductName:
$ oc apply -f <file>
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
name: cluster
spec:
customization:
customProductName: MyProduct
customLogoFile:
name: console-custom-logo
key: console-custom-logo.png
Once the Operator configuration is updated, it will sync the custom logo ConfigMap into the console namespace, mount it to the console pod, and redeploy.
3: Check for success. If there are any issues, the console cluster operator will report Degraded, and the console Operator configuration will also report CustomLogoDegraded, but with reasons like KeyOrFilenameInvalid or NoImageProvided.
To check the clusteroperator, run:
$ oc get clusteroperator console -o yaml
To check the console Operator configuration, run:
$ oc get console.operator.openshift.io -o yaml
執筆者紹介
チャンネル別に見る
自動化
テクノロジー、チームおよび環境に関する IT 自動化の最新情報
AI (人工知能)
お客様が AI ワークロードをどこでも自由に実行することを可能にするプラットフォームについてのアップデート
オープン・ハイブリッドクラウド
ハイブリッドクラウドで柔軟に未来を築く方法をご確認ください。
セキュリティ
環境やテクノロジー全体に及ぶリスクを軽減する方法に関する最新情報
エッジコンピューティング
エッジでの運用を単純化するプラットフォームのアップデート
インフラストラクチャ
世界有数のエンタープライズ向け Linux プラットフォームの最新情報
アプリケーション
アプリケーションの最も困難な課題に対する Red Hat ソリューションの詳細
仮想化
オンプレミスまたは複数クラウドでのワークロードに対応するエンタープライズ仮想化の将来についてご覧ください