Installation and Upgrade Guide > Container Orchestration Using Kubernetes > Useful Kubernetes Commands > TDV Deployment Examples
 
TDV Deployment Examples
Private Cloud (On-Premises) Deployment
Private cloud
tdv.deploymentEnvironment="private"
TDV Cluster example using custom TDV password.
Note: One must set a custom TDV password during the build phase of the tdvk8s image.
tdv.cluster.arbiterPassword must match the password set during the build phase.
$./run_tdv_helmchart.sh --set tdv.cluster.arbiterPassword=random1Password,tdv.cluster.externalIPs="{100.20.30.20}",tdv.cluster.loadBalancerSourceRanges="{100.20.30.0/12}",tdv.image="<HOSTNAME>/tibco/tdvk8s:8.5"
TDV Cluster example with 3 replicas, custom memory, cpu, and storage settings.
$./run_tdv_helmchart.sh --set tdv.replicas=3,tdv.cluster.externalIPs="{100.20.30.20}",tdv.cluster.loadBalancerSourceRanges="{100.20.30.0/12}",tdv.image="<HOSTNAME>/tibco/tdvk8s:8.5",tdv.resources.dynamic.requests.cpu="2000m",tdv.resources.dynamic.requests.memory="16G",tdv.resources.dynamic.storage="16G"
TDV Single example with default replicas=1 and default memory and cpu.
./run_tdv_helmchart.sh --set tdv.deploymentMode=single,tdv.image=“<REPO_URL>/tdvk8s:8.5
TDV Single example with default replicas=1 and default memory and cpu - Using Helm command.
helm install --create-namespace -n tdv ./tdv --set tdv.deploymentMode=single,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV Cluster example with default values and loadBalancer source range settings.
./run_tdv_helmchart.sh --set tdv.externalIPs="{100.20.30.20}",tdv.load BalancerSourceRanges="{100.20.30.0/12}”,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV Cluster example with default values - Using Helm command.
helm install --create-namespace -n tdv ./tdv --set tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV HAProxy example (tdv-0 default pod monitoring)
$./run_tdv_haproxy.sh -d --set tdv.externalIPs="{100.20.30.20}",tdv.loadBalancerSourceRanges="{100.20.30.0/12}"
TDV HAProxy example (tdv-1 pod monitoring)
$./run_tdv_haproxy.sh -d --set tdv.podName="tdv-1",tdv.externalIPs="{100.20.30.20}",tdv.loadBalancerSourceRanges="{100.20.30.0/12}"
 
Public Cloud Deployment
Public cloud (Azure)
tdv.deploymentEnvironment="aks"
TDV Cluster example with 3 replicas, custom memory, cpu, and storage settings.
$ ./run_tdv_helmchart.sh --set tdv.replicas=3,tdv.deploymentEnvironment=“aks”,tdv.resources.dynamic.storageClass=“csi-sc-standard”,tdv.image=“<NAME>.azurecr.io/tibco/tdvk8s:8.5”,tdv.resources.dynamic.requests.cpu=“2000m”,tdv.resources.dynamic.requests.memory=“16G”,tdv.resources.dynamic.storage=“16Gi,tdv.serverHeapMax=15000"
TDV Single example with default replicas=1 and default memory and cpu.
./run_tdv_helmchart.sh --set tdv.deploymentMode=single,tdv.deploymentEnvironment="aks”,tdv.resources.dynamic.storageClass="csi-sc-standard”,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV Single example with default replicas=1 and default memory and cpu - Using Helm command.
helm install --create-namespace -n tdv tdv ./tdv --set tdv.deploymentMode=single,tdv.deploymentEnvironment="aks”,tdv.resources.dynamic.storageClass="csi-sc-standard”,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV Cluster example with default replicas=1 and default memory and cpu.
./run_tdv_helmchart.sh --set tdv.deploymentEnvironment="aks”,tdv.resources.dynamic.storageClass="csi-sc-standard”,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV Cluster example with default replicas=1 and default memory and cpu - Using Helm command.
helm install --create-namespace -n tdv tdv ./tdv --set tdv.deploymentEnvironment="aks”,tdv.resources.dynamic.storageClass="csi-sc-standard”,tdv.image=“<REPO_URL>/tdvk8s:8.5”
TDV HAProxy example (tdv-0 default pod monitoring)
$./run_tdv_haproxy.sh --set tdv.deploymentEnvironment="aks"
TDV HAProxy example (tdv-1 pod monitoring)
$./run_tdv_haproxy.sh --set tdv.podName="tdv-1",tdv.deploymentEnvironment="aks"