Analyzing the Kubernetes ditribution that's running
distribution analyzer is used to check for known managed (hosted) and self-hosted versions of Kubernetes.
when attribute supports standard comparators to compare the result to.
distribution analyzer uses the data collected in the clusterResources is included in the support bundle.
clusterResources collector is automatically added and will always be present.
There are no parameters available for this analyzer.
apiVersion: troubleshoot.replicated.com/v1beta1 kind: Preflight metadata: name: require-hosted-k8s spec: analyzers: - distribution: outcomes: - fail: when: "== docker-desktop" message: The application does not support Docker Desktop - warn: when: "= microk8s" message: The application does not support Microk8s - pass: when: "= eks" message: EKS is a supported distribution - pass: when: "= gke" message: GKE is a supported distribution - pass: when: "= aks" message: AKS is a supported distribution - pass: when: "= digitalocean" message: DigitalOcean is a supported distribution - warn: message: Unable to determine the distribution of Kubernetes