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

modify deployment and chart for opionated deployment #141

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

Mercwri
Copy link
Contributor

@Mercwri Mercwri commented Jan 26, 2024

Context

It is relatively unsafe with the way Palworld handles it's server terminations to leave the default deployment setting of RollingUpdate. Switching to Recreate ensures the old pod is terminated and not writting to the volume while the new pod is starting.

Choices

Opionated change is done in the suggested deployment yaml and the chart sets Recreate by default but leave it a configurable option.

Test instructions

Deployed to my local cluster, valiadate that deployment still works and that it terminates the pod prior to scheduling the new pod.

Checklist before requesting a review

  • I have performed a self-review of my code
  • I've added documentation about this change to the README.
  • I've not introduced breaking changes.

@thijsvanloef thijsvanloef added help wanted Extra attention is needed kubernetes Issue/PR related to Kubernetes labels Jan 26, 2024
@thijsvanloef
Copy link
Owner

Hi @Mercwri Thanks for taking the time to create this PR, i've marked it "help wanted" as I am currently not able to test it myself

Copy link
Contributor

@Filipe-Souza Filipe-Souza left a comment

Choose a reason for hiding this comment

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

After moving the property OK
Screenshot 2024-01-26 224618

chart/templates/deployments.yaml Show resolved Hide resolved
@thijsvanloef thijsvanloef merged commit c676c1c into thijsvanloef:main Jan 28, 2024
4 checks passed
MusclePr pushed a commit to MusclePr/palworld-server-docker that referenced this pull request Jun 19, 2024
…ication

modify deployment and chart for opionated deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kubernetes Issue/PR related to Kubernetes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants