3.2.2. アプリケーションテンプレートを使用した Red Hat Single Sign-On イメージのデプロイ
3.2.2.1. OpenShift CLI を使用したテンプレートのデプロイ リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
利用可能な Red Hat Single Sign-On アプリケーションテンプレートの一覧を表示します。
$ oc get templates -n openshift -o name | grep -o 'sso74.\+' sso74-https sso74-postgresql sso74-postgresql-persistent sso74-x509-https sso74-x509-postgresql-persistent選択したものをデプロイします。
$ oc new-app --template=sso74-x509-https --> Deploying template "openshift/sso74-x509-https" to project sso-app-demo Red Hat Single Sign-On 7.4 (Ephemeral) --------- An example Red Hat Single Sign-On 7 application. For more information about using this template, see <link xlink:href="https://github.com/jboss-openshift/application-templates">https://github.com/jboss-openshift/application-templates</link>. A new Red Hat Single Sign-On service has been created in your project. The admin username/password for accessing the master realm using the Red Hat Single Sign-On console is IACfQO8v/nR7llVSVb4Dye3TNRbXoXhRpAKTmiCRc. The HTTPS keystore used for serving secure content, the JGroups keystore used for securing JGroups communications, and server truststore used for securing Red Hat Single Sign-On requests were automatically created using OpenShift's service serving x509 certificate secrets. * With parameters: * Application Name=sso * JGroups Cluster Password=jg0Rssom0gmHBnooDF3Ww7V4Mu5RymmB # generated * Datasource Minimum Pool Size= * Datasource Maximum Pool Size= * Datasource Transaction Isolation= * ImageStream Namespace=openshift * Red Hat Single Sign-On Administrator Username=IACfQO8v # generated * Red Hat Single Sign-On Administrator Password=nR7llVSVb4Dye3TNRbXoXhRpAKTmiCRc # generated * Red Hat Single Sign-On Realm= * Red Hat Single Sign-On Service Username= * Red Hat Single Sign-On Service Password= * Container Memory Limit=1Gi --> Creating resources ... service "sso" created service "secure-sso" created service "sso-ping" created route "sso" created route "secure-sso" created deploymentconfig "sso" created --> Success Run 'oc status' to view your app.
または、OpenShift 3.x または 4.x Web コンソールを使用して Red Hat Single Sign-On テンプレートをデプロイするには、以下のいずれかの手順を実行します。