https://rancher.com/ logo
c

creamy-accountant-88363

01/20/2023, 7:33 PM
Hi, I am trying to disable Rancher's embedded cluster API feature at compile time (I want to use community CAPI), but Rancher doesn't seem to fully start if this feature is disabled. E.g., fleet doesn't come up. This is what I changed in features.go to try and disable the embedded cluster api. It wasn't present as a feature CRD, so I wasn't sure how else to disable it
Copy code
EmbeddedClusterAPI = newFeature(
		"embedded-cluster-api",
		"Enable an embedded instance of cluster-api core controller",
		false,
		false,
		false)
Is it possible to disable this? Any pointers are appreciated. Thank you!
After doing some more investigation, I've determined this isn't possible without breaking many core Rancher features. Seems embedded CAPI is heavily ingrained in Rancher server.
27 Views