I am new to this platform and this is my second question. For one month, I have been trying to set up a Kubernetes cluster using AWS unsuccessfully. But every day, I get a new error, but this time, I could not solve this error.
I am using Kali Linux in Virtual Box with Windows as a host. I am following a tutorial from Udemy for the setup.
I have installed Kops, Kubectl, and AWSCli successfully.
I have configured the keys correctly, using AWS configure (For learning purpose, I have given my user full administrator rights)
I created the S3 bucket (Gave it public access)
Now to create the hosted zone, I used AWS Route 53. Here are specs of my hosted zone
Since, I do not have a domain, I bought a free subdomain from freenom.com and configured the nameservers correctly. Free domain configuration
After that, I created a pair of keys using ssh-keygen for logging in to the cluster.
In the end, I am running this command,
kops create cluster --name=kubernetes.hellaswell.ml --state=s3://kops-state-crap --zones=eu-west-1a --node-count=2 --node-size=t2.micro --master-size=t2.micro --dns-zone=kubernetes.hellaswell.ml 1 ⚙
I0418 22:49:10.855151 12216 new_cluster.go:238] Inferred "aws" cloud provider from zone "eu-west-1a"
I0418 22:49:10.855313 12216 new_cluster.go:962] Cloud Provider ID = aws
I0418 22:49:12.604015 12216 subnets.go:180] Assigned CIDR 172.20.32.0/19 to subnet eu-west-1a
unable to determine machine architecture for InstanceGroup "master-eu-west-1a": unsupported architecture for instance type "t2.micro": i386
These instance types should now be supported by kOps if there are 64-bit variabts available.
The fix can be found here: https://github.com/kubernetes/kops/pull/11463