-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Convert boskos deployment to a statefulset #4589
Conversation
For #4571 |
boskos/deployment.yaml
Outdated
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
--- | ||
# Start of Deployment | ||
apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
apiVersion: apps/v1beta1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment above needs update
boskos/deployment.yaml
Outdated
@@ -35,24 +38,24 @@ kind: PersistentVolumeClaim | |||
metadata: | |||
labels: | |||
app: boskos | |||
name: boskos-storage | |||
name: boskos-volume-boskos-0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this anymore because the StatefulSet controller will stamp out a PVC
6e0af02
to
5e02981
Compare
Updated. The filename itself should also change but I wasn't sure if that would break any scripts. |
lgtm. Thanks! |
(deployed - looks working except that seems the cache saved inside previous pv is wiped? but seems it regenerated fine) |
Hm that shouldn't happen since the PV reclaim policy is retain. |
@krzyzacy if it works for you, then go ahead and merge this when you're ready. |
/lgtm I'll watch the cache issue next time we redeploy. Huge thanks! |
I only tested creating the statefulset + volumes to make sure the names are correct and it mounts properly. But I haven't done any e2e testing to determine if there's anything else that needs to be updated.