Deploying the TDV Helm Chart

To deploy the TDV Helm chart on the AWS Public cloud, follow these steps:

1. Console login to an instance that has AWS CLI, Helm, and Kubernetes clients. See Prerequisites for details on the versions of Helm and Kubernetes needed for these clients.
2. Configure local AWS CLI config files (i.e. $HOME/.aws/config and $HOME/.aws/credentials) with AWS Access Key ID and AWS Secret Access Key.
$ aws ecr get-login-password --region <REGION>
$ aws eks update-kubeconfig --region <REGION> --name "<NAME>_eks_cluster"
$ kubectl config current-context
arn:aws:eks:<REGION>:<ID>:cluster/<NAME>_eks_cluster
$ kubectl get nodes -o wide
NAME STATUS   ROLES    AGE   VERSION               INTERNAL-IP     EXTERNAL-IP    OS-IMAGE         KERNEL-VERSION                CONTAINER-RUNTIME
ip-172-31-24-119.<REGION>.compute.internal   Ready    <none>   47m   v1.21.5-eks-9017834   172.31.24.119   34.221.117.5   Amazon Linux 2   5.4.181-99.354.amzn2.x86_64   docker://20.10.7
ip-172-31-55-142.<REGION>.compute.internal   Ready    <none>   47m   v1.21.5-eks-9017834   172.31.55.142   35.81.76.37    Amazon Linux 2   5.4.181-99.354.amzn2.x86_64   docker://20.10.7
$ tar xvpfz TIB_tdv_<TDV_VERSION>_helmchart.tar.gz .     # This comes from eDelivery (TIB_tdv_<tdv_version>_kubernetes.zip).

Example to run 2 TDV pod cluster in EKS with default cpu, memory, storage specified by values.yaml for TDV 8.6.0.

(sample bash script):

#!/bin/bash
TDV_VERSION=8.6.0
REPLICAS=2
REPO="<ID>.dkr.ecr.<REGION>.amazonaws.com/tibco/tdvk8s"
TDV_IMAGE_TAG=${TDV_VERSION}
DOCKER_SERVER=<ID>.dkr.ecr.<REGION>.amazonaws.com
DOCKER_USER=aws
DOCKER_PASSWORD=`aws ecr get-login-password --region us-west-2`
DOCKER_EMAIL=xyz@abc.com
./run_tdv_helmchart.sh -v -d --del-pvc --docker-server $DOCKER_SERVER --docker-username $DOCKER_USER --docker-password $DOCKER_PASSWORD --docker-email $DOCKER_EMAIL --set \
tdv.replicas=$REPLICAS,\
tdv.deploymentEnvironment="eks",\
tdv.resources.dynamic.storageClass="csi-sc-standard",\
tdv.image="$REPO:$TDV_IMAGE_TAG"