Skip to content

proper way to restart Zookeeper #625

Open
@rifler

Description

@rifler

Hello!

We are using Istio and from time to time we need to restart deployments/sts/daemonsets under Istio contol, for instance while upgrading to new major Istio version. We need it to apply new version of Istio sidecar, which is added via webhook.

I noticed that I can't restart zookeeper just via kubectl rollout statefulset/zookeeper -n my-namespace, because Operator denied it.

I used to add new env variable DO_RESTART: "1" to ZookeeperCluster, but it is a bit awkward, cause in next helm upgrade it will also restart for no reason (because there is no such env variable).

Now I come to conclusion to scale down operator, then kubectl rollout restart zookeeper, then scale up operator back.

Maybe there is easier way to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions