A workload/guest cluster is stuck when attempting to upgrade from version 1.31 to 1.32
search cancel

A workload/guest cluster is stuck when attempting to upgrade from version 1.31 to 1.32

book

Article ID: 425541

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

When attempting to upgrade a VKS workload/guest cluster from VKr version 1.31 to 1.32 by editing the Cluster resource, the following error message may be received:

  • error: clusters.cluster.x-k8s.io "<cluser_name>" could not be patched: admission webhook "capi.validating.tanzukubernetescluster.run.tanzu.vmware.com" denied the request: User sso:<SSO_user_account> cannot change resources owned by TanzuKubernetesCluster

Environment

  • vSphere 8.x

Cause

The affected workload/guest cluster cannot be upgraded to 1.32 by updating the Cluster resource, because the cluster is still managed by the TKC resource. 

Resolution

The workload/guest cluster will need to be upgraded by editing the TKC resource of the cluster:

  • kubectl edit tkc <cluster_name> -n <namespace_name>

Additional Information