If pulumi operator pod/leader is restarted by any ...
# pulumi-kubernetes-operator
b
If pulumi operator pod/leader is restarted by any reason it may not remove lock for a stack. As a result next leader can not work with the locked stack. It makes operator unstable.
Copy code
error: could not create stack: the stack is currently locked by 1 lock(s). Either wait for the other process(es) to end or delete the lock file with `pulumi cancel`.
  <azblob://state/.pulumi/locks/pulumi-operator.dev.global/ab367336-f13c-4f77-9af0-1a5517b35a97.json>: created by pulumi-kubernetes-operator@pulumi-kubernetes-operator-6677a05e-5955496654-ps5t2 (pid 478) at 2022-10-27T20:36:29Z