r/openshift • • 5d ago

Help needed! Hypershift/ACM

Does anyone here have experience using HyperShift and ACM (MCE)? What does your automation workflow look like? Can I add a special fleet cluster to the hub cluster without provisioning it through HyperShift? I would like to deploy some standard clusters with HyperShift, but for other clusters where I have GPU nodes, I aim to deploy them without HCP.

9 Upvotes

9 comments sorted by

2

u/NoPseudo199 5d ago edited 4d ago • Bravo

Hi! From my experience, yes, you can definitely handle this.

We run a similar topology: a UPI hub cluster running ACM, which manages a dedicated UPI hosting cluster for HyperShift (HCP). Alongside that, we can still provision clusters on bare metal using the Assisted Installer (via InfraEnv) or through a virtualization-based approach.

For automation, there are a few paths you can take — for instance, using Ansible Automation Platform (AAP) to handle the full cluster creation workflow.

Just to make sure I understand your requirement correctly: you want to provision and manage standalone clusters under the same management plane alongside your HCP clusters, right?

Note: In our setup, we only run Argo CD on the ACM hub cluster, and it manages all managed clusters using Placement and ManagedClusterSet resources. Any HyperShift clusters deployed on the MCE hosting cluster are automatically imported into ACM.

1

u/Low-Pomelo-3167 4d ago

Yes, exactly. By 'standard' I mean standalone clusters with their own control plane nodes, not HCPs. I want that ACM manage both

1

u/NoPseudo199 4d ago

So the answer is yes you can. No bigdeal with that's that's built for it.

In this case, ACM only handle the bootstrap process as an IPI on vSphere or whatever.

There is a CR that seems to be usefull or can be : SiteConfig. You may have a look on that. It may help or not. Never tested m'y self.

1

u/Low-Pomelo-3167 4d ago

I forgot to mention that it's all on bare metal

1

u/NoPseudo199 4d ago • Heartwarming

Vous pouvez consulter InfraEnv pour OpenShift ACM avec Assisted Installer. Je pense qu'il devrait déjà être activé par défaut. InfraEnv vous permet de définir un environnement où vos serveurs baremetal seront "stationnés". Vous pouvez ajouter autant d'étiquettes que vous le souhaitez, configurer NTP, SSH, pullsecrets, etc... Ensuite, vous ajoutez votre baremetal via ISO, BMC (redfish) ou PXE. L'hôte démarre et rejoint l'environnement infra. Puis, lorsque vous voulez créer un nouveau cluster autonome, vous serez libre de choisir des hôtes.

As an example, i prefer to create InfraEnv by zone/region.

1

u/Low-Pomelo-3167 4d ago • Heartwarming

Thanks a lot

1

u/NoPseudo199 4d ago

My pleasure

5

u/808estate 4d ago

We use ClusterInstance f.k.a. SiteConfig for deploying baremetal clusters, then let ACM apply policies on top to configure e.g. GPU and other operators.

2

u/therevoman 3d ago

It's a bit older, but I provision clusters using the Host Inventory path. It requires a few artifacts but gives you managed clusters without HCP. Inside a namespace place a Secret(with PullSecret), InfraEnv, BareMetalHost and NMStateConfig.