Skip to content

[Kubernetes] Introduce on-prem persistent Storage (Longhorn) 🎉 #979

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

Merged

Conversation

YuryHrytsuk
Copy link
Collaborator

@YuryHrytsuk YuryHrytsuk commented Mar 4, 2025

What do these changes do?

Introduce storage for on premise deployment: Longhorn.io. This lets us running (as-of-now) non-critical services with data volumes without binding these services to any particular node (Longhorn will replicate data volumes across multiple nodes)

Extra features

Documentation

Warnings ⚠️

  • this storage should NOT be used for volumes of critical services (e.g. Databases). Refer to README.md for more information.

FYI: @matusdrobuliak66 @sanderegg

ToDo

Related issue/s

Related PR/s

Relevant [info] resources

Checklist

General:

  • I tested and it works

New Stack:

  • The Stack has been included in CI Workflow

New Service:

  • Service has resource limits and reservations
  • Service has placement constraints or is global --> it is global
  • Service is restartable
  • Service restart is zero-downtime
  • Service is not bound to one specific node (e.g. via files or volumes)
  • Relevant OPS E2E Test are added
  • Service's Public URL is included in maintenance mode --> no maintenance mode for Kubernetes as of now

@YuryHrytsuk YuryHrytsuk self-assigned this Mar 4, 2025
@YuryHrytsuk YuryHrytsuk changed the title [Kubernetes Persistent Storage] Introduce longhorn chart [Kubernetes] On-prem Persistent Storage: Introduce longhorn chart Mar 5, 2025
@YuryHrytsuk YuryHrytsuk marked this pull request as ready for review May 5, 2025 14:50
@YuryHrytsuk YuryHrytsuk requested a review from mrnicegyu11 as a code owner May 5, 2025 14:50
@YuryHrytsuk YuryHrytsuk force-pushed the kubernetes-introduce-longhorn branch from 47dc79c to a726c66 Compare May 6, 2025 06:38
@YuryHrytsuk YuryHrytsuk changed the title [Kubernetes] On-prem Persistent Storage: Introduce longhorn chart [Kubernetes] Introduce on-prem Persistent Storage (Longhorn) May 6, 2025
@YuryHrytsuk YuryHrytsuk changed the title [Kubernetes] Introduce on-prem Persistent Storage (Longhorn) [Kubernetes] Introduce on-prem Persistent Storage (Longhorn) 🎉 May 6, 2025
@YuryHrytsuk YuryHrytsuk added this to the Bazinga! milestone May 6, 2025
@YuryHrytsuk YuryHrytsuk added the t:enhancement New feature or request label May 6, 2025
@YuryHrytsuk YuryHrytsuk changed the title [Kubernetes] Introduce on-prem Persistent Storage (Longhorn) 🎉 [Kubernetes] Introduce on-prem persistent Storage (Longhorn) 🎉 May 6, 2025
Copy link
Member

@mrnicegyu11 mrnicegyu11 left a comment

Choose a reason for hiding this comment

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

thanks lgtm, some minor comments

@YuryHrytsuk YuryHrytsuk requested a review from mrnicegyu11 May 6, 2025 12:15
@YuryHrytsuk YuryHrytsuk merged commit 7ef699b into ITISFoundation:main May 6, 2025
3 checks passed
@YuryHrytsuk YuryHrytsuk deleted the kubernetes-introduce-longhorn branch May 6, 2025 12:57
mrnicegyu11 pushed a commit to mrnicegyu11/osparc-ops-environments that referenced this pull request May 9, 2025
…oundation#979)

* Introduce longhorn chart

* Further longhorn configuration

* Longhorn: further settings configuration

* Fix longhorn configuration bugs

Extra: introduce longhorn pv vales for portainer

* Add comment for deletion longhorn

* Further longhorn configuration

* Add README.md for Longhorn wit FAQ

* Update Longhorn readme

* Update readme

* Futher LH configuration

* Update LH's Readme

* Update Longhorn Readme

* Improve LH's Readme

* LH: Reduce reserved default disk space to 5%

Since we use a dedicated disk for LH, we can go ahead with 5%

* Use values to set Longhorn storage class

* Update LH's Readme

* LH Readme: add requirements reference

* PR Review: bring back portainer s3 pv

* LH: decrease portinaer volume size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes: introduce first prod-ready on-premise PV
2 participants