Creating a TAS instance with advanced configurations
You can create a TAS instance by using the Operator UI or using the oc cli.
The parameter values in the following table are provided as an example. You can provide the parameter values based on your configuration:
Parameter | Value |
---|---|
spec.env.size | Specify the size as small , medium , large
based on your environment. |
spec.env.use | Specify the use based on your requirements. For example, development or
production . |
spec.db.db_secret | Provide a name of the database secret based on Step 5. For example,
tas-db-secret . |
spec.db.dbtype | Provide a database type based on your environment. For example, the database type is
db2 . |
spec.db.dbdnsname | Provide a DNS name of the database of your environment. For example,
s-tridb-cp4d.tririga-np-prodman-5ced500bd618bccfff9050949ce1a15e-0000.us-east.containers.appdomain.cloud . |
spec.db.dbdnsname | Provide a database hostname. |
spec.db.dbport | Provide a database port. |
spec.db.dbname | Provide a database name. |
spec.db.sid | Provide a SID value (used only for Oracle Database). |
spec.jvm.javamin | Minimum heap size value based on your Java environment. For example,
4096 . |
spec.jvm.javamax | Maximum heap size value based on your Java environment. For example,
8192 . |
spec.rt.contextpath | Specify the name of the path where the TAS operator is installed based on the value that you
provide in Step 3.b. For example,
the context path in this instance is tririga . |
spec.rt.domain | Provide the domain. For example, the domain is default . |
spec.rt.routes_crt | Provide a route certificate based on the domain. |
spec.sls.sls_host | Provide a SLS host as per Step 6. For example, the SLS host in this
instance is sls.ibm-sls.svc.cluster.local . |
spec.sls.sls_secret | Provide a SLS secret as per Step 6. For example, the SLS secret in this
instance is tas-sls-secret . |
spec.uds.uds_host | Provide a UDS host as per Step 7. For example, the UDS host in this
instance is event-api-service.ibm-bas.svc:8443 . |
spec.uds.uds_secret | Provide a UDS secret as per Step 7. For example, the UDS secret in this
instance is tas-uds-secret . |
spec.storage.*.class | ibmc-file-gold-gid for IBM Cloud, or
ocs-storagecluster-cephfs . The storage class can vary based on your environment.
Note: The OCP cluster must be equipped with a
StorageClass
able to grant read-write permission to the Linux root group and to support Kubernetes
ReadWriteMany or ReadWriteOnce access mode. |
spec.storage.*.size | Provide a size based on your requirements for logs, configurations, and user files. For
example, 30 . |
spec.storage.*.mode | Supported access modes are ReadWriteOnce and
ReadWriteMany . |
spec.truststore | Provide a truststore name that you have set in Additional CA certificates. For example, my-tas-truststore . |
spec.sso.method | Provide the single sign-on method. Supported values are oidc and
saml . |
spec.sso.cfg_secret | Provide the name of the secret that you have created according to the specifications reported in Single Sign-On. For more information, see Single Sign-On. |
spec.server_xml_ext | Provide a server.xml extensions secret that you have set in Server.xml extensions. For example,
tas-server-xml-ext-secret . |
spec.wfagents | Provide the name of the workflow agents and list of users and groups which the workflow agent is dedicated to. For more information, see Dedicated TRIRIGA Workflow Agents. |
cat <<EOF | oc create -f -
apiVersion: tririga.ibm.com/v1
kind: Tririga
metadata:
name: my-tririga
namespace: ibm-tas
spec:
env:
size: medium
use: development
license:
accept: true
db:
db_secret: 'tas-db-secret'
dbtype: db2
dbdnsname: s-tridb-cp4d.tririga-np-prodman-5ced500bd618bccfff9050949ce1a15e-0000.us-east.containers.appdomain.cloud
dbport: 31249
dbname: TRIDB
sid: default
jvm:
javamin: 4096
javamax: 8192
rt:
contextpath: tririga
domain: default
routes_crt: ''
sls:
sls_host: sls.ibm-sls.svc.cluster.local
sls_secret: 'tas-sls-secret'
uds:
uds_host: uds-endpoint-ibm-uds.apps.enigma.cp.fyre.ibm.com
uds_secret: 'tas-uds-secret'
storage:
log:
class: 'ibmc-file-gold-gid'
size: 30
mode: 'ReadWriteOnce'
config:
class: 'ibmc-file-bronze-gid'
size: 1
mode: 'ReadWriteOnce'
userfiles:
class: 'ibmc-file-gold-gid'
size: 50
mode: 'ReadWriteMany'
version: 1.0.0
integration:
truststore: 'my-tas-truststore'
sso:
method: oidc
cfg_secret: 'tas-oidc-secret-ex'
server_xml_ext: 'tas-server-xml-ext-secret'
wfagents:
- name: dwfa1
members:
- class: user
name: myUserName1
- class: user
name: myUserName2
- class: group
name: myGroupName1
EOF