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

Write an ADR about rolling restart #3358

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Conversation

georgethebeatle
Copy link
Member

Is there a related GitHub Issue?

No

What is this change about?

Introduce an ADR about rolling restarts. This is needed because of the confusing nature of app restarts in Korifi and its implications throughout the code base

Does this PR introduce a breaking change?

No

Acceptance Steps

N/A

Tag your pair, your PM, and/or team

@cloudfoundry/wg-cf-on-k8s

danail-branekov
danail-branekov previously approved these changes Jul 1, 2024

## Context

The purpose of this ADR is to capture important architectural decisions made when introducing no-donwtime restart and restage by implementing some of the [`/v3/deployments`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#deployments) endpoints so that `cf restart/restage --strategy=rolling` commands are supported. This ADR comes after the fact in order to eliminate future confusion when reasoning about app revision annotations. It is closely related to ADR [#0011](0011-document-cf-restart-implementation.md) that documents the implementation of plain `cf restart` with downtime and patrly overlaps with it to reflect changes in the underlying Korifi CRDs that have been made since the publising of that ADR.
Copy link
Contributor

Choose a reason for hiding this comment

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

patrly -> partly (?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed - thanks @gogolok

@danail-branekov danail-branekov enabled auto-merge (rebase) July 1, 2024 11:51
@danail-branekov danail-branekov force-pushed the wip-adr-rolling-restart branch from 2440751 to 3339693 Compare July 3, 2024 08:59
Co-authored-by: Danail Branekov <[email protected]>
Co-authored-by: Georgi Sabev <[email protected]>
@danail-branekov danail-branekov force-pushed the wip-adr-rolling-restart branch from 3339693 to 93e21d9 Compare July 3, 2024 12:59
@danail-branekov danail-branekov merged commit 7e28127 into main Jul 3, 2024
11 checks passed
@danail-branekov danail-branekov deleted the wip-adr-rolling-restart branch July 3, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants