Skip to content

Operator keeps recreating sts / restarting pods (environment does not match) #1

@bumarcell

Description

@bumarcell

Thanks a lot for your work, it has benefited us a lot.

We do have one problem tho, which might be caused by some operator bug, but I thought I would ask here;
After having added log-exporter sidecare (including the NODE_NAME env from fieldRef, the operator keeps recreating the statefulset with every reconciliation after show the following log:
level=info msg="reason: new statefulset containers's log-exporter (index 2) environment does not match the current one" cluster-name=test-postgres pkg=cluster

Removing the env definition from sidecar stops this behavior.

Have you seen this before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions