Missing monitoring files when kk first deployed ks-istio.

Created by: frezes

Your current KubeKey version

No response

Describe this feature

When kk is first deployed with ks-istio included, the ks-istio monitoring files may be missing.

Please check main.yaml, create prometheus config by PodMonitor and SerivceMonitor wait until PodMonitor kind created. It has 5 retries and mask errors。PodMonitor will not be created if prometheus-operator is deployed late.

Describe the solution you'd like

One is to add conditional judgment, when status.monitoring is defined and status.monitoring.status is defined and status.monitoring.status == 'enabled' The other is to move ks-istio monitoring to ks-monitor, and apply monitoring files when ks-istio is deployed.

Additional information

No response