Initialized vSphere resources Deployed Control Plane VMs Configured Control Plane VMs Configuration error (since DD/MM/YYYY, HH:MM:SS AM) System error occurred on Master node with identifier ################################. Details: Log forwarding sync update failed: Command '['/usr/bin/kubectl', '--kubeconfig', '/etc/kubernetes/admin.conf', 'get', 'configmap', 'fluentbit-config-system', '--namespace', 'vmware-system-logging', '--ignore-not-found=true', '-o', 'json']' returned non-zero exit status 1.. Configured Load Balancer fronting the kubernetes API Server Configured Core Supervisor Services Service: velero.vsphere.vmware.com. Reason: "ReconcileFailed". Message: the server is currently unable to handle the request (get packages.data.packaging.carvel.dev). Service: tkg.vsphere.vmware.com. Reason: "ReconcileFailed". Message: the server is currently unable to handle the request (get packages.data.packaging.carvel.dev).
kubectl commands, returning "Unauthorized" errors.VMware vSphere Kubernetes Service
The internal Kubernetes client certificates stored within the admin.conf file on the Supervisor Control Plane VMs have expired which can be validated by running the below command in the Supervisor Control Plane VMs
cat /etc/kubernetes/admin.conf | grep client-certificate-data | awk '{print $2}' | base64 -d | openssl x509 -noout -dates
Perform the following steps on each Supervisor Control Plane VM to renew the certificates:
kubeadm certs renew all/usr/lib/vmware-wcp/hypercrypt.py --reencryptcrictl rm -f $(crictl ps --label io.kubernetes.container.name=kube-controller-manager -q) crictl rm -f $(crictl ps --label io.kubernetes.container.name=kube-scheduler -q) crictl rm -f $(crictl ps --label io.kubernetes.container.name=etcd -q) crictl rm -f $(crictl ps --label io.kubernetes.container.name=kube-apiserver -q)For more information on vSphere Supervisor certificate management, see Replace vSphere Supervisor (Previously known as vSphere with Tanzu) Certificates.