Why do my inbound rules keep resetting

Posted October 14, 2019 1.8k views
KubernetesDigitalOcean Cloud Firewalls

I have created a Kubernetes Cluster.
All works fine, however I needed to add an inbound rule to the firewall that it created in order to allow HTTPS.

But after a while my rules keep resetting and my added HTTPS rule disappears.

Why does this happen?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi there!

The cloud resources(volumes/Load Balancers/Firewall) created by DOKS are not intended to be manually modified/renamed. If there are manual modifications made to a cloud resource’s settings, the reconciler will overwrite them. What you can do is layer another firewall applying to the same machines, and allow the port you want. This works because our firewalls are whitelist based.


John Kwiatkoski
Senior Developer Support Engineer

This great answer on Stackoverflow solved this for me. This should be a tutorial on DO as its the right way to setup external DNS with firewall control.