<p>I've installed fresh rancher on microk8s using helm3 and there are helm operations failing periodically. I am rather clueless as where to have a look for what. Could you please point me in the right direction?</p>
<pre><code>Waiting for Kubernetes API to be available
helm upgrade --history-max=5 --install=true --namespace=rancher-operator-system --reset-values=true --timeout=5m0s --values=/home/shell/helm/values-rancher-operator-crd-0.1.100.yaml --version=0.1.100 --wait=true rancher-operator-crd /home/shell/helm/rancher-operator-crd-0.1.100.tgz
Release &quot;rancher-operator-crd&quot; does not exist. Installing it now.
W1129 15:37:01.028852      39 warnings.go:67] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Error: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition &quot;clusters.rancher.cattle.io&quot; in namespace &quot;&quot; exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key &quot;app.kubernetes.io/managed-by&quot;: must be set to &quot;Helm&quot;; annotation validation error: missing key &quot;meta.helm.sh/release-name&quot;: must be set to &quot;rancher-operator-crd&quot;; annotation validation error: missing key &quot;meta.helm.sh/release-namespace&quot;: must be set to &quot;rancher-operator-system&quot;
</code></pre>
<pre><code>Waiting for Kubernetes API to be available
helm upgrade --history-max=5 --install=true --namespace=fleet-system --reset-values=true --timeout=5m0s --version=0.3.100 --wait=true fleet-crd /home/shell/helm/fleet-crd-0.3.100.tgz
Release &quot;fleet-crd&quot; does not exist. Installing it now.
W1129 15:36:48.667489      41 warnings.go:67] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Error: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition &quot;bundles.fleet.cattle.io&quot; in namespace &quot;&quot; exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key &quot;app.kubernetes.io/managed-by&quot;: must be set to &quot;Helm&quot;; annotation validation error: missing key &quot;meta.helm.sh/release-name&quot;: must be set to &quot;fleet-crd&quot;; annotation validation error: missing key &quot;meta.helm.sh/release-namespace&quot;: must be set to &quot;fleet-system&quot;
</code></pre>
<p>maybe the problem is I installed it with helm3? I would like to use the latest technology, so I would like to use helm3. Is that possible? If not, is it possible to use both helms side by side?</p>

user411245
<p>I think I found a solution for this (at least the Fleet part, but this approach might help you solve the rancher-operator part).</p>
<p><strong>Basically:</strong></p>
<ul>
<li>In the cluster explorer I selected all namespaces.</li>
<li>I went to <a href="https://rancher.my.org/dashboard/c/local/explorer/apiextensions.k8s.io.customresourcedefinition" rel="nofollow noreferrer">https://rancher.my.org/dashboard/c/local/explorer/apiextensions.k8s.io.customresourcedefinition</a> and searched for all CustomResourceDefinition items that matched &quot;.fleet.cattle.io&quot; and bulk deleted them.</li>
<li>Then I went to search installed apps in <a href="https://rancher.my.org/dashboard/c/local/apps/catalog.cattle.io.app" rel="nofollow noreferrer">https://rancher.my.org/dashboard/c/local/apps/catalog.cattle.io.app</a> and clicked on the three dot menu next to &quot;fleet&quot; and selected &quot;Edit/Upgrade&quot;</li>
<li>In the screen that pops up and shows the application info (description, version, etc) <a href="https://rancher.my.org/dashboard/c/local/apps/install?namespace=fleet-system&amp;name=fleet&amp;version=0.3.400&amp;repo=rancher-charts&amp;repo-type=cluster&amp;chart=fleet#appReadme" rel="nofollow noreferrer">https://rancher.my.org/dashboard/c/local/apps/install?namespace=fleet-system&amp;name=fleet&amp;version=0.3.400&amp;repo=rancher-charts&amp;repo-type=cluster&amp;chart=fleet#appReadme</a> I clicked on &quot;Upgrade&quot;.</li>
</ul>
<p>After doing that it created the missing &quot;fleet-local&quot; namespace, the Fleet Cluster and the Fleet Cluster Group.</p>
<p>Rancher version 2.5.7 from the latest helm repo.</p>
<p>Reference: <a href="https://www.reddit.com/r/rancher/comments/md963s/rancher_25_inside_docker_desktop_single_node/" rel="nofollow noreferrer">https://www.reddit.com/r/rancher/comments/md963s/rancher_25_inside_docker_desktop_single_node/</a></p>
