
vSphere 与 Tanzu 的网络图

需要先获取到 Supervisor Control Plane VMs 的 Root 密码
ssh 到 vCenter 服务器
| |
The TKG plugin should help configuring some options from the vCenter UI under Hosts and Clusters > Cluster > Configure > TKG Service, such as setting the Default Tanzu Kubernetes cluster CNI plugin and register clusters in Tanzu Mission Control. It communicates with tkgs-plugin-server pod in the backend through a masterproxy-tkgs-plugin pod, which acts as a reverse proxy to ensure that calls from that TKG interface in the vSphere client are properly routed to the tkgs-plugin-server.
When the TLS certificate in tkgs-plugin-tls-secret expires, this communication fails with status code 502 Bad Gateway. The masterproxy-tkgs-plugin logs should report this error:
| |
The tkgs-plugin-tls-secret should contain an expired TLS certificate:
Check the expiry date of the TLS certificate for TKG plugin:
通过上边在 vCenter 数据库中获取到的 IP 和密码 SSH 到 Control Plane VMs
检查证书的有效期间
| |
重新生成证书
1- Access the supervisor cluster as instructed above. 2- Go to the directory in which TKGs plugin deployment is stored:
| |
3- Force replace the deployment of the TKG plugin using the definition file:
| |
4- Ensure the certificate is now rotated:
| |