Skip to content

preGA WLO 1.6.0 - removing hostAliases from app deployment not getting propagated #846

@mtamboli

Description

@mtamboli

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions