...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Prerequisites
- Install Kubenetes
...
- command line tool - kubectl. Instructions can be found here: https://kubernetes.io/docs/tasks/tools/install-kubectl/
- Install the command line tool of the Kubernetes hosting system:
Log on to Azure Kubernetes Service (AKS)
- Log on to Azure by executing this command: az login
- 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.
- Obtain the SSL certificate and private key without password;
- 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
...