Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm upgrade not working for frontend pod #32

Open
ToshKoevoets opened this issue Jun 22, 2020 · 0 comments
Open

Helm upgrade not working for frontend pod #32

ToshKoevoets opened this issue Jun 22, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ToshKoevoets
Copy link
Collaborator

ToshKoevoets commented Jun 22, 2020

Helm upgrade not working for frontend pod:

Normal   Scheduled           <unknown>  default-scheduler              Successfully assigned openstad/openstad-frontend-6c8678f478-xftql to pool-r6z6wlphk-3y8ls
 Warning  FailedAttachVolume  5m5s       attachdetach-controller        Multi-Attach error for volume "pvc-e5ccf02b-e1b5-48bf-8b76-37e75048b49a" Volume is already used by pod(s) openstad-frontend-749f6cfff7-pwnzd
 Warning  FailedAttachVolume  5m5s       attachdetach-controller        Multi-Attach error for volume "pvc-25965cae-3c90-45b0-a5d0-1b716e910647" Volume is already used by pod(s) openstad-frontend-749f6cfff7-pwnzd
 Warning  FailedMount         3m3s       kubelet, pool-r6z6wlphk-3y8ls  Unable to attach or mount volumes: unmounted volumes=[data-vol data-uploads], unattached volumes=[default-token-ndknf data-vol data-uploads]: timed out waiting for the condition
 Warning  FailedMount         46s        kubelet, pool-r6z6wlphk-3y8ls  Unable to attach or mount volumes: unmounted volumes=[data-vol data-uploads], unattached volumes=[data-vol data-uploads default-token-ndknf]: timed out waiting for the condition

I fixed it now locally by changing strategy to recreate, but would be prefer default strategy since this creates downtime of 1 to 2 minutes


spec:
  replicas: {{ .Values.frontend.replicas }}
  strategy:
    type: Recreate

@ghost ghost assigned ghost and Ardolynk and unassigned ghost Jun 22, 2020
@ghost ghost added the bug Something isn't working label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants