Self-upgrades of the Diagnostic Controller

Available since MCC 2.28.0 (17.3.0 and 16.3.0)

The Diagnostic Controller is upgraded outside the Container Cloud release cycle. Once the new version of the Diagnostic Controller is released, it is automatically installed on the management cluster.

The Diagnostic Controller does not run any diagnostics until it is upgraded to the latest version. If diagnostics is triggered before the Diagnostic Controller is fully upgraded, the status field of the Diagnostic object contains the corresponding error. For example:

apiVersion: diagnostic.mirantis.com/v1alpha1
kind: Diagnostic
metadata:
  name: test-diagnostic
  namespace: test-namespace
spec:
  cluster: test-cluster
status:
  error: The controller has outdated version v1.40.1 (the latest version is
    v1.40.2). Wait until the controller is updated to the latest version. Ensure
    that the release controller is running and the new DiagnosticRelease has
    been created. Check the release controller and the provider logs for issues.
  controllerVersion: v1.40.1