Get Started With EKS-D at the Speed of Light With Kubermatic KubeOne

Today Amazon announced Amazon EKS Distro (EKS-D), a Kubernetes distribution based on and used by Amazon EKS. Amazon EKS Distro enables operators to create reliable and secure Kubernetes clusters using the same versions of Kubernetes and its dependencies deployed by Amazon EKS. As an AWS partner, we are proud that our open source cluster lifecycle management tool Kubermatic KubeOne is part of the first batch of distributions to offer out-of-the-box support for Amazon EKS Distro. Thanks to Kubermatic KubeOne’s Terraform integration and ease of use, users can install EKS Distro on AWS and Amazon Linux 2 with minimal operational effort.  


This is a companion discussion topic for the original entry at https://www.kubermatic.com/blog/get-started-with-eks-d-at-the-speed-of-light-with-kubermatic-kubeone/
2 Likes

Great post. Tried deploying several times, but always ended up in same place. After running kubeone apply ... I receive the following error:

INFO[05:31:19 UTC] Ensuring Certificates...                      node=172.31.157.196  
WARN[05:31:19 UTC] Task failed, error was: + export PATH=/usr/local/bin:/usr/bin:/sbin:/usr/local/bin:/opt/bin  
+ PATH=/usr/local/bin:/usr/bin:/sbin:/usr/local/bin:/opt/bin  
+ [[ -d ./kubeone/pki ]]  
+ sudo kubeadm init phase certs all --config=./kubeone/cfg/master_0.yaml  
/bin/kubeadm: /bin/kubeadm: cannot execute binary file  
: Process exited with status 126 
WARN[05:31:29 UTC] Retrying task... 

It appears something is not working on the first cluster instance attempting to run kubeadm. Any idea what could be causing this?

It looks like there’s something wrong with your config, please share it so we could verify it.

Here is my kubeone.yaml file. Apologize, the formatting didn’t quite copy over exactly.

apiVersion: kubeone.io/v1beta1
kind: KubeOneCluster
versions:
kubernetes: “v1.18.9-eks-1-18-1”
cloudProvider:
aws: {}
assetConfiguration:
kubernetes:
imageRepository: “public.ecr.aws/eks-distro/kubernetes”
pause:
imageRepository: “public.ecr.aws/eks-distro/kubernetes”
imageTag: “v1.18.9-eks-1-18-1”
etcd:
imageRepository: “public.ecr.aws/eks-distro/etcd-io”
imageTag: “v3.4.14-eks-1-18-1”
coreDNS:
imageRepository: “public.ecr.aws/eks-distro/coredns”
imageTag: “v1.7.0-eks-1-18-1”
metricsServer:
imageRepository: “public.ecr.aws/eks-distro/kubernetes-sigs”
imageTag: “v0.4.0-eks-1-18-1”
cni:
url: “https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/plugins/v0.8.7/cni-plugins-linux-arm64-v0.8.7.tar.gz
nodeBinaries:
url: “https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/kubernetes-node-linux-arm64.tar.gz
kubectl:
url: “https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/arm64/kubectl