Error: Status of cert kubernetes-admin is "Expired"
search cancel

Error: Status of cert kubernetes-admin is "Expired"

book

Article ID: 445989

calendar_today

Updated On:

Products

VMware Telco Cloud Automation VMware Telco Cloud Platform

Issue/Introduction

  • After upgrading to TCA 3.4, a cluster generates error message
    Error: Status of cert kubernetes-admin is "Expired"

Environment

TCA: 3.4
TCP 5.1

Cause

The TCAM database contains a older copy of the kubeconfig

Resolution

  1. SSH to the cluster with endpoint IP as the capv user.
  2. Get the kubeconfig secret content for the disconnected k8s cluster.
  3. Copy the contents from /etc/kubernetes/admin.conf
  4. Log into TCA Manager
  5. Select Virtual Infrastructure under Infrastructure
  6. Locate the cluster that generates the error
  7. Select the three dotrs, and edit
  8. Paste the kubeconfig copied from step 3
  9. Allow five minutes for the errorr message to resolve