第15章 Red Hat ビルドの Kogito マイクロサービスのデプロイメントのトラブルシューティング
第15章 Red Hat ビルドの Kogito マイクロサービスのデプロイメントのトラブルシューティング
Operator を使用して Red Hat ビルドの Kogito マイクロサービスをデプロイする時に発生する可能性のある問題のトラブルシューティングを行うには、本セクションの情報を使用します。以下の情報は、新しい問題および回避策が検出されるたびに更新されています。
実行中のビルドがない
実行中のビルドや関連する namespace で作成されたリソースが表示されない場合は、以下のコマンドを実行して実行中の Pod を取得し、Pod の Operator ログを表示します。
指定の Pod に関する RHPAM Kogito Operator ログの表示
// Retrieves running pods
$ oc get pods
NAME READY STATUS RESTARTS AGE
kogito-operator-6d7b6d4466-9ng8t 1/1 Running 0 26m
// Opens RHPAM Kogito Operator log for the pod
$ oc logs -f kogito-operator-6d7b6d4466-9ng8t
// Retrieves running pods
$ oc get pods
NAME READY STATUS RESTARTS AGE
kogito-operator-6d7b6d4466-9ng8t 1/1 Running 0 26m
// Opens RHPAM Kogito Operator log for the pod
$ oc logs -f kogito-operator-6d7b6d4466-9ng8t
Copy to ClipboardCopied!Toggle word wrapToggle overflow
apiVersion: rhpam.kiegroup.org/v1 # Red Hat build of Kogito API for this microservice
kind: KogitoRuntime # Application type
metadata:
name: example # Application name
spec:
image: 'not-existing-image:latest'
replicas: 1
apiVersion: rhpam.kiegroup.org/v1 # Red Hat build of Kogito API for this microservicekind: KogitoRuntime # Application typemetadata:name: example # Application namespec:image:'not-existing-image:latest'replicas:1
Copy to ClipboardCopied!Toggle word wrapToggle overflow