Error saying Please specify AWS IMAGE directly region not recognized

0 votes

Creating Kubernetes cluster in AWS cloud ap-northeast-2 region is throwing "Please specify AWS_IMAGE directly (region not recognized)" message.

Tried by setting the zone "export KUBE_AWS_ZONE="ap-northeast-2a"". But still fails to create.

[root@ip-172-31-29-160 cluster]# export KUBE_AWS_ZONE="ap-northeast-2a"
[root@ip-172-31-29-160 cluster]# ./kube-up.sh
*********************************************************
ZONE: ap-northeast-2a
REGION: ap-northeast-2
*********************************************************
... Starting cluster using provider: aws
... calling verify-prereqs
... calling kube-up
Starting cluster using os distro: vivid
Please specify AWS_IMAGE directly (region not recognized)
[root@ip-172-31-29-160 cluster]#

kubernetes/cluster/aws/config-default.sh

ZONE=${KUBE_AWS_ZONE:-ap-northeast-2a}
MASTER_SIZE=${MASTER_SIZE:-t2.large}
MINION_SIZE=${MINION_SIZE:-t2.large}
NUM_MINIONS=${NUM_MINIONS:-1}
Oct 10, 2018 in Kubernetes by lina
• 8,220 points

retagged Nov 12, 2018 by Kalgi 616 views

1 answer to this question.

0 votes

This is happening because some regions are not recognized by Kubernetes, so manually we need to export the image name.

export AWS_IMAGE=ami-a39oi23
answered Oct 10, 2018 by Kalgi
• 52,360 points

Related Questions In Kubernetes

0 votes
2 answers

Error saying “Error from server (NotFound): the server could not find the requested resource”

official Documentation says: A client should be skewed ...READ MORE

answered Sep 19, 2018 in Kubernetes by Nilesh
• 7,050 points
4,046 views
0 votes
2 answers
0 votes
1 answer

Error saying "the program 'curl' is currently not installed"

Install curl using this command: apt-get update && ...READ MORE

answered Nov 23, 2018 in Kubernetes by Hannah
• 18,570 points
1,569 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,360 points
890 views
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 52,360 points
507 views
+1 vote
1 answer
0 votes
1 answer

Error saying "The specified bucket does not exist" in kubernetes

Bucket is created in another region. Looks like ...READ MORE

answered Aug 31, 2018 in Kubernetes by Kalgi
• 52,360 points
3,768 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP