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

Convert boskos deployment to a statefulset #4589

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

msau42
Copy link
Member

@msau42 msau42 commented Sep 15, 2017

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.

@msau42 msau42 requested a review from krzyzacy as a code owner September 15, 2017 18:03
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 15, 2017
@msau42
Copy link
Member Author

msau42 commented Sep 15, 2017

/assign @krzyzacy @foxish

@msau42
Copy link
Member Author

msau42 commented Sep 15, 2017

For #4571

accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
# Start of Deployment
apiVersion: extensions/v1beta1
kind: Deployment
apiVersion: apps/v1beta1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment above needs update

@@ -35,24 +38,24 @@ kind: PersistentVolumeClaim
metadata:
labels:
app: boskos
name: boskos-storage
name: boskos-volume-boskos-0
Copy link
Contributor

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

@msau42 msau42 force-pushed the convert-statefulset branch from 6e0af02 to 5e02981 Compare September 15, 2017 18:11
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 15, 2017
@msau42
Copy link
Member Author

msau42 commented Sep 15, 2017

Updated. The filename itself should also change but I wasn't sure if that would break any scripts.

@foxish
Copy link
Contributor

foxish commented Sep 15, 2017

lgtm. Thanks!

@krzyzacy
Copy link
Member

(deployed - looks working except that seems the cache saved inside previous pv is wiped? but seems it regenerated fine)

@msau42
Copy link
Member Author

msau42 commented Sep 15, 2017

Hm that shouldn't happen since the PV reclaim policy is retain.

@msau42 msau42 changed the title WIP Convert boskos deployment to a statefulset Convert boskos deployment to a statefulset Sep 15, 2017
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 15, 2017
@msau42
Copy link
Member Author

msau42 commented Sep 15, 2017

@krzyzacy if it works for you, then go ahead and merge this when you're ready.

@krzyzacy
Copy link
Member

/lgtm

I'll watch the cache issue next time we redeploy. Huge thanks!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 15, 2017
@krzyzacy krzyzacy merged commit 38af22e into kubernetes:master Sep 15, 2017
@msau42 msau42 deleted the convert-statefulset branch September 29, 2017 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants