Upgrade Third-Party Dependencies
This page outlines the process for upgrading third-party dependencies for Terraform-based infrastructure deployments.
Third-party dependencies refer to the software that is installed by the Terraform scripts to support the deployment of kdb Insights Enterprise.
When to upgrade
Each release of kdb Insights Enterprise includes a Third-party Dependencies section in the release notes. This section lists the specific versions of the third-party infrastructure components that have been tested and verified for compatibility with that specific kdb Insights Enterprise release and provides links to download the required files.
To ensure continued stability, compatibility, and support, it is recommended that you update these dependencies in conjunction with the corresponding upgrade of kdb Insights Enterprise.
Upgrade the cert-manager
-
Using the download links in the kdb Insights Enterprise release notes, get the latest version of the cert-manager helm chart for the specific release of kdb Insights Enterprise.
-
Switch to your local
kxi-terraformdirectory. -
Open the Terraform
variables.tffile for your cloud provider, for example, AWS (Amazon Web Services), ACS (Azure Cloud Services), or GCP (Google Cloud Platform), and update thecert-manager helm chart versionvariable to the new version.vi terraform/k8s_config_aws/variables.tf variable "cert_manager_helm_version" { .... default = "1.16.3" }vi terraform/k8s_config_azure/variables.tf variable "cert_manager_helm_version" { .... default = "1.16.3" }```bash vi terraform/k8s_config_gcp/variables.tf variable "cert_manager_helm_version" { .... default = "1.19.1" }
```
-
Run the
manage-cluster.shscript../scripts/manage-cluster.sh.\scripts\manage-cluster.bat -
Run the
terraform initcommand../scripts/terraform.sh init config.\scripts\terraform.bat init config -
Run the
terraform plancommand../scripts/terraform.sh plan config.\scripts\terraform.bat plan config -
Run the
terraform applycommand../scripts/terraform.sh apply config.\scripts\terraform.bat apply config -
Verify the
cert-manager helm chart version.helm ls -n cert-manager
Upgrade the ingress-nginx
-
Using the download links in the kdb Insights Enterprise release notes, get the latest version of the ngress-nginx helm chart for the specific release of kdb Insights Enterprise
-
Switch to your local
kxi-terraformdirectory. -
Open the Terraform
variables.tffile for your cloud provider (for example, AWS, ACS, or GCP), and update thecert-manager helm chart versionvariable to the new version.vi terraform/k8s_config_aws/variables.tf variable "ingress_nginx_helm_version" { .... default = "4.11.5" }vi terraform/k8s_config_azure/variables.tf variable "ingress_nginx_helm_version" { .... default = "4.11.5" }```bash vi terraform/k8s_config_gcp/variables.tf variable "ingress_nginx_helm_version" { .... default = "4.11.5" }
```
-
Run the
manage-cluster.shscript../scripts/manage-cluster.sh.\scripts\manage-cluster.bat -
Run the
terraform initcommand../scripts/terraform.sh init config.\scripts\terraform.bat init config -
Run the
terraform plancommand../scripts/terraform.sh plan config.\scripts\terraform.bat plan config -
Run the
terraform applycommand../scripts/terraform.sh apply config.\scripts\terraform.bat apply config -
Verify the
cert-manager helm chart version.helm ls -n cert-manager