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

Move to using k8s StatefulSets when deploying instances #82

Open
2 tasks
knolleary opened this issue Apr 27, 2023 · 1 comment
Open
2 tasks

Move to using k8s StatefulSets when deploying instances #82

knolleary opened this issue Apr 27, 2023 · 1 comment
Labels
size:S - 2 Sizing estimation point

Comments

@knolleary
Copy link
Member

We currently create a k8s Deployment when deploying a Node-RED instance in the platform.

As part of the roadmap to HA (see FlowFuse/flowfuse#1920) we need to migrate to using StatefulSets. This will allows us to run two copies of the instance in an active/stand-by configuration.

We only recently moved to using Deployments rather than bare pods, so already have some code in place to deal with migration as instances are suspended/resumed.

For this task the requirements are:

  • Any new instance should be created as a StatefulSet
  • Existing instances, whether still a bare pod or deployment, should get recreated as a StatefulSet when it is next suspended/resumed
@knolleary knolleary added the size:S - 2 Sizing estimation point label Apr 27, 2023
@MarianRaphael MarianRaphael added this to the 1.7 milestone May 4, 2023
@knolleary knolleary modified the milestones: 1.7, 1.8 May 5, 2023
@knolleary
Copy link
Member Author

With the refocus on scaling, this task isn't required in 1.8 and can be pushed back to when we want to consider active/standby failover of instances.

@knolleary knolleary removed this from the 1.8 milestone May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S - 2 Sizing estimation point
Projects
Status: Medium
Development

No branches or pull requests

2 participants