eks-secret is the name of the secrets object, and pull-secret.txt is the pull secret downloaded in the previous step.
After the ACM Operator gets installed successfully, navigate to “Installed Operators” and select “Advanced Cluster Management for Kubernetes” as shown:
Click on “Create instance” for MultiClusterHub.
Expand “Advanced Configuration”. Scroll down to “Image Pull Secret” and search for the secret uploaded in the previous step (for example, eks-secret). Select this secret and hit “Create”.
Create an EKS cluster
Create a YAMIL file eks-cluster-1.21.yaml with the following information. Save it to your local machine.
apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: eks-cluster # EKS Cluster name region: us-east-2 # Region Code to place EKS Cluster version: "1.21" managedNodeGroups: - name: primary # Name of node group in EKS Cluster instanceType: t3.small # Instance type for node group desiredCapacity: 3 # Number of worker nodes- default is 2
Change the config parameter values according to your desired setting. There are many more configuration parameters, which you can find if you type eksctl create cluster –help.
Run the following command, which was used to create an EKS cluster.