<p>I am now running two kubernetes clusters.</p>
<p>First Cluster is running on bare metal, and Second Cluster is running on EKS.
but since maintaining EKS costs a lot, so I am finding ways to change this service as Single Cluster that autoscales on AWS.</p>
<p>I did tried to consider several solutions such as RHACM, Rancher and Anthos.
But those solutions are for controlling multi cluster.
I just want to change this cluster as &quot;onpremise based cluster that autoscales (on AWS) when lack of resources&quot;</p>
<p>I could find &quot;EKS anywhere&quot; solution but since price is too high, I want to build similar architecture.</p>
<p>need advice for any use cases for ingress controller, or (physical) loadbalancer, or other architecture that could satisfies those conditions</p>

Kyroo0
<p><code>Cluster API</code> is probably what you need. It is a concept of creating <code>Clusters</code> with <code>Machine</code> objects. These <code>Machine</code> objects are then provisioned using a <code>Provider</code>. This provider can be <code>Bare Metal Operator</code> provider for your bare metal nodes and <code>Cluster API Provider AWS</code> for your AWS nodes. All resting in a single cluster (see the docs below for many other provider types).</p>
<p>You will run a local Kubernetes cluster which will have the <code>Cluster API</code> running in it. This will include components that will allow you to be able to create different <code>Machine</code> objects and tell Kubernetes also how to provision those machines.</p>
<p>Here is some more reading:</p>
<ol>
<li><a href="https://cluster-api.sigs.k8s.io/introduction.html" rel="nofollow noreferrer">Cluster API Book</a>: Excellent reading on the topic.</li>
<li><a href="https://cluster-api-aws.sigs.k8s.io/" rel="nofollow noreferrer">Documentation for CAPI Provider - AWS</a>.</li>
<li><a href="https://metal3.io/" rel="nofollow noreferrer">Documentation for the Bare Metal Operator</a> I worked on this project for a couple of years and the community is pretty amazing. <a href="https://github.com/metal3-io/cluster-api-provider-metal3" rel="nofollow noreferrer">This</a> GitHub repository hosts the <code>CAPI Provider</code> for bare metal nodes.</li>
</ol>
<p>This should definitely get you going. You can start by running different providers individually to get a taste of how they work and then work with <code>Cluster API</code> and see it in function.</p>
