-
Notifications
You must be signed in to change notification settings - Fork 263
Use StatefulSet instead of Deployment #354
Use StatefulSet instead of Deployment #354
Conversation
Thanks for the PR! I need some time to digest this change. Sorry for the delayed response. |
All good @functicons tell me if there is anything you want to discuss. |
Sorry for the delayed response, I was super busy this week. I left some comments in #353, let's first discuss it there. Thanks! |
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.
Could you also add the new fields in the CRD doc and add a how to section for your use case in the user guide?
@functicons Changed, sorry for the delay. |
Yes, I think it is better to update all of them. |
Done |
/gcbrun |
@functicons I missed the review about CRD and doc, added them now. let me know if there is something else you want me to do before merging this. |
@shashken Can you please also add example sample Flink jobs and deployment involving RocksDB as state backend an SSD to config samples? This will be helpful!. |
Could you sync your repo and resolve the conflicts? @shashken |
# Conflicts: # controllers/flinkcluster_converter.go # controllers/flinkcluster_observer.go # controllers/flinkcluster_reconciler.go # controllers/flinkcluster_util_test.go
@functicons resolved conflicts, please verify as the last PR merged today was a big one. |
/gcbrun |
@shashken I have tested the PR, it worked perfectly, thanks! |
Looks like the current examples are not compatible with this PR. I am getting the following error:
|
Use StatefulSet instead of Deployment (GoogleCloudPlatform#354)
@shashken @functicons Can you add examples - Sample Stateful Flink jobs and deployment involving RocksDB as state backend and SSD to config samples? More examples are better for adoption of operator |
@shashken @functicons Would the latest operator image v1beta1-8 on gcr.io support the changes made to use StatefulSets? Looks like there are still references to Deployment when using the sample configs for the job and session clusters. |
@gshen92 I dont know how or when those images are built, you can build the docker image from the master branch and upload to your container registry for now to see that it works :) |
@functicons .
Closes #353