Debugging Sync Issues between the Kubernetes Plugin and CN-Series HSF
The Kubernetes plugin collects information about the CN-Series HSF from
Pods, Services, and Nodes using Watch APIs. The Watch API is a notification based
API which sends updates when the state of a cluster changes. To ensure that the
plugin and the deployed CN-Series HSF are in sync, the plugin listens to
notifications and displays HPA and upgrade/downgrade event notifications.
The plugin uses the following debug commands to debug a specific node based on the
plugin status.
debug plugin kubernetes kubectl-logs pod <pod-name>
This debug command generates a log file that contains the
kubectl
describe logs for the node passed in the command, and is saved in the plugin logs
file.