Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Environment degrade on image update #1

Open
lnetrebskii opened this issue Jun 2, 2020 · 1 comment
Open

Environment degrade on image update #1

lnetrebskii opened this issue Jun 2, 2020 · 1 comment

Comments

@lnetrebskii
Copy link
Contributor

lnetrebskii commented Jun 2, 2020

Steps to reproduce:

  1. Update image name or tag in the kustomization "/platform-app/overlays/dev/kustomization.yaml"
  2. Wait for synchronization

Actual result:
Error appears
FailedAttachVolume Multi-Attach error for volume "pvc-9816f174-2741-4569-9f1f-f922441bb720" Volume is already used by pod(s) platform-platform-55656b86ff-8t9xr

Expected result:
Container with the new image is started and the previous one has dropped

@Woland2k
Copy link
Contributor

Woland2k commented Jun 3, 2020

This is due to the usage of azure-disk as Persistent Volume. It only supports one mount at a time and since other POD Is still running it can't mount it. The reason I used azure-disk is that it is faster/cheaper than azurefiles (used for cms modules). Ideally we should switch to node based storage providers, for instance https://github.com/cybozu-go/topolvm or something similar.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants