简体   繁体   中英

How to block traffic to a Kubernetes pod without using network policies

I want to momentarily disconnect the connection to couchbase pod running inside aws. AWS does not support network policies by default because of this I cannot use the network policies. I tried modifying the route inside the pod using route command I am getting operation not permitted for this. Is there a way to block the traffic to a pod using some other mechanism?

好吧,您可以暂时删除您的服务 couchbase 服务对象,然后再次应用它...

Take a look at Istio its got a bunch of features you will likely need at some point on your adventures.

https://istio.io/latest/docs/reference/config/networking/service-entry/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM