はじめに
先の記事ではKogitoベースのルール開発からスタンドアローンでの実行までの流れを試してみました。Kogitoはマイクロサービスとしてルールを組み込むことを想定したものですので、ここでは前の記事で作成したルールをOpenShiftにデプロイして稼働させてみる手順を試してみます。
やり方は色々あると思いますが、Kogitoベースのルールをデプロイして実行させるためのオペレーターが提供されているのでそちらを試してみます。
関連記事
Business Automation Manager Open Edition メモ - (1) 概要
Business Automation Manager Open Edition メモ - (2) KIE Server, Business Central 構成
Business Automation Manager Open Edition メモ - (3) Business Centralを使用したルール開発
Business Automation Manager Open Edition メモ - (4) KIEサーバー上のルール呼び出し
Business Automation Manager Open Edition メモ - (5) Embedded形態でのルール開発(DRL編)
Business Automation Manager Open Edition メモ - (6) Embedded形態でのルール開発(DMN編)
Business Automation Manager Open Edition メモ - (7) kogitoでのルール開発(スタンドアローン)
Business Automation Manager Open Edition メモ - (8) kogitoでのルール開発(OpenShiftへのデプロイ)
全体像
ここではIBMから提供されている IBM Business Automation Manager 8 - Kogito Operator というオペレーターを使用してルールをOpenShift上にデプロイする流れを試してみます。
GitHub上のルール(ソース)を元にOpenShift上でルールが稼働するコンテナを稼働させるイメージです。
OpenShiftはIBM Cloud上のPaaSで V4.10.43 を使用しています。
主な操作はOpenShift Clusterに対して行うことになります。ここでは基本的にブラウザベースの管理コンソールから実施しますが、一部ocコマンドによるコマンドラインでの操作も行っているので、ocコマンドができるLinux環境(RHEL8)を用意しています。Red Hat Container Registryアクセス情報を取得するためにpodmanも使用します。
ここではgit, GitHub, OpenShift cluster, ocコマンドなどのセットアップは済んでいる想定とします(この辺りはBAMOEに特化した話ではないので一般的な作法でセットアップしていただければよいです)。
OpenShiftへのデプロイ例
事前準備:ソースをGitHubにPush
先の記事で作成したルールを含むプロジェクトをGiHubにアップします。Gitの操作は一般的な手順に従っていただければよいのでここでは詳細は省略します。
参考
GitHub上に新規にリポジトリ作ったのち、ルールを含むディレクトリをpushする操作例
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git init
Initialized empty Git repository in /home/user01/BAMOE_kogito4/kogito-test01/.git/
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
.dockerignore
.gitignore
.mvn/
README.md
mvnw
mvnw.cmd
pom.xml
src/
nothing added to commit but untracked files present (use "git add" to track)
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git add .
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git status
On branch master
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: .dockerignore
new file: .gitignore
new file: .mvn/wrapper/.gitignore
new file: .mvn/wrapper/MavenWrapperDownloader.java
new file: .mvn/wrapper/maven-wrapper.properties
new file: README.md
new file: mvnw
new file: mvnw.cmd
new file: pom.xml
new file: src/main/docker/Dockerfile.jvm
new file: src/main/docker/Dockerfile.legacy-jar
new file: src/main/docker/Dockerfile.native
new file: src/main/docker/Dockerfile.native-micro
new file: src/main/java/com/ibm/sample/GreetingResource.java
new file: src/main/java/com/ibm/sample/MyLivenessCheck.java
new file: src/main/resources/CustomerLoyalty.dmn
new file: src/main/resources/META-INF/resources/index.html
new file: src/main/resources/application.properties
new file: src/test/java/com/ibm/sample/GreetingResourceIT.java
new file: src/test/java/com/ibm/sample/GreetingResourceTest.java
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git commit -m "first commit"
[master (root-commit) c229875] first commit
20 files changed, 1643 insertions(+)
create mode 100644 .dockerignore
create mode 100644 .gitignore
create mode 100644 .mvn/wrapper/.gitignore
create mode 100644 .mvn/wrapper/MavenWrapperDownloader.java
create mode 100644 .mvn/wrapper/maven-wrapper.properties
create mode 100644 README.md
create mode 100755 mvnw
create mode 100644 mvnw.cmd
create mode 100644 pom.xml
create mode 100644 src/main/docker/Dockerfile.jvm
create mode 100644 src/main/docker/Dockerfile.legacy-jar
create mode 100644 src/main/docker/Dockerfile.native
create mode 100644 src/main/docker/Dockerfile.native-micro
create mode 100644 src/main/java/com/ibm/sample/GreetingResource.java
create mode 100644 src/main/java/com/ibm/sample/MyLivenessCheck.java
create mode 100644 src/main/resources/CustomerLoyalty.dmn
create mode 100644 src/main/resources/META-INF/resources/index.html
create mode 100644 src/main/resources/application.properties
create mode 100644 src/test/java/com/ibm/sample/GreetingResourceIT.java
create mode 100644 src/test/java/com/ibm/sample/GreetingResourceTest.java
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git status
On branch master
nothing to commit, working tree clean
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git remote add origin https://github.com/tomotagwork/kogito-test01.git
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git remote -v
origin https://github.com/tomotagwork/kogito-test01.git (fetch)
origin https://github.com/tomotagwork/kogito-test01.git (push)
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git branch -M main
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git branch --contains
* main
user01@IBM-PF3ALW3Q:~/BAMOE_kogito4/kogito-test01$ git push -u origin main
Username for 'https://github.com': xxxxx
Password for 'https://xxxxx@github.com':
Enumerating objects: 39, done.
Counting objects: 100% (39/39), done.
Delta compression using up to 8 threads
Compressing objects: 100% (27/27), done.
Writing objects: 100% (39/39), 186.46 KiB | 14.34 MiB/s, done.
Total 39 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), done.
To https://github.com/tomotagwork/kogito-test01.git
* [new branch] main -> main
Branch 'main' set up to track remote branch 'main' from 'origin'.
OpenShiftの操作
プロジェクト作成
Kogitoのサンプルをデプロイするための適当なプロジェクトを作成します。ここではkogito-project-test01とします。
この後はこのプロジェクトに各オブジェクトを作成していきます。
RedHatレジストリアクセス用シークレット作成
今回のIBM BAMOE Kogito Operatorを使用したシナリオでは、s2i(source to image)ビルドと呼ばれる方法でソースからコンテナが作成されてそれがOpenShift上にデプロイされる流れとなります。この時、ソースを元にして実行環境であるコンテナを作るための"ビルダー・イメージ"が必要になりますが、IBM Business Automation Manager 8 - Kogito Builderというビルダー・イメージが使われることになります。
このビルダー・イメージは、Red Hatのレジストリーregistry.redhat.io
上に提供されており、ここにアクセスする際には認証が必要になります。
参考: Red Hat コンテナーレジストリーの認証
そのため、RedHatのアカウントを取得し、下準備としてRed Hatのレジストリーへのアクセス時に使用する認証情報を"シークレット"として登録しておきます。
※RedHatのアカウント取得手順はここでは割愛します。RedHatのサイトの指示に従ってアカウント登録してください(無償で登録可能)。
OpenShift上にレジストリーに対するシークレットを登録する方法は以下の辺りも参考になるかと思います。
参考: Pod が他のセキュリティー保護されたレジストリーからイメージを参照できるようにする設定
コマンドで実行するのが楽そうなので、ここの操作はブラウザの管理コンソールではなく、ocコマンドやpodmanコマンドが使えるように設定したLinux環境で実施することにします。(ocコマンドやPodmanのセットアップについてはここでは割愛します)
podmanでレジストリにログインすると、${XDG_RUNTIME_DIR}/containers/auth.jsonファイルが作成されてここにレジストリへのアクセス情報が格納されます。
参考: podman-login
これを上のガイドに従ってシークレットとして登録し、デフォルトのサービスアカウント(default)に紐づけておきます。
[root@test12 ~]# podman login https://registry.redhat.io
Username: xxx
Password: xxx
Login Succeeded!
[root@test12 ~]# ls ${XDG_RUNTIME_DIR}/containers/auth.json
/run/user/0/containers/auth.json
[root@test12 ~]# oc login --token=xxx --server=https://xxx.jp-tok.containers.cloud.ibm.com:xxxxx
Logged into "https://xxx.jp-tok.containers.cloud.ibm.com:xxxxx" as "IAM#xxxxx" using the token provided.
You have access to 66 projects, the list has been suppressed. You can list all projects with 'oc projects'
Using project "default".
[root@test12 ~]# oc project kogito-project-test01
Now using project "kogito-project-test01" on server "https://xxx.jp-tok.containers.cloud.ibm.com:30301".
[root@test12 ~]# oc create secret generic redhatreg --from-file .dockerconfigjson=${XDG_RUNTIME_DIR}/containers/auth.json --type kubernetes.io/dockerconfigjson
secret/redhatreg created
[root@test12 ~]# oc secrets link default redhatreg --for pull
念のため作成されたシークレットを管理コンソールからも確認しておきます。
オペレーターのインストール
OpenShiftの管理コンソールから、IBM Business Automation Manager 8 - Kogito Operatorをインストールします。
OperatorHubからIBM BAMOE Kogito Operatorを選択
インストールするネームスペース(Project)を選択してインストール
IBM BAMOE Kogito Operatorがインストールされました。
KogitoBuildの作成
IBM BAMOE Kogito Operatorを選択し、「Kogito Build」タブから「KogitoBuildの作成」ボタンをクリックします。
YAMLビューを開くと以下のようにYAML形式で編集ができます。
ここでは以下のようにYAMLを編集します。
kind: KogitoBuild
apiVersion: rhpam.kiegroup.org/v1
metadata:
name: kogito-test01
namespace: kogito-project-test01
spec:
gitSource:
uri: 'https://github.com/tomotagwork/kogito-test01'
type: RemoteSource
nameにはこのプロジェクトでユニークな名前を指定します。
gitSourceのuriには前に準備したGitHubリポジトリのURIを指定します。今回はこのリポジトリ直下にデプロイしたいルールのプロジェクトが配置されていますので、contextDirの指定は削除します。
※今回GitHubのRepositodyはPublicに指定しているためGitHubアクセス用のシークレットは不要。
上のように編集して作成をクリック
OpenShiftのスペックにもよると思いますが、結構時間がかかります。(ビルド時には依存関係のあるライブラリーなどの取得などが走るのでそれなりに時間がかかる模様...)
最終的にビルドの状況として以下のようになればOKです。
環境にもよると思いますが25分くらいかかった...
KogitoRuntimeの作成
KogitoBuildが完了したら、それをデプロイするためのランタイムの構成を行います。
IBM BAMOE Kogito Operatorを選択し、「Kogito Runtime」タブから「KogitoBuildの作成」ボタンをクリックします。
YAMLビューを開くと以下のようにYAML形式で編集ができます。
ここでは以下のようにYAMLを編集します。
kind: KogitoRuntime
apiVersion: rhpam.kiegroup.org/v1
metadata:
name: kogito-test01
namespace: kogito-project-test01
spec:
replicas: 3
nameは前に作成したKogitoBuildに合わせます。replicasは今回稼働させるKogitoコンテナが稼働するPodの数を指定します。今回は適当に3を指定しておきます。
上のように編集して作成をクリック。
デプロイメントを見てみると、Podが3つ稼働していることが分かります。
これでデプロイが完了しました。
エンドポイント確認
作成されたルートから、サービス呼び出しのエンドポイントを確認します。
上の赤枠で囲った部分のURIを確認します。
ルール呼び出し
では実際ルールの呼び出しが行えるか確認してみます。ここでは簡易的にcurlコマンドでRESTのAPIを出してみます。
以下のcurlコマンドを実行します。宛先のアドレスは上で確認したURIです。(一部"xxxxx"でマスキングしています)
curl -X 'POST' --silent \
'http://kogito-test01-kogito-project-test01.itzroks-xxxxx.jp-tok.containers.appdomain.cloud/CustomerLoyalty' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"loyalty": {
"rank": "ゴールド"
}
}' | jq .
以下の結果が返されました。
{
"loyalty": {
"rank": "ゴールド"
},
"decisionLoyalty": {
"discountRate": 0.2,
"message": "gold member"
}
}
参考: OpenShift上の各リソース定義
Secret
oc get secret/redhatreg -o yaml
apiVersion: v1
data:
.dockerconfigjson: ewoJxxxxxxxxxxx=
kind: Secret
metadata:
creationTimestamp: "2022-12-24T08:12:58Z"
name: redhatreg
namespace: kogito-project-test01
resourceVersion: "768149"
uid: 75f2f9a6-a270-4d8e-9bcc-b8f44edba2b2
type: kubernetes.io/dockerconfigjson
Operator
oc get operator/bamoe-kogito-operator.kogito-project-test01 -o yaml
apiVersion: operators.coreos.com/v1
kind: Operator
metadata:
creationTimestamp: "2022-12-24T08:26:35Z"
generation: 1
name: bamoe-kogito-operator.kogito-project-test01
resourceVersion: "1207174"
uid: 15f5c239-7ee4-4de8-ad63-08f1d8bc78a6
spec: {}
status:
components:
labelSelector:
matchExpressions:
- key: operators.coreos.com/bamoe-kogito-operator.kogito-project-test01
operator: Exists
refs:
- apiVersion: apps/v1
conditions:
- lastTransitionTime: "2022-12-24T08:26:52Z"
lastUpdateTime: "2022-12-24T08:26:52Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2022-12-24T08:26:41Z"
lastUpdateTime: "2022-12-24T08:26:52Z"
message: ReplicaSet "bamoe-kogito-operator-controller-manager-557764f5c5"
has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
kind: Deployment
name: bamoe-kogito-operator-controller-manager
namespace: kogito-project-test01
- apiVersion: v1
kind: Service
name: bamoe-kogito-operator-controller-manager-metrics-service
namespace: kogito-project-test01
- apiVersion: apiextensions.k8s.io/v1
conditions:
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
kind: CustomResourceDefinition
name: kogitoruntimes.rhpam.kiegroup.org
- apiVersion: apiextensions.k8s.io/v1
conditions:
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
kind: CustomResourceDefinition
name: kogitosupportingservices.rhpam.kiegroup.org
- apiVersion: apiextensions.k8s.io/v1
conditions:
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
kind: CustomResourceDefinition
name: kogitoinfras.rhpam.kiegroup.org
- apiVersion: apiextensions.k8s.io/v1
conditions:
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2022-12-23T00:30:21Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
kind: CustomResourceDefinition
name: kogitobuilds.rhpam.kiegroup.org
- apiVersion: operators.coreos.com/v1alpha1
conditions:
- lastTransitionTime: "2022-12-24T08:26:36Z"
message: all available catalogsources are healthy
reason: AllCatalogSourcesHealthy
status: "False"
type: CatalogSourcesUnhealthy
kind: Subscription
name: bamoe-kogito-operator
namespace: kogito-project-test01
- apiVersion: operators.coreos.com/v1alpha1
conditions:
- lastTransitionTime: "2022-12-24T08:26:38Z"
lastUpdateTime: "2022-12-24T08:26:38Z"
status: "True"
type: Installed
kind: InstallPlan
name: install-27sp4
namespace: kogito-project-test01
- apiVersion: operators.coreos.com/v1alpha1
conditions:
- lastTransitionTime: "2022-12-24T08:26:52Z"
lastUpdateTime: "2022-12-24T08:26:52Z"
message: install strategy completed with no errors
reason: InstallSucceeded
status: "True"
type: Succeeded
kind: ClusterServiceVersion
name: bamoe-kogito-operator.8.0.1-2
namespace: kogito-project-test01
- apiVersion: operators.coreos.com/v2
kind: OperatorCondition
name: bamoe-kogito-operator.8.0.1-2
namespace: kogito-project-test01
- apiVersion: v1
kind: ConfigMap
name: bamoe-kogito-operator-manager-config
namespace: kogito-project-test01
- apiVersion: v1
kind: ServiceAccount
name: bamoe-kogito-operator-controller-manager
namespace: kogito-project-test01
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
name: bamoe-kogito-operator.8.0.1-2-bamoe-kogito-operator--6b95cdd9df
namespace: kogito-project-test01
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
name: bamoe-kogito-operator.8.0.1-2-bamoe-kogito-operator--6b95cdd9df
namespace: kogito-project-test01
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
name: bamoe-kogito-operator.8.0.1-2-5c8fbccc4f
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
name: bamoe-kogito-operator.8.0.1-2-5c8fbccc4f
KogitoBuild
oc get kogitobuild/kogito-test01 -o yaml
apiVersion: rhpam.kiegroup.org/v1
kind: KogitoBuild
metadata:
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 1
name: kogito-test01
namespace: kogito-project-test01
resourceVersion: "781650"
uid: 3c35521b-2ca3-449b-a5a9-6a4004df86f9
spec:
gitSource:
uri: https://github.com/tomotagwork/kogito-test01
type: RemoteSource
status:
builds:
running:
- kogito-test01-builder-1
conditions:
- lastTransitionTime: "2022-12-24T08:44:13Z"
message: ""
reason: Running
status: "True"
type: Running
- lastTransitionTime: "2022-12-24T08:44:13Z"
message: ""
reason: Running
status: "False"
type: Successful
latestBuild: kogito-test01-builder-1
KogitoRuntimes
oc get kogitoruntimes/kogito-test01 -o yaml
apiVersion: rhpam.kiegroup.org/v1
kind: KogitoRuntime
metadata:
creationTimestamp: "2022-12-24T09:15:03Z"
generation: 1
name: kogito-test01
namespace: kogito-project-test01
resourceVersion: "796251"
uid: fd45f1cf-7dcf-46f0-b73a-ea539a4f1d5e
spec:
replicas: 3
status:
cloudEvents: {}
conditions:
- lastTransitionTime: "2022-12-24T09:15:05Z"
message: 'Processing Image stream '
reason: ProcessingImageStreamDelta
status: "False"
type: Failed
- lastTransitionTime: "2022-12-24T09:15:26Z"
message: ""
reason: RequestedReplicasEqualToAvailableReplicas
status: "False"
type: Provisioning
- lastTransitionTime: "2022-12-24T09:15:17Z"
message: ""
reason: AtLeastOnePodAvailable
status: "True"
type: Deployed
deploymentConditions:
- lastTransitionTime: "2022-12-24T09:15:26Z"
lastUpdateTime: "2022-12-24T09:15:26Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2022-12-24T09:15:04Z"
lastUpdateTime: "2022-12-24T09:15:49Z"
message: ReplicaSet "kogito-test01-677bffdc9b" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
externalURI: http://kogito-test01-kogito-project-test01.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01@sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
Build Config
oc get bc/kogito-test01-builder -o yaml
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 2
labels:
app: kogito-test01
buildType: RemoteSource
com.company: Red_Hat
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
name: kogito-test01-builder
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoBuild
name: kogito-test01
uid: 3c35521b-2ca3-449b-a5a9-6a4004df86f9
resourceVersion: "781594"
uid: 7c075aa0-353a-4769-a571-72fd88602873
spec:
failedBuildsHistoryLimit: 5
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: kogito-test01-builder:latest
postCommit: {}
resources: {}
runPolicy: Serial
source:
git:
uri: https://github.com/tomotagwork/kogito-test01
type: Git
strategy:
sourceStrategy:
env:
- name: RUNTIME_TYPE
value: quarkus
- name: NATIVE
value: "false"
- name: LIMIT_CPU
- name: LIMIT_MEMORY
from:
kind: ImageStreamTag
name: bamoe-kogito-builder-rhel8:8.0
namespace: kogito-project-test01
incremental: true
type: Source
successfulBuildsHistoryLimit: 5
triggers:
- imageChange:
from:
kind: ImageStreamTag
name: bamoe-kogito-builder-rhel8:8.0
namespace: kogito-project-test01
type: ImageChange
status:
imageChangeTriggers:
- from:
name: bamoe-kogito-builder-rhel8:8.0
namespace: kogito-project-test01
lastTriggerTime: "2022-12-24T08:44:19Z"
lastTriggeredImageID: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-builder-rhel8@sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
lastVersion: 1
oc get bc/kogito-test01 -o yaml
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 2
labels:
app: kogito-test01
buildType: RemoteSource
com.company: Red_Hat
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
name: kogito-test01
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoBuild
name: kogito-test01
uid: 3c35521b-2ca3-449b-a5a9-6a4004df86f9
resourceVersion: "792455"
uid: d71fc8ea-10ed-4e04-8ee9-37575aed5a5a
spec:
failedBuildsHistoryLimit: 5
nodeSelector: null
output:
to:
kind: ImageStreamTag
name: kogito-test01:latest
postCommit: {}
resources: {}
runPolicy: Serial
source:
images:
- from:
kind: ImageStreamTag
name: kogito-test01-builder:latest
paths:
- destinationDir: .
sourcePath: /home/kogito/bin
type: Image
strategy:
sourceStrategy:
env:
- name: RUNTIME_TYPE
value: quarkus
from:
kind: ImageStreamTag
name: bamoe-kogito-runtime-jvm-rhel8:8.0
namespace: kogito-project-test01
type: Source
successfulBuildsHistoryLimit: 5
triggers:
- imageChange:
from:
kind: ImageStreamTag
name: kogito-test01-builder:latest
type: ImageChange
status:
imageChangeTriggers:
- from:
name: kogito-test01-builder:latest
lastTriggerTime: "2022-12-24T09:07:51Z"
lastTriggeredImageID: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01-builder@sha256:6c539f0714123ddd28afe7814da5805690fb0936dff0d67ed4a22d061199ef9f
lastVersion: 1
Image Stream
oc get is/kogito-test01-builder -o yaml
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 1
labels:
app: kogito-test01
name: kogito-test01-builder
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoBuild
name: kogito-test01
uid: 3c35521b-2ca3-449b-a5a9-6a4004df86f9
resourceVersion: "792447"
uid: e50a8816-2b21-4fe1-aafd-0b917619b35d
spec:
lookupPolicy:
local: true
tags:
- annotations: null
generation: 1
importPolicy: {}
name: latest
referencePolicy:
type: Local
status:
dockerImageRepository: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01-builder
tags:
- items:
- created: "2022-12-24T09:07:51Z"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01-builder@sha256:6c539f0714123ddd28afe7814da5805690fb0936dff0d67ed4a22d061199ef9f
generation: 1
image: sha256:6c539f0714123ddd28afe7814da5805690fb0936dff0d67ed4a22d061199ef9f
tag: latest
oc get is/kogito-test01 -o yaml
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: Kogito Service image
openshift.io/provider-display-name: KIE Group
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 1
name: kogito-test01
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: false
controller: false
kind: KogitoBuild
name: kogito-test01
uid: 3c35521b-2ca3-449b-a5a9-6a4004df86f9
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: false
controller: false
kind: KogitoRuntime
name: kogito-test01
uid: fd45f1cf-7dcf-46f0-b73a-ea539a4f1d5e
resourceVersion: "795676"
uid: 96cbf904-84c1-4aca-b36d-e6f0bdc76350
spec:
lookupPolicy:
local: true
tags:
- annotations:
description: Runtime image for Kogito Service
iconClass: icon-jbpm
tags: kogito,services
version: latest
generation: 1
importPolicy: {}
name: latest
referencePolicy:
type: Local
status:
dockerImageRepository: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01
tags:
- items:
- created: "2022-12-24T09:08:43Z"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01@sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
generation: 1
image: sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
tag: latest
oc get is/bamoe-kogito-builder-rhel8 -o yaml
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: Platform for building Kogito based on Quarkus or Spring
Boot
openshift.io/image.dockerRepositoryCheck: "2022-12-24T08:44:19Z"
openshift.io/provider-display-name: KIE Group
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 2
name: bamoe-kogito-builder-rhel8
namespace: kogito-project-test01
resourceVersion: "781592"
uid: 0ebaeb28-a08e-47c9-8131-8360b585ad92
spec:
lookupPolicy:
local: false
tags:
- annotations:
description: Platform for building Kogito based on Quarkus or Spring Boot
iconClass: icon-jbpm
supports: quarkus,springboot
tags: builder,kogito,quarkus,springboot
version: "8.0"
from:
kind: DockerImage
name: registry.redhat.io/ibm-bamoe/bamoe-kogito-builder-rhel8:8.0
generation: 2
importPolicy: {}
name: "8.0"
referencePolicy:
type: Local
status:
dockerImageRepository: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-builder-rhel8
tags:
- items:
- created: "2022-12-24T08:44:19Z"
dockerImageReference: registry.redhat.io/ibm-bamoe/bamoe-kogito-builder-rhel8@sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
generation: 2
image: sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
tag: "8.0"
oc get is/bamoe-kogito-runtime-jvm-rhel8 -o yaml
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
annotations:
openshift.io/display-name: Runtime image for Kogito based on Quarkus or Spring
Boot JVM image
openshift.io/image.dockerRepositoryCheck: "2022-12-24T08:44:16Z"
openshift.io/provider-display-name: KIE Group
creationTimestamp: "2022-12-24T08:44:13Z"
generation: 2
name: bamoe-kogito-runtime-jvm-rhel8
namespace: kogito-project-test01
resourceVersion: "781577"
uid: 3c052188-209b-4d36-a4da-56b2cda60f10
spec:
lookupPolicy:
local: false
tags:
- annotations:
description: Runtime image for Kogito based on Quarkus or Spring Boot JVM image
iconClass: icon-jbpm
supports: quarkus,springboot
tags: runtime,kogito,quarkus,springboot,jvm
version: "8.0"
from:
kind: DockerImage
name: registry.redhat.io/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8:8.0
generation: 2
importPolicy: {}
name: "8.0"
referencePolicy:
type: Local
status:
dockerImageRepository: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-runtime-jvm-rhel8
tags:
- items:
- created: "2022-12-24T08:44:16Z"
dockerImageReference: registry.redhat.io/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8@sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
generation: 2
image: sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
tag: "8.0"
Image Stream Tag
oc get istag/kogito-test01-builder:latest -o yaml
apiVersion: image.openshift.io/v1
generation: 1
image:
dockerImageLayers:
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:a6577091999bb0bb54af7b808b41c58aa9a79a61f12310b734f235b548159d75
size: 39651444
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:36c516eb9b6af77c0ac3248321124c035baf8315c1c07214c1df325a9c625938
size: 617234746
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:be7cb28037f6762dfde218b3dd9a021ef50ae6231cee2ba4d3be347454c6377d
size: 235354000
dockerImageManifestMediaType: application/vnd.docker.distribution.manifest.v2+json
dockerImageMetadata:
Architecture: amd64
Config:
Cmd:
- /bin/sh
- -c
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- GRAALVM_HOME=/usr/share/graalvm
- GRAALVM_JAVA_VERSION=11
- GRAALVM_VERSION=21.3.1
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- MAVEN_HOME=/usr/share/maven
- JBOSS_MAVEN_REPO_URL=https://repository.jboss.org/nexus/content/groups/public/
- MAVEN_VERSION=3.8.1
- S2I_MODULE_LOCATION=/usr/local/s2i
- ENABLE_RH_MAVEN_REPO=true
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-builder-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
- OPENSHIFT_BUILD_NAME=kogito-test01-builder-1
- OPENSHIFT_BUILD_NAMESPACE=kogito-project-test01
- OPENSHIFT_BUILD_SOURCE=https://github.com/tomotagwork/kogito-test01
- OPENSHIFT_BUILD_COMMIT=e48e1906687b8b9c9de1b5a0a6792f0027da3ea7
- RUNTIME_TYPE=quarkus
- NATIVE=false
- LIMIT_CPU=
- LIMIT_MEMORY=
ExposedPorts:
8080/tcp: {}
Hostname: f989d2ccf886
Labels:
architecture: x86_64
build-date: 2022-11-24T07:43:12
com.redhat.component: ibm-bamoe-kogito-builder-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
distribution-scope: public
io.buildah.version: 1.22.4
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Platform for building Kogito based on Quarkus
or Spring Boot
io.k8s.display-name: IBM build of Kogito builder based on Quarkus or SpringBoot
io.openshift.build.commit.author: TOMOTAG <xxx@xxx>
io.openshift.build.commit.date: Fri Dec 23 14:52:32 2022 +0900
io.openshift.build.commit.id: e48e1906687b8b9c9de1b5a0a6792f0027da3ea7
io.openshift.build.commit.message: fix rule
io.openshift.build.commit.ref: main
io.openshift.build.image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-builder-rhel8@sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
io.openshift.build.source-location: https://github.com/tomotagwork/kogito-test01
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,builder,kogito,quarkus,springboot
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-builder-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-builder-rhel8/images/8.0.1-3
vcs-ref: 2931f3714710bfdc24bdbffbab6c89234190223a
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
Container: 18b5d5958698f30450143796afe2d81a238075607cc995c4f27c97f787f0394d
ContainerConfig:
Cmd:
- /bin/sh
- -c
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- GRAALVM_HOME=/usr/share/graalvm
- GRAALVM_JAVA_VERSION=11
- GRAALVM_VERSION=21.3.1
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- MAVEN_HOME=/usr/share/maven
- JBOSS_MAVEN_REPO_URL=https://repository.jboss.org/nexus/content/groups/public/
- MAVEN_VERSION=3.8.1
- S2I_MODULE_LOCATION=/usr/local/s2i
- ENABLE_RH_MAVEN_REPO=true
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-builder-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
- OPENSHIFT_BUILD_NAME=kogito-test01-builder-1
- OPENSHIFT_BUILD_NAMESPACE=kogito-project-test01
- OPENSHIFT_BUILD_SOURCE=https://github.com/tomotagwork/kogito-test01
- OPENSHIFT_BUILD_COMMIT=e48e1906687b8b9c9de1b5a0a6792f0027da3ea7
- RUNTIME_TYPE=quarkus
- NATIVE=false
- LIMIT_CPU=
- LIMIT_MEMORY=
ExposedPorts:
8080/tcp: {}
Hostname: f989d2ccf886
Labels:
architecture: x86_64
build-date: 2022-11-24T07:43:12
com.redhat.component: ibm-bamoe-kogito-builder-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
distribution-scope: public
io.buildah.version: 1.22.4
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Platform for building Kogito based on Quarkus
or Spring Boot
io.k8s.display-name: IBM build of Kogito builder based on Quarkus or SpringBoot
io.openshift.build.commit.author: xxx <xxx@xxx>
io.openshift.build.commit.date: Fri Dec 23 14:52:32 2022 +0900
io.openshift.build.commit.id: e48e1906687b8b9c9de1b5a0a6792f0027da3ea7
io.openshift.build.commit.message: fix rule
io.openshift.build.commit.ref: main
io.openshift.build.image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-builder-rhel8@sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
io.openshift.build.source-location: https://github.com/tomotagwork/kogito-test01
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,builder,kogito,quarkus,springboot
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-builder-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-builder-rhel8/images/8.0.1-3
vcs-ref: 2931f3714710bfdc24bdbffbab6c89234190223a
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
Created: "2022-12-24T09:07:36Z"
Id: sha256:252b360aa77ccb241345ae56587f273734671b226bd9b0ae12a70e2f79e23050
Parent: sha256:21cbf4f20197df6823288e0d671e38d2283381c711d6eb4446d62823bec3a314
Size: 892269006
apiVersion: image.openshift.io/1.0
kind: DockerImage
dockerImageMetadataVersion: "1.0"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01-builder@sha256:6c539f0714123ddd28afe7814da5805690fb0936dff0d67ed4a22d061199ef9f
metadata:
annotations:
image.openshift.io/dockerLayersOrder: ascending
image.openshift.io/manifestBlobStored: "true"
openshift.io/image.managed: "true"
creationTimestamp: "2022-12-24T09:07:51Z"
name: sha256:6c539f0714123ddd28afe7814da5805690fb0936dff0d67ed4a22d061199ef9f
resourceVersion: "792446"
uid: 82d82ad2-1062-47a8-a26c-3d6b3a6fb46f
kind: ImageStreamTag
lookupPolicy:
local: true
metadata:
creationTimestamp: "2022-12-24T09:07:51Z"
labels:
app: kogito-test01
name: kogito-test01-builder:latest
namespace: kogito-project-test01
resourceVersion: "792447"
uid: e50a8816-2b21-4fe1-aafd-0b917619b35d
tag:
annotations: null
generation: 1
importPolicy: {}
name: latest
referencePolicy:
type: Local
oc get istag/kogito-test01:latest -o yaml
apiVersion: image.openshift.io/v1
generation: 1
image:
dockerImageLayers:
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:a6577091999bb0bb54af7b808b41c58aa9a79a61f12310b734f235b548159d75
size: 39651444
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:4d09173ef9194cb152857502594571b30c2cd672d3cce83b049db2aeb4bee971
size: 89267790
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:f2f4282580293e99b4530bdbd4c2d0e2013715c2a5ea6380507ec7f3211c2b22
size: 52494590
dockerImageManifestMediaType: application/vnd.docker.distribution.manifest.v2+json
dockerImageMetadata:
Architecture: amd64
Config:
Cmd:
- /bin/sh
- -c
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- S2I_MODULE_LOCATION=/usr/local/s2i
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
- OPENSHIFT_BUILD_NAME=kogito-test01-1
- OPENSHIFT_BUILD_NAMESPACE=kogito-project-test01
- RUNTIME_TYPE=quarkus
ExposedPorts:
8080/tcp: {}
Hostname: a289918b0f20
Labels:
architecture: x86_64
build-date: 2022-11-24T07:42:24
com.redhat.component: ibm-bamoe-kogito-runtime-jvm-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
distribution-scope: public
io.buildah.version: 1.22.4
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Runtime image for Kogito based on Quarkus or
Spring Boot JVM image
io.k8s.display-name: IBM build of Kogito runtime based on Quarkus or SpringBoot
JVM image
io.openshift.build.image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-runtime-jvm-rhel8@sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
io.openshift.build.source-location: /tmp/build/inputs
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,runtime,kogito,quarkus,springboot,jvm
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8/images/8.0.1-3
vcs-ref: 9f06642e1972ed4b13075d7ca38876301a80ead5
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
Container: a736695531c64360695bef00bd6c35348572b9c2b3da1a44a7147e0e1b5fe0b0
ContainerConfig:
Cmd:
- /bin/sh
- -c
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- S2I_MODULE_LOCATION=/usr/local/s2i
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
- OPENSHIFT_BUILD_NAME=kogito-test01-1
- OPENSHIFT_BUILD_NAMESPACE=kogito-project-test01
- RUNTIME_TYPE=quarkus
ExposedPorts:
8080/tcp: {}
Hostname: a289918b0f20
Labels:
architecture: x86_64
build-date: 2022-11-24T07:42:24
com.redhat.component: ibm-bamoe-kogito-runtime-jvm-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
distribution-scope: public
io.buildah.version: 1.22.4
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Runtime image for Kogito based on Quarkus or
Spring Boot JVM image
io.k8s.display-name: IBM build of Kogito runtime based on Quarkus or SpringBoot
JVM image
io.openshift.build.image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-runtime-jvm-rhel8@sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
io.openshift.build.source-location: /tmp/build/inputs
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,runtime,kogito,quarkus,springboot,jvm
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8/images/8.0.1-3
vcs-ref: 9f06642e1972ed4b13075d7ca38876301a80ead5
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
Created: "2022-12-24T09:08:39Z"
Id: sha256:144f2c6e5aa4f9891f97388cd7d3f72f9328a298fc1467a4d9e1f82c63a579a2
Parent: sha256:10eadb2881c7324f74043bda0513dbd3d3f0761b0ac0a6298869e27483a0050b
Size: 181437650
apiVersion: image.openshift.io/1.0
kind: DockerImage
dockerImageMetadataVersion: "1.0"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01@sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
metadata:
annotations:
description: Runtime image for Kogito Service
iconClass: icon-jbpm
image.openshift.io/dockerLayersOrder: ascending
image.openshift.io/manifestBlobStored: "true"
openshift.io/image.managed: "true"
tags: kogito,services
version: latest
creationTimestamp: "2022-12-24T09:08:43Z"
name: sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
resourceVersion: "792862"
uid: e2962a37-fb59-464b-8483-07e5ff5bfdec
kind: ImageStreamTag
lookupPolicy:
local: true
metadata:
annotations:
description: Runtime image for Kogito Service
iconClass: icon-jbpm
tags: kogito,services
version: latest
creationTimestamp: "2022-12-24T09:08:43Z"
name: kogito-test01:latest
namespace: kogito-project-test01
resourceVersion: "795676"
uid: 96cbf904-84c1-4aca-b36d-e6f0bdc76350
tag:
annotations:
description: Runtime image for Kogito Service
iconClass: icon-jbpm
tags: kogito,services
version: latest
generation: 1
importPolicy: {}
name: latest
referencePolicy:
type: Local
oc get istag/bamoe-kogito-builder-rhel8:8.0 -o yaml
apiVersion: image.openshift.io/v1
generation: 2
image:
dockerImageLayers:
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:a6577091999bb0bb54af7b808b41c58aa9a79a61f12310b734f235b548159d75
size: 39651444
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:36c516eb9b6af77c0ac3248321124c035baf8315c1c07214c1df325a9c625938
size: 617234746
dockerImageManifestMediaType: application/vnd.docker.distribution.manifest.v2+json
dockerImageMetadata:
Architecture: amd64
Config:
Cmd:
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- GRAALVM_HOME=/usr/share/graalvm
- GRAALVM_JAVA_VERSION=11
- GRAALVM_VERSION=21.3.1
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- MAVEN_HOME=/usr/share/maven
- JBOSS_MAVEN_REPO_URL=https://repository.jboss.org/nexus/content/groups/public/
- MAVEN_VERSION=3.8.1
- S2I_MODULE_LOCATION=/usr/local/s2i
- ENABLE_RH_MAVEN_REPO=true
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-builder-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
ExposedPorts:
8080/tcp: {}
Labels:
architecture: x86_64
build-date: 2022-11-24T07:43:12
com.redhat.component: ibm-bamoe-kogito-builder-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
distribution-scope: public
io.buildah.version: 1.27.1
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Platform for building Kogito based on Quarkus
or Spring Boot
io.k8s.display-name: IBM build of Kogito builder based on Quarkus or SpringBoot
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,builder,kogito,quarkus,springboot
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-builder-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Platform for building Kogito based on Quarkus or SpringBoot
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-builder-rhel8/images/8.0.1-3
vcs-ref: 2931f3714710bfdc24bdbffbab6c89234190223a
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
ContainerConfig: {}
Created: "2022-11-24T07:47:58Z"
Id: sha256:21cbf4f20197df6823288e0d671e38d2283381c711d6eb4446d62823bec3a314
Size: 656908274
apiVersion: image.openshift.io/1.0
kind: DockerImage
dockerImageMetadataVersion: "1.0"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-builder-rhel8@sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
metadata:
annotations:
description: Platform for building Kogito based on Quarkus or Spring Boot
iconClass: icon-jbpm
image.openshift.io/dockerLayersOrder: ascending
supports: quarkus,springboot
tags: builder,kogito,quarkus,springboot
version: "8.0"
creationTimestamp: "2022-12-23T01:30:59Z"
name: sha256:f75ea3cdfb0ee3145f02a86ce669101f23deebbf4fb1b7f7c81f856a8ffaff27
resourceVersion: "50819"
uid: 37a9d321-b6fc-4c88-865d-49eee7a339e7
kind: ImageStreamTag
lookupPolicy:
local: false
metadata:
annotations:
description: Platform for building Kogito based on Quarkus or Spring Boot
iconClass: icon-jbpm
supports: quarkus,springboot
tags: builder,kogito,quarkus,springboot
version: "8.0"
creationTimestamp: "2022-12-24T08:44:19Z"
name: bamoe-kogito-builder-rhel8:8.0
namespace: kogito-project-test01
resourceVersion: "781592"
uid: 0ebaeb28-a08e-47c9-8131-8360b585ad92
tag:
annotations:
description: Platform for building Kogito based on Quarkus or Spring Boot
iconClass: icon-jbpm
supports: quarkus,springboot
tags: builder,kogito,quarkus,springboot
version: "8.0"
from:
kind: DockerImage
name: registry.redhat.io/ibm-bamoe/bamoe-kogito-builder-rhel8:8.0
generation: 2
importPolicy: {}
name: "8.0"
referencePolicy:
type: Local
oc get istag/bamoe-kogito-runtime-jvm-rhel8:8.0 -o yaml
apiVersion: image.openshift.io/v1
generation: 2
image:
dockerImageLayers:
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:a6577091999bb0bb54af7b808b41c58aa9a79a61f12310b734f235b548159d75
size: 39651444
- mediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
name: sha256:4d09173ef9194cb152857502594571b30c2cd672d3cce83b049db2aeb4bee971
size: 89267790
dockerImageManifestMediaType: application/vnd.docker.distribution.manifest.v2+json
dockerImageMetadata:
Architecture: amd64
Config:
Cmd:
- /usr/local/s2i/run
Env:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- container=oci
- KOGITO_HOME=/home/kogito
- USER=kogito
- JAVA_HOME=/usr/lib/jvm/java-11
- JAVA_VENDOR=openjdk
- JAVA_VERSION=11
- JBOSS_CONTAINER_JAVA_JVM_MODULE=/opt/container/java/jvm
- S2I_MODULE_LOCATION=/usr/local/s2i
- JBOSS_IMAGE_NAME=ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
- JBOSS_IMAGE_VERSION=8.0.1
- KOGITO_VERSION=1.13.2.redhat-00004
ExposedPorts:
8080/tcp: {}
Labels:
architecture: x86_64
build-date: 2022-11-24T07:42:24
com.redhat.component: ibm-bamoe-kogito-runtime-jvm-rhel8-container
com.redhat.license_terms: https://www.redhat.com/agreements
description: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
distribution-scope: public
io.buildah.version: 1.27.1
io.cekit.version: 3.12.0
io.k8s.description: IBM BAMOE Runtime image for Kogito based on Quarkus or
Spring Boot JVM image
io.k8s.display-name: IBM build of Kogito runtime based on Quarkus or SpringBoot
JVM image
io.openshift.expose-services: 8080:http
io.openshift.s2i.assemble-input-files: /home/kogito/bin
io.openshift.s2i.destination: /tmp
io.openshift.s2i.scripts-url: image:///usr/local/s2i
io.openshift.tags: ibm-bamoe-kogito,runtime,kogito,quarkus,springboot,jvm
maintainer: Red Hat, Inc.
name: ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8
org.jboss.product: openjdk
org.jboss.product.openjdk.version: "11"
org.jboss.product.version: "11"
release: "3"
summary: IBM BAMOE Runtime image for Kogito based on Quarkus or SpringBoot
JVM image
url: https://access.redhat.com/containers/#/registry.access.redhat.com/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8/images/8.0.1-3
vcs-ref: 9f06642e1972ed4b13075d7ca38876301a80ead5
vcs-type: git
vendor: Red Hat, Inc.
version: 8.0.1
User: "1001"
WorkingDir: /home/kogito
ContainerConfig: {}
Created: "2022-11-24T07:45:36Z"
Id: sha256:10eadb2881c7324f74043bda0513dbd3d3f0761b0ac0a6298869e27483a0050b
Size: 128938143
apiVersion: image.openshift.io/1.0
kind: DockerImage
dockerImageMetadataVersion: "1.0"
dockerImageReference: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/bamoe-kogito-runtime-jvm-rhel8@sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
metadata:
annotations:
description: Runtime image for Kogito based on Quarkus or Spring Boot JVM image
iconClass: icon-jbpm
image.openshift.io/dockerLayersOrder: ascending
supports: quarkus,springboot
tags: runtime,kogito,quarkus,springboot,jvm
version: "8.0"
creationTimestamp: "2022-12-23T01:30:59Z"
name: sha256:13939870a4a3f55ea8478718eb13c916c6ab17af86e5a880b65f48eda90ed82b
resourceVersion: "50815"
uid: 61f41a79-ff77-42fc-b921-a82f2700d28c
kind: ImageStreamTag
lookupPolicy:
local: false
metadata:
annotations:
description: Runtime image for Kogito based on Quarkus or Spring Boot JVM image
iconClass: icon-jbpm
supports: quarkus,springboot
tags: runtime,kogito,quarkus,springboot,jvm
version: "8.0"
creationTimestamp: "2022-12-24T08:44:16Z"
name: bamoe-kogito-runtime-jvm-rhel8:8.0
namespace: kogito-project-test01
resourceVersion: "781577"
uid: 3c052188-209b-4d36-a4da-56b2cda60f10
tag:
annotations:
description: Runtime image for Kogito based on Quarkus or Spring Boot JVM image
iconClass: icon-jbpm
supports: quarkus,springboot
tags: runtime,kogito,quarkus,springboot,jvm
version: "8.0"
from:
kind: DockerImage
name: registry.redhat.io/ibm-bamoe/bamoe-kogito-runtime-jvm-rhel8:8.0
generation: 2
importPolicy: {}
name: "8.0"
referencePolicy:
type: Local
Deployment
oc get deployment/kogito-test01 -o yaml
piVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"kogito-test01:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"kogito-test01\")].image"}]'
creationTimestamp: "2022-12-24T09:15:04Z"
generation: 2
labels:
app: kogito-test01
com.company: Red_Hat
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
name: kogito-test01
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoRuntime
name: kogito-test01
uid: fd45f1cf-7dcf-46f0-b73a-ea539a4f1d5e
resourceVersion: "796244"
uid: a9b300b7-dc56-4815-adad-8bfe5acc9e72
spec:
progressDeadlineSeconds: 600
replicas: 3
revisionHistoryLimit: 10
selector:
matchLabels:
app: kogito-test01
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: kogito-test01
com.company: Red_Hat
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
spec:
containers:
- env:
- name: KOGITO_SERVICE_URL
value: http://kogito-test01-kogito-project-test01.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
- name: NAMESPACE
value: kogito-project-test01
- name: RUNTIME_TYPE
value: quarkus
envFrom:
- configMapRef:
name: kogito-test01-properties
image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01@sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /q/health/live
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: kogito-test01
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /q/health/ready
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
startupProbe:
failureThreshold: 3
httpGet:
path: /q/health/live
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: kogito-service-viewer
serviceAccountName: kogito-service-viewer
terminationGracePeriodSeconds: 30
status:
availableReplicas: 3
conditions:
- lastTransitionTime: "2022-12-24T09:15:26Z"
lastUpdateTime: "2022-12-24T09:15:26Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2022-12-24T09:15:04Z"
lastUpdateTime: "2022-12-24T09:15:49Z"
message: ReplicaSet "kogito-test01-677bffdc9b" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 2
readyReplicas: 3
replicas: 3
updatedReplicas: 3
Replicaset
oc get rs/kogito-test01-677bffdc9b -o yaml
apiVersion: apps/v1
kind: ReplicaSet
metadata:
annotations:
deployment.kubernetes.io/desired-replicas: "3"
deployment.kubernetes.io/max-replicas: "4"
deployment.kubernetes.io/revision: "2"
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"kogito-test01:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"kogito-test01\")].image"}]'
creationTimestamp: "2022-12-24T09:15:05Z"
generation: 3
labels:
app: kogito-test01
com.company: Red_Hat
pod-template-hash: 677bffdc9b
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
name: kogito-test01-677bffdc9b
namespace: kogito-project-test01
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: Deployment
name: kogito-test01
uid: a9b300b7-dc56-4815-adad-8bfe5acc9e72
resourceVersion: "796232"
uid: 50bc1146-be41-4268-a84c-c931b33db892
spec:
replicas: 3
selector:
matchLabels:
app: kogito-test01
pod-template-hash: 677bffdc9b
template:
metadata:
creationTimestamp: null
labels:
app: kogito-test01
com.company: Red_Hat
pod-template-hash: 677bffdc9b
rht.comp: PAM
rht.comp_ver: 8.0.1
rht.prod_name: Red_Hat_Process_Automation
rht.prod_ver: 8.0.1
rht.subcomp: rhpam-kogito-runtime
rht.subcomp_t: application
spec:
containers:
- env:
- name: KOGITO_SERVICE_URL
value: http://kogito-test01-kogito-project-test01.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
- name: NAMESPACE
value: kogito-project-test01
- name: RUNTIME_TYPE
value: quarkus
envFrom:
- configMapRef:
name: kogito-test01-properties
image: image-registry.openshift-image-registry.svc:5000/kogito-project-test01/kogito-test01@sha256:177de61682ce781203002a2d2d5b6f1ca837dc93e928b4612a8087f54db3af53
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /q/health/live
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: kogito-test01
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /q/health/ready
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
startupProbe:
failureThreshold: 3
httpGet:
path: /q/health/live
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: kogito-service-viewer
serviceAccountName: kogito-service-viewer
terminationGracePeriodSeconds: 30
status:
availableReplicas: 3
fullyLabeledReplicas: 3
observedGeneration: 3
readyReplicas: 3
replicas: 3
Service
oc get svc/kogito-test01 -o yaml
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2022-12-24T09:15:04Z"
labels:
app: kogito-test01
name: kogito-test01
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoRuntime
name: kogito-test01
uid: fd45f1cf-7dcf-46f0-b73a-ea539a4f1d5e
resourceVersion: "795681"
uid: 22c055c5-7df1-4425-8a4e-8a4faf43db9c
spec:
clusterIP: 172.21.20.100
clusterIPs:
- 172.21.20.100
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8080
selector:
app: kogito-test01
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Route
oc get route/kogito-test01 -o yaml
apiVersion: route.openshift.io/v1
kind: Route
metadata:
annotations:
openshift.io/host.generated: "true"
creationTimestamp: "2022-12-24T09:15:04Z"
labels:
app: kogito-test01
name: kogito-test01
namespace: kogito-project-test01
ownerReferences:
- apiVersion: rhpam.kiegroup.org/v1
blockOwnerDeletion: true
controller: true
kind: KogitoRuntime
name: kogito-test01
uid: fd45f1cf-7dcf-46f0-b73a-ea539a4f1d5e
resourceVersion: "795698"
uid: 562ac28e-189d-42ab-bcf2-437901b18a6e
spec:
host: kogito-test01-kogito-project-test01.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
port:
targetPort: http
to:
kind: Service
name: kogito-test01
weight: 100
wildcardPolicy: None
status:
ingress:
- conditions:
- lastTransitionTime: "2022-12-24T09:15:04Z"
status: "True"
type: Admitted
host: kogito-test01-kogito-project-test01.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
routerCanonicalHostname: router-default.itzroks-1100008r04-qg5gma-6ccd7f378ae819553d37d5f2ee142bd6-0000.jp-tok.containers.appdomain.cloud
routerName: default
wildcardPolicy: None