Difference between revisions of "PEC-IWD/Current/IWDDMPEGuide/Deploy"

From Genesys Documentation
Jump to: navigation, search
(Published)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Article
+
{{ArticlePEServiceDeploy
|Standalone=No
+
|ServiceId=c160305a-8641-4279-b8b6-9889cb1cb568
|DisplayName=Deploy IWD Data Mart
+
|IncludeAssumptions=No
|Context=Learn how to deploy IWD Data Mart.
 
|ComingSoon=No
 
 
|Section={{Section
 
|Section={{Section
|sectionHeading=Prepare your environment
 
 
|alignment=Vertical
 
|alignment=Vertical
 
|structuredtext={{NoteFormat|
 
|structuredtext={{NoteFormat|
 
*Make sure to review {{Link-SomewhereInThisVersion|topic=Planning}} for the full list of prerequisites required to deploy IWD Data Mart.
 
*Make sure to review {{Link-SomewhereInThisVersion|topic=Planning}} for the full list of prerequisites required to deploy IWD Data Mart.
 
*The sample code snippets and install commands in this document use an example version of IWD Data Mart. Ensure that you replace the example version with the version that is applicable for your deployment.|}}
 
*The sample code snippets and install commands in this document use an example version of IWD Data Mart. Ensure that you replace the example version with the version that is applicable for your deployment.|}}
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Kubernetes
 +
|alignment=Vertical
 +
|structuredtext====Prepare===
 +
 +
#Create a new project using the following command:<source>kubectl create namespace iwddm</source>
 +
#Create a pull secret for accessing the JFrog registry. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=Configure Kubernetes}}.
 +
#Download the IWD helm chart from the JFrog repository. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Planning|display text=Download the Helm charts}}.
 +
#IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=IWD x-api-key}}.
 +
 +
===Deploy===
 +
 +
#Extract parameters from chart to see multiple (default) values used to fine tune the installation.<source>$ helm show values <helm-repo>/iwddm-<version> > values.yaml</source>
 +
#Set up essential IWDDM Helm values:
 +
#*image.registry
 +
#*image.imagePullSecrets (if needed)
 +
#*image.repository
 +
#*image.tag
 +
#*image.repository
 +
#*iwddm.tenantId
 +
#*iwddm.db.*
 +
#*iwddm.db.secret.*
 +
#*iwddm.volumes
 +
#*iwddm.volumeMounts
 +
#*iwddm.env.gim.enabled: true (given that GIM DB secret is provided)<br />Use the sample override file:<source>image:
 +
  registry: "pureengage-docker-staging.jfrog.io"
 +
  repository: "iwddm/iwd_dm_cloud"
 +
  tag: "<img-version>"
 +
  pullPolicy: IfNotPresent
 +
  imagePullSecrets:
 +
    - name: pullsecret
 +
iwddm:
 +
  tenantId: <TENANT_ID> #sample 100
 +
  db:
 +
    createConfigmap: true
 +
    host: <postgres-host>
 +
    port: 5432
 +
    dbname: <db-name>
 +
    user: <db-password>
 +
    secret:
 +
      enabled: true
 +
      secretName: <secretname>
 +
      password: <db-password>
 +
  cronjob:
 +
    schedule: "*/3 * * * *"
 +
    suspend: false
 +
  securityContext: {}
 +
  env:
 +
    executionChain: "full"
 +
    restUrl: "http://iwd.iwd.svc.cluster.local:4024/iwd/v3"
 +
    monitoring:
 +
      enabled: false
 +
      pushgateway_url: ""
 +
  volumes: |-
 +
    - name: iwddm-db-secrets
 +
      secret:
 +
        secretName: <secret-name>
 +
    - name: iwd-secrets
 +
      secret:
 +
        secretName: <api key secret>
 +
  volumeMounts:
 +
    iwddm-db-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/db-secrets"
 +
    iwd-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/iwd-secrets"
 +
</source>
 +
#Install IWD Data Mart using the following command:<source>helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml</source>
  
#Create a new project using the following command:<source>kubectl create namespace iwddm</source>For OpenShift:<source>oc get clusterversion
+
<br />
 +
|Status=No
 +
}}
 +
<!--
 +
{{Section
 +
|sectionHeading=OpenShift
 +
|alignment=Vertical
 +
|structuredtext====Prepare===
 +
 
 +
#Create a new project using the following command:<source>oc get clusterversion
 
oc new-project iwddm</source>
 
oc new-project iwddm</source>
 
#Create a pull secret for accessing the JFrog registry. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=Configure Kubernetes}}.
 
#Create a pull secret for accessing the JFrog registry. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=Configure Kubernetes}}.
 
#Download the IWD helm chart from the JFrog repository. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Planning|display text=Download the Helm charts}}.
 
#Download the IWD helm chart from the JFrog repository. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Planning|display text=Download the Helm charts}}.
#IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=IWD x-api-key}}.<br />
+
#IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=IWD x-api-key}}.
 +
 
 +
===Deploy===
 +
 
 +
#Extract parameters from chart to see multiple (default) values used to fine tune the installation.<source>$ helm show values <helm-repo>/iwddm-<version> > values.yaml</source>
 +
#Set up essential IWDDM Helm values:
 +
#*image.registry
 +
#*image.imagePullSecrets (if needed)
 +
#*image.repository
 +
#*image.tag
 +
#*image.repository
 +
#*iwddm.tenantId
 +
#*iwddm.db.*
 +
#*iwddm.db.secret.*
 +
#*iwddm.volumes
 +
#*iwddm.volumeMounts
 +
#*iwddm.env.gim.enabled: true (given that GIM DB secret is provided)<br />Use the sample override file:<source>image:
 +
  registry: "pureengage-docker-staging.jfrog.io"
 +
  repository: "iwddm/iwd_dm_cloud"
 +
  tag: "<img-version>"
 +
  pullPolicy: IfNotPresent
 +
  imagePullSecrets:
 +
    - name: pullsecret
 +
iwddm:
 +
  tenantId: <TENANT_ID> #sample 100
 +
  db:
 +
    createConfigmap: true
 +
    host: <postgres-host>
 +
    port: 5432
 +
    dbname: <db-name>
 +
    user: <db-password>
 +
    secret:
 +
      enabled: true
 +
      secretName: <secretname>
 +
      password: <db-password>
 +
  cronjob:
 +
    schedule: "*/3 * * * *"
 +
    suspend: false
 +
  securityContext: {}
 +
  env:
 +
    executionChain: "full"
 +
    restUrl: "http://iwd.iwd.svc.cluster.local:4024/iwd/v3"
 +
    monitoring:
 +
      enabled: false
 +
      pushgateway_url: ""
 +
  volumes: |-
 +
    - name: iwddm-db-secrets
 +
      secret:
 +
        secretName: <secret-name>
 +
    - name: iwd-secrets
 +
      secret:
 +
        secretName: <api key secret>
 +
  volumeMounts:
 +
    iwddm-db-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/db-secrets"
 +
    iwd-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/iwd-secrets"
 +
</source>
 +
#Install IWD Data Mart using the following command:<source>helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml</source>
 +
 
 +
<br />
 
|Status=No
 
|Status=No
}}{{Section
+
}}
|sectionHeading=Deploy
+
-->
 +
{{Section
 +
|sectionHeading=Google Kubernetes Engine (GKE)
 
|alignment=Vertical
 
|alignment=Vertical
|structuredtext=Extract parameters from chart to see multiple (default) values used to fine tune the installation.
+
|structuredtext====Prepare===
$ helm show values <helm-repo>/iwddm-<version> > values.yaml
 
Set up essential IWDDM Helm values:
 
  
#image.registry
+
#Log in to the GKE cluster.<source>gcloud container clusters get-credentials <cluster-name></source>
#image.imagePullSecrets (if needed)
+
#Create a new project:
#image.repository
+
##Create a ''create-iwddm-namespace.json'' :<source>{
#image.tag
+
  "apiVersion": "v1",
#image.repository
+
  "kind": "Namespace",
#iwddm.tenantId
+
  "metadata": {
#iwddm.db.*
+
    "name": "iwddm",
#iwddm.db.secret.*
+
    "labels": {
#iwddm.volumes
+
      "name": "iwddm"
#iwddm.volumeMounts
+
    }
#iwddm.env.gim.enabled: true (given that GIM DB secret is provided)
+
  }
 +
}</source>
 +
##Create a namespace using the above JSON:<source>kubectl apply -f create-iwddm-namespace.json</source>
 +
##Confirm the namespace creation:<source>kubectl describe namespace iwddm</source>
 +
#Create a pull secret for accessing the JFrog registry. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=Configure Kubernetes}}.
 +
#Download the IWD helm chart from the JFrog repository. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Planning|display text=Download the Helm charts}}.
 +
#IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=IWD x-api-key}}.
  
Sample override file:<source>image:
+
===Deploy===
 +
 
 +
#Extract parameters from chart to see multiple (default) values used to fine tune the installation.<source>$ helm show values <helm-repo>/iwddm-<version> > values.yaml</source>
 +
#Set up essential IWDDM Helm values:
 +
#*image.registry
 +
#*image.imagePullSecrets (if needed)
 +
#*image.repository
 +
#*image.tag
 +
#*image.repository
 +
#*iwddm.tenantId
 +
#*iwddm.db.*
 +
#*iwddm.db.secret.*
 +
#*iwddm.volumes
 +
#*iwddm.volumeMounts
 +
#*iwddm.env.gim.enabled: true (given that GIM DB secret is provided)<br />Use the sample override file:<source>image:
 
   registry: "pureengage-docker-staging.jfrog.io"
 
   registry: "pureengage-docker-staging.jfrog.io"
 
   repository: "iwddm/iwd_dm_cloud"
 
   repository: "iwddm/iwd_dm_cloud"
Line 80: Line 238:
 
       mountPath: "/mnt/env-secrets/iwd-secrets"
 
       mountPath: "/mnt/env-secrets/iwd-secrets"
 
</source>
 
</source>
 +
#Install IWD Data Mart using the following command:<source>helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml</source>
  
 +
<br />
 +
|Status=No
 +
}}{{Section
 +
|sectionHeading=Azure Kubernetes Service (AKS)
 +
|anchor=AKS
 +
|alignment=Vertical
 +
|structuredtext====Prepare===
  
Deploy IWD Data Mart using the following command:
+
#Log in to the AKS cluster.<source>az aks get-credentials --resource-group <rs-group> --name <cluster-name> --admin</source>
<nowiki>helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml</nowiki>
+
#Create a new project:
 +
##Create a ''create-iwddm-namespace.json'' :<source>{
 +
  "apiVersion": "v1",
 +
  "kind": "Namespace",
 +
  "metadata": {
 +
    "name": "iwddm",
 +
    "labels": {
 +
      "name": "iwddm"
 +
    }
 +
  }
 +
}</source>
 +
##Create a namespace using the above JSON:<source>kubectl apply -f create-iwddm-namespace.json</source>
 +
##Confirm the namespace creation:<source>kubectl describe namespace iwddm</source>
 +
#Create a pull secret for accessing the JFrog registry. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=Configure Kubernetes}}.
 +
#Download the IWD helm chart from the JFrog repository. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Planning|display text=Download the Helm charts}}.
 +
#IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See {{Link-AnywhereElse|product=PEC-IWD|version=Current|manual=IWDDMPEGuide|topic=Configure|display text=IWD x-api-key}}.
 +
 
 +
===Deploy===
 +
 
 +
#Extract parameters from chart to see multiple (default) values used to fine tune the installation.<source>$ helm show values <helm-repo>/iwddm-<version> > values.yaml</source>
 +
#Set up essential IWDDM Helm values:
 +
#*image.registry
 +
#*image.imagePullSecrets (if needed)
 +
#*image.repository
 +
#*image.tag
 +
#*image.repository
 +
#*iwddm.tenantId
 +
#*iwddm.db.*
 +
#*iwddm.db.secret.*
 +
#*iwddm.volumes
 +
#*iwddm.volumeMounts
 +
#*iwddm.env.gim.enabled: true (given that GIM DB secret is provided)<br />Use the sample override file:<source>image:
 +
  registry: "pureengageuse1-docker-multicloud.jfrog.io"
 +
  repository: "iwddm/iwd_dm_cloud"
 +
  tag: "<img-version>"
 +
  pullPolicy: IfNotPresent
 +
  imagePullSecrets:
 +
    - name: pullsecret
 +
iwddm:
 +
  tenantId: <TENANT_ID> #sample 100
 +
  db:
 +
    createConfigmap: true
 +
    host: <postgres-host>
 +
    port: 5432
 +
    dbname: <db-name>
 +
    user: <db-password>
 +
    secret:
 +
      enabled: true
 +
      secretName: <secretname>
 +
      password: <db-password>
 +
  cronjob:
 +
    schedule: "*/3 * * * *"
 +
    suspend: false
 +
  securityContext: {}
 +
  env:
 +
    executionChain: "full"
 +
    restUrl: "http://iwd.${IWD_NAMESPACE}.svc.${DNS_SCOPE}:4024/iwd/v3"
 +
    monitoring:
 +
      enabled: false
 +
      pushgateway_url: ""
 +
  gim:
 +
    enabled: true
 +
  wfm:
 +
    enabled: false
 +
    rest_url:  "http://wfm-t101-backend.${WFM_NS}.svc.${DNS_SCOPE}:7010/wfm/api/v3"
 +
    health_url: "http://wfm-t101-backend.${WFM_NS}.svc.${DNS_SCOPE}:7010/?Handler=DISCO"
 +
  gauth:
 +
    enabled: false
 +
    rest_url: http://gauth-auth.${GAUTH_NAMESPACE}.svc.${DNS_SCOPE}:80
 +
    client_id: iwddm_client
 +
    client_secret:
 +
      valueFrom:
 +
        secretKeyRef:
 +
          name: shared-gauth-iwddm-client-secret
 +
          key: gauth-iwddm-client-secret
 +
  volumes: |-
 +
    - name: iwddm-db-secrets
 +
      secret:
 +
        secretName: <secret-name>
 +
    - name: iwd-secrets
 +
      secret:
 +
        secretName: <api key secret>
 +
  volumeMounts:
 +
    iwddm-db-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/db-secrets"
 +
    iwd-secrets:
 +
      readOnly: true
 +
      mountPath: "/mnt/env-secrets/iwd-secrets"
 +
</source>
 +
#Install IWD Data Mart using the following command:<source>helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml</source>
 
|Status=No
 
|Status=No
 
}}{{Section
 
}}{{Section

Latest revision as of 13:01, February 21, 2023

This topic is part of the manual IWD Data Mart Private Edition Guide for version Current of Intelligent Workload Distribution.

Learn how to deploy IWD Data Mart (IWDDM) into a private edition environment.

Important
  • Make sure to review Before you begin for the full list of prerequisites required to deploy IWD Data Mart.
  • The sample code snippets and install commands in this document use an example version of IWD Data Mart. Ensure that you replace the example version with the version that is applicable for your deployment.

Kubernetes

Prepare

  1. Create a new project using the following command:
    kubectl create namespace iwddm
  2. Create a pull secret for accessing the JFrog registry. See Configure Kubernetes.
  3. Download the IWD helm chart from the JFrog repository. See Download the Helm charts.
  4. IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See IWD x-api-key.

Deploy

  1. Extract parameters from chart to see multiple (default) values used to fine tune the installation.
    $ helm show values <helm-repo>/iwddm-<version> > values.yaml
  2. Set up essential IWDDM Helm values:
    • image.registry
    • image.imagePullSecrets (if needed)
    • image.repository
    • image.tag
    • image.repository
    • iwddm.tenantId
    • iwddm.db.*
    • iwddm.db.secret.*
    • iwddm.volumes
    • iwddm.volumeMounts
    • iwddm.env.gim.enabled: true (given that GIM DB secret is provided)
      Use the sample override file:
      image:
        registry: "pureengage-docker-staging.jfrog.io"
        repository: "iwddm/iwd_dm_cloud"
        tag: "<img-version>"
        pullPolicy: IfNotPresent
        imagePullSecrets:
          - name: pullsecret
      iwddm:
        tenantId: <TENANT_ID> #sample 100
        db:
          createConfigmap: true
          host: <postgres-host>
          port: 5432
          dbname: <db-name>
          user: <db-password>
          secret:
            enabled: true
            secretName: <secretname>
            password: <db-password>
        cronjob:
          schedule: "*/3 * * * *"
          suspend: false
        securityContext: {}
        env:
          executionChain: "full"
          restUrl: "http://iwd.iwd.svc.cluster.local:4024/iwd/v3"
          monitoring:
            enabled: false
            pushgateway_url: ""
        volumes: |-
          - name: iwddm-db-secrets
            secret:
              secretName: <secret-name>
          - name: iwd-secrets
            secret:
              secretName: <api key secret>
        volumeMounts:
          iwddm-db-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/db-secrets"
          iwd-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/iwd-secrets"
  3. Install IWD Data Mart using the following command:
    helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml


Google Kubernetes Engine (GKE)

Prepare

  1. Log in to the GKE cluster.
    gcloud container clusters get-credentials <cluster-name>
  2. Create a new project:
    1. Create a create-iwddm-namespace.json :
      {
        "apiVersion": "v1",
        "kind": "Namespace",
        "metadata": {
          "name": "iwddm",
          "labels": {
            "name": "iwddm"
          }
        }
      }
    2. Create a namespace using the above JSON:
      kubectl apply -f create-iwddm-namespace.json
    3. Confirm the namespace creation:
      kubectl describe namespace iwddm
  3. Create a pull secret for accessing the JFrog registry. See Configure Kubernetes.
  4. Download the IWD helm chart from the JFrog repository. See Download the Helm charts.
  5. IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See IWD x-api-key.

Deploy

  1. Extract parameters from chart to see multiple (default) values used to fine tune the installation.
    $ helm show values <helm-repo>/iwddm-<version> > values.yaml
  2. Set up essential IWDDM Helm values:
    • image.registry
    • image.imagePullSecrets (if needed)
    • image.repository
    • image.tag
    • image.repository
    • iwddm.tenantId
    • iwddm.db.*
    • iwddm.db.secret.*
    • iwddm.volumes
    • iwddm.volumeMounts
    • iwddm.env.gim.enabled: true (given that GIM DB secret is provided)
      Use the sample override file:
      image:
        registry: "pureengage-docker-staging.jfrog.io"
        repository: "iwddm/iwd_dm_cloud"
        tag: "<img-version>"
        pullPolicy: IfNotPresent
        imagePullSecrets:
          - name: pullsecret
      iwddm:
        tenantId: <TENANT_ID> #sample 100
        db:
          createConfigmap: true
          host: <postgres-host>
          port: 5432
          dbname: <db-name>
          user: <db-password>
          secret:
            enabled: true
            secretName: <secretname>
            password: <db-password>
        cronjob:
          schedule: "*/3 * * * *"
          suspend: false
        securityContext: {}
        env:
          executionChain: "full"
          restUrl: "http://iwd.iwd.svc.cluster.local:4024/iwd/v3"
          monitoring:
            enabled: false
            pushgateway_url: ""
        volumes: |-
          - name: iwddm-db-secrets
            secret:
              secretName: <secret-name>
          - name: iwd-secrets
            secret:
              secretName: <api key secret>
        volumeMounts:
          iwddm-db-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/db-secrets"
          iwd-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/iwd-secrets"
  3. Install IWD Data Mart using the following command:
    helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml


Azure Kubernetes Service (AKS)

Prepare

  1. Log in to the AKS cluster.
    az aks get-credentials --resource-group <rs-group> --name <cluster-name> --admin
  2. Create a new project:
    1. Create a create-iwddm-namespace.json :
      {
        "apiVersion": "v1",
        "kind": "Namespace",
        "metadata": {
          "name": "iwddm",
          "labels": {
            "name": "iwddm"
          }
        }
      }
    2. Create a namespace using the above JSON:
      kubectl apply -f create-iwddm-namespace.json
    3. Confirm the namespace creation:
      kubectl describe namespace iwddm
  3. Create a pull secret for accessing the JFrog registry. See Configure Kubernetes.
  4. Download the IWD helm chart from the JFrog repository. See Download the Helm charts.
  5. IWD Data Mart requires the Digital Channels API key. The key must be provisioned and shared via Digital Channels or IWD. See IWD x-api-key.

Deploy

  1. Extract parameters from chart to see multiple (default) values used to fine tune the installation.
    $ helm show values <helm-repo>/iwddm-<version> > values.yaml
  2. Set up essential IWDDM Helm values:
    • image.registry
    • image.imagePullSecrets (if needed)
    • image.repository
    • image.tag
    • image.repository
    • iwddm.tenantId
    • iwddm.db.*
    • iwddm.db.secret.*
    • iwddm.volumes
    • iwddm.volumeMounts
    • iwddm.env.gim.enabled: true (given that GIM DB secret is provided)
      Use the sample override file:
      image:
        registry: "pureengageuse1-docker-multicloud.jfrog.io"
        repository: "iwddm/iwd_dm_cloud"
        tag: "<img-version>"
        pullPolicy: IfNotPresent
        imagePullSecrets:
          - name: pullsecret
      iwddm:
        tenantId: <TENANT_ID> #sample 100
        db:
          createConfigmap: true
          host: <postgres-host>
          port: 5432
          dbname: <db-name>
          user: <db-password>
          secret:
            enabled: true
            secretName: <secretname>
            password: <db-password>
        cronjob:
          schedule: "*/3 * * * *"
          suspend: false
        securityContext: {}
        env:
          executionChain: "full"
          restUrl: "http://iwd.${IWD_NAMESPACE}.svc.${DNS_SCOPE}:4024/iwd/v3"
          monitoring:
            enabled: false
            pushgateway_url: ""
        gim:
          enabled: true
        wfm:
          enabled: false
          rest_url:   "http://wfm-t101-backend.${WFM_NS}.svc.${DNS_SCOPE}:7010/wfm/api/v3"
          health_url: "http://wfm-t101-backend.${WFM_NS}.svc.${DNS_SCOPE}:7010/?Handler=DISCO"
        gauth:
          enabled: false
          rest_url: http://gauth-auth.${GAUTH_NAMESPACE}.svc.${DNS_SCOPE}:80
          client_id: iwddm_client
          client_secret:
            valueFrom:
              secretKeyRef:
                name: shared-gauth-iwddm-client-secret
                key: gauth-iwddm-client-secret
        volumes: |-
          - name: iwddm-db-secrets
            secret:
              secretName: <secret-name>
          - name: iwd-secrets
            secret:
              secretName: <api key secret>
        volumeMounts:
          iwddm-db-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/db-secrets"
          iwd-secrets:
            readOnly: true
            mountPath: "/mnt/env-secrets/iwd-secrets"
  3. Install IWD Data Mart using the following command:
    helm upgrade --install iwddm-{short_tenant_id} <helm-repo>/iwddm-cronjob --version={version} -f ./values.private.yml

Validate the deployment

Watch the helm output at the end of installation. Pods must be in a Running state and they must pass all READY checks.

See the following sample output:
Release "iwddm" has been upgraded. Happy Helming!
NAME: iwdem
LAST DEPLOYED: Tue Jul 18 10:18:07 2021
NAMESPACE: iwddm
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Please be patient while iwddm 100.0.0741322 is being deployed
Note that IWDDM is a short-living job. So, pods will be created or deleted based on schedule.
Comments or questions about this documentation? Contact us for support!