2.3, 3.0, 3.1, 3.2, 3.3
The cluster config stored inside TCA-DB for the clusters has expired. The cluster certificates are renewed, but not synced with the TCA appliances.
SSH to the management cluster with endpoint IP as the capv user.
Get the kubeconfig secret content for the disconnected k8s cluster.
kubectl get secret <cluster name>-kubeconfig -n <cluster name> -ojsonpath="{.data.value}" | base64 -d
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: [base64 CA data]
server: https://<cluster VIP>:6443
name: <cluster name>
contexts:
- context:
cluster: <cluster name>
user: <cluster name>-admin
name: <cluster name>-admin@<cluster name>
current-context: <cluster name>-admin@<cluster name>
kind: Config
preferences: {}
users:
- name: <cluster name>-admin
user:
client-certificate-data: [base64 client cert data]
client-key-data: [base64 client key data]Copy the above kubeconfig content
14.Verify the K8S VIMs status in TCA-M, or the status of the Workload Cluster in the TCA-CP Appliance Management portal (9443). They should be in a connected state.