Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Prerequisites

  • Install Kubenetes

...

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 IMAGEthe Image_VERSION Version is in the format of x.x.x, e.g. 6.3.0

powershell -f upgrade.ps1 -n <ONELISTOneList_NAMESPACE>Namespace> -v <IMAGE<Image_VERSION>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 <ONELISTOneList_NAMESPACE>Namespace>

kubectl create secret tls tls.onelist --namespace <ONELISTOneList_NAMESPACE> Namespace--cert <SSL<Ssl_CERTIFICATECertificate_FILE> File> --key <PRIVATE<Private_KEYKey_FILE> File> 

For example:

kubectl delete secret tls tls.onelist --namespace onelist

...