Install kubectl CLI
winget install -e --id Kubernetes.kubectl
SSO login
aws sso login --profile <your profile name>
Create config for Kubernetes Service (EKS)
If you haven’t connected to the cluster before run this command to create a connection:
aws eks update -kubeconfig --region <region> update-kubeconfig --name <cluster_name> -profile <cloudservice>>
SSO login
...
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 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.4.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 ','>
...