Maintaining OneList Instance in Kubernetes

Prerequisites

Log on to Azure Kubernetes Service (AKS)

  1. Log on to Azure by executing this command: az login
  2. Setup the Azure log in with kubectl by executing this command: az aks get-credentials --resource-group <Azure_Resource_Group> --name <Azure_Kubernetes_Service>

Upgrade to a new version

You need to know the namespace where OneList applications are deployed before proceeding with this upgrade. Download the upgrade.ps1 file. Run the command below, where the Image_Version is in the format of x.x.x, e.g. 6.3.0

powershell -f upgrade.ps1 -n <OneList_Namespace> -v <Image_Version>

For example:  powershell -f "c:\onelist\upgrade.ps1" -n onelist -v 6.3.0

Update the SSL certificate

The SSL certificate is securely stored in the Kubernetes secretes store. It is important to keep the SSL certificate current for OneList to function. Please renew the certificate before its expiry date.  

  1. Obtain the SSL certificate and private key without password;
  2. Run these two command below:

kubectl delete secret tls tls.onelist --namespace <OneList_Namespace>

kubectl create secret tls tls.onelist --namespace <OneList_Namespace--cert <Ssl_Certificate_File> --key <Private_Key_File> 

For example:

kubectl delete secret tls tls.onelist --namespace onelist

kubectl create secrte tls tls.onelist --namespace onelist --cert "c:\onelist\ssl_certificte.crt" --key "c:\onelist\ssl_key.key"


IQX OneList Documentation - 6.40