Getting started with Amazon EKS Anywhere on Bare Metal

数据分析
容器
海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"We are happy to [announce](https://aws.amazon.com/blogs/containers/introducing-bare-metal-deployments-for-amazon-eks-anywhere/) the general availability of [Amazon EKS Anywhere](https://aws.amazon.com/eks/eks-anywhere/) on Bare Metal. We released [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) in 2021 with support to run on-premises Kubernetes clusters using VMware and today you can use EKS Anywhere to provision clusters without virtualization. The new functionality adds support for managing the full hardware lifecycle to boot, provision, and operate clusters.\n\nRunning Kubernetes clusters on top of virtualization technologies can provide flexibility for your compute needs with live migrations, dynamic scaling, and hardware abstractions for the operating system. The new bare metal capability is provided in addition to the existing support for EKS Anywhere running on VMware. Many customers have asked for the ability to run EKS Anywhere directly on hardware with no virtualization. Running Kubernetes on bare metal instances will take full advantage of the servers because the operating system is communicating with the physical hardware. This allows workloads to take advantage of compute accelerators, local storage, and native I/O speeds. The benefits virtualization brings to virtual machines Kubernetes does for workloads without additional abstractions, management, or performance overhead.\n\nEKS Anywhere is fully open source and free to use. It builds on a variety of existing, open-source projects such as, [Tinkerbell](https://tinkerbell.org/) for provisioning servers, [kind](https://kind.sigs.k8s.io/) for bootstrapping, and [Cluster API](https://cluster-api.sigs.k8s.io/) for Kubernetes lifecycle management. Let’s create our first bare metal cluster.\n\n### **Hardware requirements**\nThe minimum specs for an EKS Anywhere server is:\n\n- 4 CPU\n- 8 GB memory\n- 20 GB available storage\n- Network card that can PXE boot\n\nYou can run highly available clusters with five servers for the control plane—3 etcd, and 2 Kubernetes API—or you can run a cluster without high availability on a single server with a minimum of 16 GB of memory. Cluster workloads are not scheduled on the control plane, and you can have different node configurations in your cluster as long as they meet the minimum specs.\n\nWe have worked with multiple hardware providers and integrators to make sure your on-premises clusters are fully supported.\n\nYou can see a list of launch partners near the end of this post.\n\n\n### **Create a cluster**\nTo create a bare metal cluster you need to create an inventory file with information about the hardware you want to use. The file is in CSV format and will be used by EKS Anywhere’s bootstrap process to power on and install an operating system to your servers. You can customize the provisioning workflow by adding your own packages, configuration, or files as shown [here in the documentation](https://anywhere.eks.amazonaws.com/docs/reference/baremetal/).\n\nThe CSV file needs the following information at a minimum:\n\n- Hostname\n- Installation disk\n- Network configuration\n\nAn example CSV file will have these fields:\n\n```\\nhostname,labels,disk,mac,ip_address,netmask,gateway,nameservers\\neks-a-1,type=cp,/dev/sda,f0:d2:f1:00:00:01,10.10.1.110,255.255.255.0,10.10.10.1.1,ns1\\nworker1,type=worker,/dev/sda,f0:d2:f1:00:00:02,10.10.1.111,255.255.255.0,10.10.10.1.1,ns1\\n```\n\n\nA full example of the inventory file can be found in the documentation.\n\nInstall the EKS Anywhere CLI to generate a cluster configuration. The installation will work on macOS or Linux. Windows and Windows subsystem for Linux (WSL) are not supported. If you would like to manually install the CLI you can [read how in the documentation](https://anywhere.eks.amazonaws.com/docs/getting-started/install/#manually-macos-and-linux).\n\n```\\nbrew install aws/tap/eks-anywhere\\n```\n\nNow that we have our hardware configuration and CLI installed we can generate the cluster configuration. This is a declarative specification to configure a cluster.\n\nIn the following commands you can replace the ```\$VARIABLES``` with your own configuration:\n\n```\\neksctl anywhere generate clusterconfig \$CLUSTER_NAME \\\\\\n --provisioner tinkerbell > clusterconfig.yaml\\n```\n\nEdit the configuration to add information unique to your cluster and environment. Open the clusterconfig.yaml file in your favorite text editor and edit the [metadata.name](http://metadata.name/) entry to give the cluster a unique name and ```modify controlPlaneConfiguration.endpoint.host``` entry to an available IP address on your network. This IP address will be the IP address of your Kubernetes API server, but it should not already be in use on your network. It will be a virtual IP address (VIP) that allows for highly available API servers.\n\nYou also need to add an IP address for spec.```tinkerbellIP``` under the ```TinkerBellDatacenterConfig``` object. This IP address will be used for PXE booting machines in the cluster.\n\n```\\nkind: Cluster\\nmetadata:\\n name: \$CLUSTER_NAME\\nspec:\\n controlPlaneConfiguration:\\n count: 1\\n endpoint:\\n host: \$CONTROL_PLANE_IP\\n...\\napiVersion: anywhere.eks.amazonaws.com/v1alpha1\\nkind: TinkerbellDatacenterConfig\\nmetadata:\\n name: \$CLUSTER_NAME\\nspec:\\n tinkerbellIP: \$TINKERBELL_IP\\n```\n\nYou can optionally edit other configurations in the file. Some common configurations include:\n\n- Pod and service CIDR blocks\n- sshAuthorizedKeys for control plane and worker nodes\n\n\nOnce the configuration is set, you can begin the cluster creation process. Just like with other providers, EKS Anywhere will run a bootstrap cluster on your local machine to prepare the initial cluster. You can read more about how the bootstrap process works [in the documentation](https://anywhere.eks.amazonaws.com/docs/concepts/clusterworkflow/).\n\nUse the hardware inventory along with your cluster configuration to create the bare metal cluster.\n\n```\\neksctl anywhere create cluster --file clusterconfig.yaml \\\\\\n --hardware-csv hardware.csv\\n```\n\nEKS Anywhere works with out-of-band (OOB) and lights-out management (LOM) hardware in servers. This allows you to control the power of a server over the network even if it is powered off and you don’t have physical access. EKS Anywhere uses the Intelligent Platform Management Interface (IPMI) protocol or [Redfish](https://redfish.dmtf.org/) to communicate with your servers and manage their power state to provision them.\n\nIf your hardware has an out-of-band management, and you provided the connection information in the inventory file, then EKS Anywhere will automatically boot your hardware, install the operating system, configure Kubernetes, and boot into the full, installed operating system.\n\nYou should see output similar to this when the process is done:\n\n```\\nPerforming setup and validations\\n✅ Tinkerbell Provider setup is valid\\n✅ Validate certificate for registry mirror\\n✅ Create preflight validations pass\\nCreating new bootstrap cluster\\nProvider specific pre-capi-install-setup on bootstrap cluster\\nInstalling cluster-api providers on bootstrap cluster\\nProvider specific post-setup\\nCreating new workload cluster\\nInstalling networking on workload cluster\\nInstalling cluster-api providers on workload cluster\\nInstalling EKS-A secrets on workload cluster\\nInstalling resources on management cluster\\nMoving cluster management from bootstrap to workload cluster\\nInstalling EKS-A custom components (CRD and controller) on workload cluster\\nInstalling EKS-D components on workload cluster\\nCreating EKS-A CRDs instances on workload cluster\\nInstalling AddonManager and GitOps Toolkit on workload cluster\\nGitOps field not specified, bootstrap flux skipped\\nWriting cluster config file\\nDeleting bootstrap cluster\\n🎉 Cluster created!\\n```\n\nYou can now use your EKS Anywhere cluster using the generated kubeconfig file in the local directory.\n\n```\\nexport KUBECONFIG=\$CLUSTER_NAME/\$CLUSTER_NAME.kubeconfig\\nkubectl get nodes\\n```\n\nYou’ll see the nodes you declared in your inventory file.\n\n```\\nNAME STATUS ROLES AGE VERSION\\nnever Ready control-plane,master 56m v1.22.10-eks-7dc61e8\\ngonna Ready <none> 48m v1.22.10-eks-7dc61e8\\ngive-you Ready <none> 48m v1.22.10-eks-7dc61e8\\nup Ready <none> 49m v1.22.10-eks-7dc61e8\\n```\n\nYou can deploy a test workload to the cluster using:\n\n```\\nkubectl apply -f \\"https://anywhere.eks.amazonaws.com/manifests/hello-eks-a.yaml\\"\\n```\n\n### **Launch Partners**\nWe have worked with a lot of partners to validate their hardware with EKS Anywhere on Bare Metal. Here is a small list of some of the partners and validated hardware.\n\n[LG CNS](https://www.lgcns.com/EN/Service/ProOps_EKS-A): Application modernization with containers has become the key competency for the enterprise. Enterprise customers have requirements that address policies for privacy, compliance, and edge use cases. [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) provides the flexibility to accommodate the modernization of diverse customer workloads while extending [Amazon Elastic Kubernetes Service](https://aws.amazon.com/cn/eks/?trk=cndc-detail) ([Amazon EKS](https://aws.amazon.com/cn/eks/?trk=cndc-detail)) capabilities on premises. Furthermore, it is noteworthy that not only VMware but also bare metal options have been added to enable more efficient EKS environments, and consistent management of on-premises EKS environments is possible on AWS. With [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail), LG CNS provides solutions for customers to achieve business modernization goals beyond application modernization. – Tae Hoon Kim, VP of Cloud Business, LG CNS\n\n[Nirmata](https://nirmata.com/nirmata-cloud-native-policy-manager/): [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) on Bare Metal brings the proven EKS distribution to bare metal infrastructure. Now, AWS customers can get consistent Kubernetes experience in the cloud and on-premises, on virtual machines and bare metal. Nirmata supports EKS Anywhere Bare Metal and provides unified operations, governance and security for EKS and EKS Anywhere clusters independent of where and how they are deployed. As an APN Partner, we are super excited to participate in this launch and look forward to working closely with the AWS team on accelerating our customers’ cloud-native journey. – Ritesh Patel, VP Products at Nirmata\n\n[Rafay](https://rafay.co/the-kubernetes-current/streamlining-kubernetes-operations-for-amazon-eks-anywhere-eks-a-for-bare-metal-environments/): Rafay is pleased to be partnered with AWS on EKS Anywhere Bare Metal environments. [Rafay’s Kubernetes Operations Platform (KOP)](https://rafay.co/platform/kubernetes-operations-platform/) is uniquely positioned to help customers deliver enterprise-grade automation, security, visibility and governance requirements. Customers planning to leverage EKS Anywhere for on-premises, bare metal environments can now operate both public cloud and on-premises based clusters easily with Rafay. – Mohan Atreya, SVP of Product and Solutions, Rayfay\n\n[Tech Mahindra](https://files.techmahindra.com/static/img/pdf/powering-telco-wp.pdf): Tech Mahindra’s netOps.ai enables a fully managed hybrid telco cloud experience on AWS using EKS-Anywhere on-premises bare metal hardware through a single click. netOps.ai simplifies all operations, which are typically one of the most significant sources of expenditures for dedicated on-premises networks, by running such operations on EKS-Anywhere providing continuous integration and continuous delivery pipelines for the entire lifecycle of the Solution and a fully automated installation and maintenance. – Tulasi Ram Bora, Chief Architect for [ai](http://netops.ai/) in Tech Mahindra\n\n[Tetrate](https://www.tetrate.io/tetrate-service-bridge/): “Customers, while migrating their applications to the cloud and embracing containers, often choose to span their application between on-premises and cloud,” said Varun Talwar, CEO of Tetrate and founding PM of Istio. “With the launch of [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) customers can get the symmetry of experience with their container platform in hybrid environments, while Tetrate Service Bridge built on Istio and Envoy provides end to end security, observability and consistent application networking policies with a unified management plane which spans multiple environments, clusters and tenants.” – Varun Talwar, CEO, Tetrate\n\n\n#### Learn more about EKS Anywhere enabled partners:\n- Aqua – [Securing Kubernetes Everywhere with EKS Anywhere (EKS-A) Bare Metal](https://blog.aquasec.com/amazon-eks-anywhere)\n- Canonical – [Ubuntu on AWS](https://ubuntu.com/aws)\n- Dell (PowerFlex) – [Dell PowerFlex Bare Metal with Amazon Elastic Kubernetes Service Anywhere, and We Do Mean “Anywhere!”](https://infohub.delltechnologies.com/p/dell-powerflex-bare-metal-with-amazon-elastic-kubernetes-service-anywhere-and-we-do-mean-anywhere/)\n- Equinix – [Run Your Infrastructure Where You Want](https://blog.equinix.com/blog/2021/09/08/run-your-infrastructure-where-you-want/)\n- Harness – [Harness AWS EKS Anywhere Bare Metal](https://harness.io/blog/devops/harness-aws-eks-anywhere-bare-metal)\n- Kong – [Kong Enterprise for Amazon Web Services](https://konghq.com/partners/aws)\n- Lenovo – [Lenovo Solution for AWS ECS-A and EKS-A on ThinkAgile VX](http://%20https//www.lenovo.com/us/en/resources/data-center-solutions/solution-brief-documents/lenovo-solution-for-aws-ecs-a-eks-a-on-thinkagile-vx-tech-brief/)\n- LG CNS – [Amazon EKS(Elastic Kubernetes Service) Anywhere with LG CNS](https://www.lgcns.com/EN/Service/ProOps_EKS-A)\n- LTI – [Amazon EKS Anywhere](https://www.lntinfotech.com/enterprise-solutions/aws/)\n- nClouds – [Amazon EKS Anywhere](https://www.nclouds.com/services/amazon-eks-anywhere)\n- New Relic – [AWS and New Relic: Better Together](https://newrelic.com/partners/aws-monitoring)\n- Rafay – [Streamlining Kubernetes operations for Amazon EKS Anywhere for bare metal environments](https://rafay.co/the-kubernetes-current/streamlining-kubernetes-operations-for-amazon-eks-anywhere-eks-a-for-bare-metal-environments/)\n- SentinelOne – [Securing Amazon EKS Anywhere Bare Metal with SentinelOne Singularity](https://www.sentinelone.com/blog/securing-amazon-eks-anywhere-with-sentinelone-singularity/)\n- Spectro Cloud – [Extending Palette to support Amazon EKS Anywhere for bare metal Kubernetes!](http://www.spectrocloud.com/blog/extending-palette-to-support-amazon-eks-anywhere-for-bare-metal-kubernetes/)\n- Suse Rancher – [Open Source Container Management Platform](https://www.suse.com/products/suse-rancher/)\n- Sysdig – [Adapting Security to Amazon EKS Anywhere on Bare Metal](https://sysdig.com/blog/adapting-security-to-amazon-eks-anywhere-on-bare-metal/)\n- Tech Mahindra – [netOps.ai Powering Telco Networks on AWS](https://files.techmahindra.com/static/img/pdf/powering-telco-wp.pdf)\n- Tetrate – [Deployment in AWS Joining EKS Anywhere and EKS Cloud](https://www.tetrate.io/blog/tsb-deployment-in-aws-joining-eks-anywhere-and-eks-cloud)\n- Nirmata – [Nirmata Kubernetes Policy Management](https://nirmata.com/nirmata-cloud-native-policy-manager/)\n- Pulumi – [Cloud Engineering with Kubernetes](https://www.pulumi.com/blog/amazon-eks-anywhere-bare-metal/)\n- Vertical Relevance – [AWS Cloud Transformation](https://www.verticalrelevance.com/services/cloud-transformation/)\n- Wipro – [WiPro AWS Business Group](https://www.wipro.com/cloud/aws-business-group/)\n\n### **Conclusion**\nCreating a Kubernetes cluster on bare metal has typically taken a lot of work to automate the provisioning and lifecycle management for upgrades and high availability. With EKS Anywhere you can now create highly available clusters with automated upgrades with only two configuration files and a single command. You can use the same tools and workflow to create clusters on VMware, as well as on your local workstation, with more to come. If you’d like to try other provisioners, check out the full EKS Anywhere documentation [here](https://anywhere.eks.amazonaws.com/docs/getting-started/).\n\nEKS Anywhere on Bare Metal has been the most requested feature from our customers to manage EKS clusters on-premises and get support directly from AWS. This allows you to run fully supported clusters on your own hardware, in your own datacenters, with all of the performance, compliance, and scalability you need. We’re excited to see how you use this new capability and love to hear your feedback directly on the [EKS Anywhere GitHub repo](https://github.com/aws/eks-anywhere/) or through your account representatives.\n\n### **What’s next?**\n- If you would like to watch a live demo of a cluster creation process, check out [Containers from the Couch](http://cftc.info/) where we have videos and demos with more information about EKS Anywhere.\n- We also have a live stream planned for the week of July 6th to answer your questions and demonstrate a full cluster provisioning process.\n- And be sure to subscribe to Containers from the Couch to get notified when new videos are posted!\n\n**Justin Garrison**\n\nJustin Garrison is a Sr Developer Advocate in the AWS containers team. He is a long time open source contributor and cares deeply for open communities. Before AWS, Justin built infrastructure for Disney+ and animated movies such as Frozen II and Moana. You can reach him on Twitter via @rothgar\n\n\n","render":"<p>We are happy to <a href=\\"https://aws.amazon.com/blogs/containers/introducing-bare-metal-deployments-for-amazon-eks-anywhere/\\" target=\\"_blank\\">announce</a> the general availability of <a href=\\"https://aws.amazon.com/eks/eks-anywhere/\\" target=\\"_blank\\">Amazon EKS Anywhere</a> on Bare Metal. We released [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) in 2021 with support to run on-premises Kubernetes clusters using VMware and today you can use EKS Anywhere to provision clusters without virtualization. The new functionality adds support for managing the full hardware lifecycle to boot, provision, and operate clusters.</p>\\n<p>Running Kubernetes clusters on top of virtualization technologies can provide flexibility for your compute needs with live migrations, dynamic scaling, and hardware abstractions for the operating system. The new bare metal capability is provided in addition to the existing support for EKS Anywhere running on VMware. Many customers have asked for the ability to run EKS Anywhere directly on hardware with no virtualization. Running Kubernetes on bare metal instances will take full advantage of the servers because the operating system is communicating with the physical hardware. This allows workloads to take advantage of compute accelerators, local storage, and native I/O speeds. The benefits virtualization brings to virtual machines Kubernetes does for workloads without additional abstractions, management, or performance overhead.</p>\n<p>EKS Anywhere is fully open source and free to use. It builds on a variety of existing, open-source projects such as, <a href=\\"https://tinkerbell.org/\\" target=\\"_blank\\">Tinkerbell</a> for provisioning servers, <a href=\\"https://kind.sigs.k8s.io/\\" target=\\"_blank\\">kind</a> for bootstrapping, and <a href=\\"https://cluster-api.sigs.k8s.io/\\" target=\\"_blank\\">Cluster API</a> for Kubernetes lifecycle management. Let’s create our first bare metal cluster.</p>\\n<h3><a id=\\"Hardware_requirements_6\\"></a><strong>Hardware requirements</strong></h3>\\n<p>The minimum specs for an EKS Anywhere server is:</p>\n<ul>\\n<li>4 CPU</li>\n<li>8 GB memory</li>\n<li>20 GB available storage</li>\n<li>Network card that can PXE boot</li>\n</ul>\\n<p>You can run highly available clusters with five servers for the control plane—3 etcd, and 2 Kubernetes API—or you can run a cluster without high availability on a single server with a minimum of 16 GB of memory. Cluster workloads are not scheduled on the control plane, and you can have different node configurations in your cluster as long as they meet the minimum specs.</p>\n<p>We have worked with multiple hardware providers and integrators to make sure your on-premises clusters are fully supported.</p>\n<p>You can see a list of launch partners near the end of this post.</p>\n<h3><a id=\\"Create_a_cluster_21\\"></a><strong>Create a cluster</strong></h3>\\n<p>To create a bare metal cluster you need to create an inventory file with information about the hardware you want to use. The file is in CSV format and will be used by EKS Anywhere’s bootstrap process to power on and install an operating system to your servers. You can customize the provisioning workflow by adding your own packages, configuration, or files as shown <a href=\\"https://anywhere.eks.amazonaws.com/docs/reference/baremetal/\\" target=\\"_blank\\">here in the documentation</a>.</p>\\n<p>The CSV file needs the following information at a minimum:</p>\n<ul>\\n<li>Hostname</li>\n<li>Installation disk</li>\n<li>Network configuration</li>\n</ul>\\n<p>An example CSV file will have these fields:</p>\n<pre><code class=\\"lang-\\">hostname,labels,disk,mac,ip_address,netmask,gateway,nameservers\\neks-a-1,type=cp,/dev/sda,f0:d2:f1:00:00:01,10.10.1.110,255.255.255.0,10.10.10.1.1,ns1\\nworker1,type=worker,/dev/sda,f0:d2:f1:00:00:02,10.10.1.111,255.255.255.0,10.10.10.1.1,ns1\\n</code></pre>\\n<p>A full example of the inventory file can be found in the documentation.</p>\n<p>Install the EKS Anywhere CLI to generate a cluster configuration. The installation will work on macOS or Linux. Windows and Windows subsystem for Linux (WSL) are not supported. If you would like to manually install the CLI you can <a href=\\"https://anywhere.eks.amazonaws.com/docs/getting-started/install/#manually-macos-and-linux\\" target=\\"_blank\\">read how in the documentation</a>.</p>\\n<pre><code class=\\"lang-\\">brew install aws/tap/eks-anywhere\\n</code></pre>\\n<p>Now that we have our hardware configuration and CLI installed we can generate the cluster configuration. This is a declarative specification to configure a cluster.</p>\n<p>In the following commands you can replace the <code>\$VARIABLES</code> with your own configuration:</p>\\n<pre><code class=\\"lang-\\">eksctl anywhere generate clusterconfig \$CLUSTER_NAME \\\\\\n --provisioner tinkerbell &gt; clusterconfig.yaml\\n</code></pre>\\n<p>Edit the configuration to add information unique to your cluster and environment. Open the clusterconfig.yaml file in your favorite text editor and edit the <a href=\\"http://metadata.name/\\" target=\\"_blank\\">metadata.name</a> entry to give the cluster a unique name and <code>modify controlPlaneConfiguration.endpoint.host</code> entry to an available IP address on your network. This IP address will be the IP address of your Kubernetes API server, but it should not already be in use on your network. It will be a virtual IP address (VIP) that allows for highly available API servers.</p>\\n<p>You also need to add an IP address for spec.<code>tinkerbellIP</code> under the <code>TinkerBellDatacenterConfig</code> object. This IP address will be used for PXE booting machines in the cluster.</p>\\n<pre><code class=\\"lang-\\">kind: Cluster\\nmetadata:\\n name: \$CLUSTER_NAME\\nspec:\\n controlPlaneConfiguration:\\n count: 1\\n endpoint:\\n host: \$CONTROL_PLANE_IP\\n...\\napiVersion: anywhere.eks.amazonaws.com/v1alpha1\\nkind: TinkerbellDatacenterConfig\\nmetadata:\\n name: \$CLUSTER_NAME\\nspec:\\n tinkerbellIP: \$TINKERBELL_IP\\n</code></pre>\\n<p>You can optionally edit other configurations in the file. Some common configurations include:</p>\n<ul>\\n<li>Pod and service CIDR blocks</li>\n<li>sshAuthorizedKeys for control plane and worker nodes</li>\n</ul>\\n<p>Once the configuration is set, you can begin the cluster creation process. Just like with other providers, EKS Anywhere will run a bootstrap cluster on your local machine to prepare the initial cluster. You can read more about how the bootstrap process works <a href=\\"https://anywhere.eks.amazonaws.com/docs/concepts/clusterworkflow/\\" target=\\"_blank\\">in the documentation</a>.</p>\\n<p>Use the hardware inventory along with your cluster configuration to create the bare metal cluster.</p>\n<pre><code class=\\"lang-\\">eksctl anywhere create cluster --file clusterconfig.yaml \\\\\\n --hardware-csv hardware.csv\\n</code></pre>\\n<p>EKS Anywhere works with out-of-band (OOB) and lights-out management (LOM) hardware in servers. This allows you to control the power of a server over the network even if it is powered off and you don’t have physical access. EKS Anywhere uses the Intelligent Platform Management Interface (IPMI) protocol or <a href=\\"https://redfish.dmtf.org/\\" target=\\"_blank\\">Redfish</a> to communicate with your servers and manage their power state to provision them.</p>\\n<p>If your hardware has an out-of-band management, and you provided the connection information in the inventory file, then EKS Anywhere will automatically boot your hardware, install the operating system, configure Kubernetes, and boot into the full, installed operating system.</p>\n<p>You should see output similar to this when the process is done:</p>\n<pre><code class=\\"lang-\\">Performing setup and validations\\n✅ Tinkerbell Provider setup is valid\\n✅ Validate certificate for registry mirror\\n✅ Create preflight validations pass\\nCreating new bootstrap cluster\\nProvider specific pre-capi-install-setup on bootstrap cluster\\nInstalling cluster-api providers on bootstrap cluster\\nProvider specific post-setup\\nCreating new workload cluster\\nInstalling networking on workload cluster\\nInstalling cluster-api providers on workload cluster\\nInstalling EKS-A secrets on workload cluster\\nInstalling resources on management cluster\\nMoving cluster management from bootstrap to workload cluster\\nInstalling EKS-A custom components (CRD and controller) on workload cluster\\nInstalling EKS-D components on workload cluster\\nCreating EKS-A CRDs instances on workload cluster\\nInstalling AddonManager and GitOps Toolkit on workload cluster\\nGitOps field not specified, bootstrap flux skipped\\nWriting cluster config file\\nDeleting bootstrap cluster\\n🎉 Cluster created!\\n</code></pre>\\n<p>You can now use your EKS Anywhere cluster using the generated kubeconfig file in the local directory.</p>\n<pre><code class=\\"lang-\\">export KUBECONFIG=\$CLUSTER_NAME/\$CLUSTER_NAME.kubeconfig\\nkubectl get nodes\\n</code></pre>\\n<p>You’ll see the nodes you declared in your inventory file.</p>\n<pre><code class=\\"lang-\\">NAME STATUS ROLES AGE VERSION\\nnever Ready control-plane,master 56m v1.22.10-eks-7dc61e8\\ngonna Ready &lt;none&gt; 48m v1.22.10-eks-7dc61e8\\ngive-you Ready &lt;none&gt; 48m v1.22.10-eks-7dc61e8\\nup Ready &lt;none&gt; 49m v1.22.10-eks-7dc61e8\\n</code></pre>\\n<p>You can deploy a test workload to the cluster using:</p>\n<pre><code class=\\"lang-\\">kubectl apply -f &quot;https://anywhere.eks.amazonaws.com/manifests/hello-eks-a.yaml&quot;\\n</code></pre>\\n<h3><a id=\\"Launch_Partners_147\\"></a><strong>Launch Partners</strong></h3>\\n<p>We have worked with a lot of partners to validate their hardware with EKS Anywhere on Bare Metal. Here is a small list of some of the partners and validated hardware.</p>\n<p><a href=\\"https://www.lgcns.com/EN/Service/ProOps_EKS-A\\" target=\\"_blank\\">LG CNS</a>: Application modernization with containers has become the key competency for the enterprise. Enterprise customers have requirements that address policies for privacy, compliance, and edge use cases. [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) provides the flexibility to accommodate the modernization of diverse customer workloads while extending [Amazon Elastic Kubernetes Service](https://aws.amazon.com/cn/eks/?trk=cndc-detail) ([Amazon EKS](https://aws.amazon.com/cn/eks/?trk=cndc-detail)) capabilities on premises. Furthermore, it is noteworthy that not only VMware but also bare metal options have been added to enable more efficient EKS environments, and consistent management of on-premises EKS environments is possible on AWS. With [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail), LG CNS provides solutions for customers to achieve business modernization goals beyond application modernization. – Tae Hoon Kim, VP of Cloud Business, LG CNS</p>\\n<p><a href=\\"https://nirmata.com/nirmata-cloud-native-policy-manager/\\" target=\\"_blank\\">Nirmata</a>: [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) on Bare Metal brings the proven EKS distribution to bare metal infrastructure. Now, AWS customers can get consistent Kubernetes experience in the cloud and on-premises, on virtual machines and bare metal. Nirmata supports EKS Anywhere Bare Metal and provides unified operations, governance and security for EKS and EKS Anywhere clusters independent of where and how they are deployed. As an APN Partner, we are super excited to participate in this launch and look forward to working closely with the AWS team on accelerating our customers’ cloud-native journey. – Ritesh Patel, VP Products at Nirmata</p>\\n<p><a href=\\"https://rafay.co/the-kubernetes-current/streamlining-kubernetes-operations-for-amazon-eks-anywhere-eks-a-for-bare-metal-environments/\\" target=\\"_blank\\">Rafay</a>: Rafay is pleased to be partnered with AWS on EKS Anywhere Bare Metal environments. <a href=\\"https://rafay.co/platform/kubernetes-operations-platform/\\" target=\\"_blank\\">Rafay’s Kubernetes Operations Platform (KOP)</a> is uniquely positioned to help customers deliver enterprise-grade automation, security, visibility and governance requirements. Customers planning to leverage EKS Anywhere for on-premises, bare metal environments can now operate both public cloud and on-premises based clusters easily with Rafay. – Mohan Atreya, SVP of Product and Solutions, Rayfay</p>\\n<p><a href=\\"https://files.techmahindra.com/static/img/pdf/powering-telco-wp.pdf\\" target=\\"_blank\\">Tech Mahindra</a>: Tech Mahindra’s netOps.ai enables a fully managed hybrid telco cloud experience on AWS using EKS-Anywhere on-premises bare metal hardware through a single click. netOps.ai simplifies all operations, which are typically one of the most significant sources of expenditures for dedicated on-premises networks, by running such operations on EKS-Anywhere providing continuous integration and continuous delivery pipelines for the entire lifecycle of the Solution and a fully automated installation and maintenance. – Tulasi Ram Bora, Chief Architect for <a href=\\"http://netops.ai/\\" target=\\"_blank\\">ai</a> in Tech Mahindra</p>\\n<p><a href=\\"https://www.tetrate.io/tetrate-service-bridge/\\" target=\\"_blank\\">Tetrate</a>: “Customers, while migrating their applications to the cloud and embracing containers, often choose to span their application between on-premises and cloud,” said Varun Talwar, CEO of Tetrate and founding PM of Istio. “With the launch of [Amazon EKS Anywhere](https://aws.amazon.com/cn/eks/eks-anywhere/?trk=cndc-detail) customers can get the symmetry of experience with their container platform in hybrid environments, while Tetrate Service Bridge built on Istio and Envoy provides end to end security, observability and consistent application networking policies with a unified management plane which spans multiple environments, clusters and tenants.” – Varun Talwar, CEO, Tetrate</p>\\n<h4><a id=\\"Learn_more_about_EKS_Anywhere_enabled_partners_161\\"></a>Learn more about EKS Anywhere enabled partners:</h4>\\n<ul>\\n<li>Aqua – <a href=\\"https://blog.aquasec.com/amazon-eks-anywhere\\" target=\\"_blank\\">Securing Kubernetes Everywhere with EKS Anywhere (EKS-A) Bare Metal</a></li>\\n<li>Canonical – <a href=\\"https://ubuntu.com/aws\\" target=\\"_blank\\">Ubuntu on AWS</a></li>\\n<li>Dell (PowerFlex) – <a href=\\"https://infohub.delltechnologies.com/p/dell-powerflex-bare-metal-with-amazon-elastic-kubernetes-service-anywhere-and-we-do-mean-anywhere/\\" target=\\"_blank\\">Dell PowerFlex Bare Metal with Amazon Elastic Kubernetes Service Anywhere, and We Do Mean “Anywhere!”</a></li>\\n<li>Equinix – <a href=\\"https://blog.equinix.com/blog/2021/09/08/run-your-infrastructure-where-you-want/\\" target=\\"_blank\\">Run Your Infrastructure Where You Want</a></li>\\n<li>Harness – <a href=\\"https://harness.io/blog/devops/harness-aws-eks-anywhere-bare-metal\\" target=\\"_blank\\">Harness AWS EKS Anywhere Bare Metal</a></li>\\n<li>Kong – <a href=\\"https://konghq.com/partners/aws\\" target=\\"_blank\\">Kong Enterprise for Amazon Web Services</a></li>\\n<li>Lenovo – <a href=\\"http://%20https//www.lenovo.com/us/en/resources/data-center-solutions/solution-brief-documents/lenovo-solution-for-aws-ecs-a-eks-a-on-thinkagile-vx-tech-brief/\\" target=\\"_blank\\">Lenovo Solution for AWS ECS-A and EKS-A on ThinkAgile VX</a></li>\\n<li>LG CNS – <a href=\\"https://www.lgcns.com/EN/Service/ProOps_EKS-A\\" target=\\"_blank\\">Amazon EKS(Elastic Kubernetes Service) Anywhere with LG CNS</a></li>\\n<li>LTI – <a href=\\"https://www.lntinfotech.com/enterprise-solutions/aws/\\" target=\\"_blank\\">Amazon EKS Anywhere</a></li>\\n<li>nClouds – <a href=\\"https://www.nclouds.com/services/amazon-eks-anywhere\\" target=\\"_blank\\">Amazon EKS Anywhere</a></li>\\n<li>New Relic – <a href=\\"https://newrelic.com/partners/aws-monitoring\\" target=\\"_blank\\">AWS and New Relic: Better Together</a></li>\\n<li>Rafay – <a href=\\"https://rafay.co/the-kubernetes-current/streamlining-kubernetes-operations-for-amazon-eks-anywhere-eks-a-for-bare-metal-environments/\\" target=\\"_blank\\">Streamlining Kubernetes operations for Amazon EKS Anywhere for bare metal environments</a></li>\\n<li>SentinelOne – <a href=\\"https://www.sentinelone.com/blog/securing-amazon-eks-anywhere-with-sentinelone-singularity/\\" target=\\"_blank\\">Securing Amazon EKS Anywhere Bare Metal with SentinelOne Singularity</a></li>\\n<li>Spectro Cloud – <a href=\\"http://www.spectrocloud.com/blog/extending-palette-to-support-amazon-eks-anywhere-for-bare-metal-kubernetes/\\" target=\\"_blank\\">Extending Palette to support Amazon EKS Anywhere for bare metal Kubernetes!</a></li>\\n<li>Suse Rancher – <a href=\\"https://www.suse.com/products/suse-rancher/\\" target=\\"_blank\\">Open Source Container Management Platform</a></li>\\n<li>Sysdig – <a href=\\"https://sysdig.com/blog/adapting-security-to-amazon-eks-anywhere-on-bare-metal/\\" target=\\"_blank\\">Adapting Security to Amazon EKS Anywhere on Bare Metal</a></li>\\n<li>Tech Mahindra – <a href=\\"https://files.techmahindra.com/static/img/pdf/powering-telco-wp.pdf\\" target=\\"_blank\\">netOps.ai Powering Telco Networks on AWS</a></li>\\n<li>Tetrate – <a href=\\"https://www.tetrate.io/blog/tsb-deployment-in-aws-joining-eks-anywhere-and-eks-cloud\\" target=\\"_blank\\">Deployment in AWS Joining EKS Anywhere and EKS Cloud</a></li>\\n<li>Nirmata – <a href=\\"https://nirmata.com/nirmata-cloud-native-policy-manager/\\" target=\\"_blank\\">Nirmata Kubernetes Policy Management</a></li>\\n<li>Pulumi – <a href=\\"https://www.pulumi.com/blog/amazon-eks-anywhere-bare-metal/\\" target=\\"_blank\\">Cloud Engineering with Kubernetes</a></li>\\n<li>Vertical Relevance – <a href=\\"https://www.verticalrelevance.com/services/cloud-transformation/\\" target=\\"_blank\\">AWS Cloud Transformation</a></li>\\n<li>Wipro – <a href=\\"https://www.wipro.com/cloud/aws-business-group/\\" target=\\"_blank\\">WiPro AWS Business Group</a></li>\\n</ul>\n<h3><a id=\\"Conclusion_185\\"></a><strong>Conclusion</strong></h3>\\n<p>Creating a Kubernetes cluster on bare metal has typically taken a lot of work to automate the provisioning and lifecycle management for upgrades and high availability. With EKS Anywhere you can now create highly available clusters with automated upgrades with only two configuration files and a single command. You can use the same tools and workflow to create clusters on VMware, as well as on your local workstation, with more to come. If you’d like to try other provisioners, check out the full EKS Anywhere documentation <a href=\\"https://anywhere.eks.amazonaws.com/docs/getting-started/\\" target=\\"_blank\\">here</a>.</p>\\n<p>EKS Anywhere on Bare Metal has been the most requested feature from our customers to manage EKS clusters on-premises and get support directly from AWS. This allows you to run fully supported clusters on your own hardware, in your own datacenters, with all of the performance, compliance, and scalability you need. We’re excited to see how you use this new capability and love to hear your feedback directly on the <a href=\\"https://github.com/aws/eks-anywhere/\\" target=\\"_blank\\">EKS Anywhere GitHub repo</a> or through your account representatives.</p>\\n<h3><a id=\\"Whats_next_190\\"></a><strong>What’s next?</strong></h3>\\n<ul>\\n<li>If you would like to watch a live demo of a cluster creation process, check out <a href=\\"http://cftc.info/\\" target=\\"_blank\\">Containers from the Couch</a> where we have videos and demos with more information about EKS Anywhere.</li>\\n<li>We also have a live stream planned for the week of July 6th to answer your questions and demonstrate a full cluster provisioning process.</li>\n<li>And be sure to subscribe to Containers from the Couch to get notified when new videos are posted!</li>\n</ul>\\n<p><strong>Justin Garrison</strong></p>\\n<p>Justin Garrison is a Sr Developer Advocate in the AWS containers team. He is a long time open source contributor and cares deeply for open communities. Before AWS, Justin built infrastructure for Disney+ and animated movies such as Frozen II and Moana. You can reach him on Twitter via @rothgar</p>\n"}
0
目录
关闭