digitalocean / k8s-staticroute-operator

Create static routes for your k8s nodes using CRDs.
52 stars 11 forks source link

The route table forwarded all packets regardless of the inbound and the outbound to the NAT gateway side #30

Open ercansayici opened 1 year ago

ercansayici commented 1 year ago

Hi Thank yo sou much for this article, it is really what I need. but I have some issue with it. I applied the all steps in the article you shared. I defined the route tables to have all CloudFlare IP ranges and point the NAT gateway if the packet matches with them in order to forward the traffic through the NAT gateway when the services are connecting to the another cluster API, which is using CloudFlare. We expected the route table to only affect the outbound packets, but it started to affect the inbound traffic too.

As a result, it was giving a timeout from Cloudflare-enabled services API URLs. Instead of processing the packets on the server level directly, the route table forwarded all packets regardless of the inbound and the outbound to the NAT gateway side. do you have any idea about the solving the issue? Regards

Here is the my public-egress-example.yaml file: apiVersion: networking.digitalocean.com/v1 kind: StaticRoute metadata: name: public-egress spec: destinations: