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 in Kubernetes by Ali
• 10,430 points
47 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 by Olivia

Related Questions In Kubernetes

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
• 42,410 points
444 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
• 42,410 points
75 views
0 votes
1 answer
0 votes
2 answers