1 year ago

#204410

test-img

vijay

Access Denied while communicating between pods in AWS kops kubernetes

We want to communicate between the two pods that are deployed on AWS kops Kubernetes.

Pods are deployed with spring boot microservices. Trying to call an endpoint of one microservice from the other microservice that is deployed on the pod. But while accessing the endpoint we are getting access denied error,

[reactor-http-epoll-3] INFO  WebClientExceptionHandler:29 - [pod1] Handle 4xx error.
[reactor-http-epoll-3] ERROR WebClientExceptionHandler:32 - {"timestamp":1644985441996,"status":403,"error":"Forbidden","message":"Access Denied","path":"/pod2 endpoint"}

We have created ServiceAccount for the authentication for communicating between pods using delault namespace.

amazon-web-services

kubernetes

kops

0 Answers

Your Answer

Accepted video resources