WLO/OLO has a new feature to create host aliases. After testing this feature, I wanted to remove this stanza to bring application back to original settings. I noticed that the StatefulSet and pods still had those values.
Leo verified that the problem also exists when Deployment is used.
I removed this stanza from app deployment but pods still were have it in /etc/hosts.
hostAliases:
- hostnames:
- qs-db2
ip: 9.30.249.251
I had to delete the Statefulset for these values to take effect. Updates should be propagated automatically.
WLO/OLO has a new feature to create host aliases. After testing this feature, I wanted to remove this stanza to bring application back to original settings. I noticed that the StatefulSet and pods still had those values.
Leo verified that the problem also exists when Deployment is used.
I removed this stanza from app deployment but pods still were have it in /etc/hosts.
I had to delete the Statefulset for these values to take effect. Updates should be propagated automatically.