Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issue to upgrade akv2k8s in AKS version 1.20.x #340

Open
itsabhipaul opened this issue Apr 5, 2022 · 1 comment
Open

Having issue to upgrade akv2k8s in AKS version 1.20.x #340

itsabhipaul opened this issue Apr 5, 2022 · 1 comment
Labels
question Further information is requested

Comments

@itsabhipaul
Copy link

itsabhipaul commented Apr 5, 2022

We had some issue with node restarts and pods are not moving to other nodes and that causing an outage. Microsoft requested to upgrade the AKS cluster from 1.18 to 1.20.x
After the upgrade we are getting error " Error: configmap "akv2k8s-ca" not found "
And its a known issue as per "#147"
Installed version is azure-keyvault-env:1.1.0 .
All the pods for azure-key-vault-controller and injectors are running under namespace " extensions "
So I tried to upgrade the "akv2k8s" but its not working. all 3 application pods are down.
I was checking this URL to upgrade akv2k8s " https://akv2k8s.io/installation/upgrade/ "
The commands i have used is ,
#helm upgrade --install akv2k8s-ca spv-charts/akv2k8s --namespace extensions
Release "akv2k8s-ca" does not exist. Installing it now.
Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "akv2k8s-ca-controller" in namespace "" exists and
cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "extensions":
current value is "com-att-igemsng-azure-dev"

All 3 application pods are running under namespace "com-att-igemsng-azure-dev"

Should I need to uninstall /remove the existing version and install new ? if so It would be nice if anyone can share the information about the removal and re-installation ?!!!
Before we remove the old version should i need to take any details ?

@itsabhipaul itsabhipaul added the question Further information is requested label Apr 5, 2022
@tspearconquest
Copy link
Contributor

tspearconquest commented Jun 30, 2023

Voting to close as duplicate of #342

(Deleted my comment from 342)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants