-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from scality/flat_config_storage
Flatten persistent storage configuration
- Loading branch information
Showing
26 changed files
with
532 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
Storage Architecture | ||
==================== | ||
|
||
MetalK8s current strage architecture rely on local storage, configured with LVM | ||
for its purpose. | ||
|
||
A default setup, satisfying the storage needs of MetalK8s is automatically | ||
setup by default and can be easily extended through the various configuration | ||
items exposed by the tool. | ||
|
||
Glossary | ||
######## | ||
|
||
* LVM PV: The LVM Physical Volume. This is the disk or the partition provided | ||
to LVM to create the LVM Volume Group | ||
* LVM VG : The LVM Volume Group. This is the logical unit of LVM aggregating | ||
the LVM Physical Volumes into one single logical entity | ||
* LVM LV: A Logical Volume. This is where the filesystem will be created. | ||
Several LVM LVs can be created on a single LVM VG | ||
* PV : Kubernetes Persistent Volume. This is what will be consumed by a | ||
Persistent Volume Claim for the Kubernetes storage needs | ||
* PVC : Kubernetes Persisten Volume Claim | ||
|
||
|
||
Goal | ||
#### | ||
|
||
MetalK8s provides a functional Kubernetes cluster with some opinionated | ||
deployment for the monitoring and logging aspect. | ||
These deployments require storage, but we wanted to provide an easy way for | ||
the end user to add it's own configuration | ||
|
||
As the deployment of Kubernetes on premise is focused on dedicated hardware, | ||
Logical Volume Manager (LVM) has been chosen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
- hosts: kube-node | ||
- hosts: kube-master | ||
tags: | ||
- lvm-storage | ||
- kube-pv | ||
roles: | ||
- role: kube_lvm_storage | ||
- role: kube_lvm_storageclass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
tags: | ||
- lvm-storage | ||
roles: | ||
- role: setup_lvm | ||
- role: setup_lvm_vg | ||
- role: setup_lvm_lv |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.