Versions Compared

Key

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

...

Install kubectl CLI

winget install -e --id Kubernetes.kubectl

SSO login

aws sso login --profile <your profile name>

Create config for Kubernetes Service (EKS)

Execute the following commandIf you haven’t connected to the cluster before run this command to create a connection:

aws eks --region <region> update-kubeconfig --name <cluster_name> -profile <cloudservice>>

Switch between contexts

List contexts
kubectl config get-contexts

Select context

kubectl config use-context <context name>

Upgrade to a new version

Decide the following before proceed proceeding with the upgrade:

Download the upgrade.ps1 file or find this file in onelist repository under the “Azure Deployment” folder. Run the command below in PowerShell, where the Image_Version is in the format of x.x.x, e.g. 7.24.0powershell -f 4

.\upgrade.ps1 -n <OneList_Namespace> -v <Image_Version> -repo <container repository hostname> -rooturl <rootUrl> -timezone <default timezone> -culture <default culture> -supportedCultures <supported cultures seperated by ','>

For example:  powershell -f "c:\onelist.\upgrade.ps1 " -n onelist -v 7.2.0 4.4 -rootUrl https://onelist.example.com -timezone Australia/Sydney -culture en-AU -supportedCultures en-AU,en-DEUS