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

FailedAttachVolume with K8s backend in GKE Autopilot #4795

Open
3 tasks done
xarlybovi opened this issue Jan 31, 2025 · 0 comments
Open
3 tasks done

FailedAttachVolume with K8s backend in GKE Autopilot #4795

xarlybovi opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@xarlybovi
Copy link

Component

agent

Describe the bug

Due to the nature of the GKE Autopilot cluster and my budget limit I have to configure the storage as RWO. The problem is that several pods can potentially be created at different nodes. This causes the volume not to be released until the pod of the corresponding step is finished.
In case is a service pod that does not terminate until the end of the workflow it can have the volume forever and end up giving timeout.
Would it be possible not to mount volume in the services?

Steps to reproduce

  1. Install Woodpecker CI server and kubernetes backend agents with the helm chart.
  2. Run a repo pipeline with parallel steps and a service.

Expected behavior

I would like the workflow not to get stuck when a service attaches the volume. We could avoid this by making it optional to mount the volume on the service.

System Info

Woodpecker CI 3.0.1
GKE Autopilot 1.30.8-gke

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
@xarlybovi xarlybovi added the bug Something isn't working label Jan 31, 2025
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

1 participant