The upgrade process is well documented and relatively straightforward. Follow https://learn.microsoft.com/en-us/azure/aks/upgrade-aks-cluster?tabs=azure-cli
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin