Error saying make bucket failed - Kubernetes AWS

0 votes

My Kubernetes cluster is up and running. I've created the cluster on AWS using kops. I tried executing the following command

aws s3 --endpoint http://localhost mb s3://bucket1 --region=us-east-1

And I ended up getting the following error:

make_bucket failed: s3://bucket1 An error occurred (InvalidAccessKeyId) when calling the CreateBucket operation: The AWS access key Id youprovided does not exist in our records.
Jan 4, 2019 in Kubernetes by Ali
• 11,360 points
1,335 views

1 answer to this question.

0 votes

Hey @Ali, what you are doing is partly correct but on kubernetes you cannot just access any port, you'll have to use port forwarding. Something like this:

kubectl port-forward <insert your cloudserver pod name> 8000:80

Or you can use Kubernetes Ingress to route the external traffic to your service. This can be done by specifying the IP address of the hostname configured.

answered Jan 4, 2019 by Olivia

Related Questions In Kubernetes

0 votes
1 answer
0 votes
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,350 points
4,115 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,350 points
1,402 views
+1 vote
1 answer
0 votes
2 answers
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