-
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.
docs: Add documentation about LVM LogicalVolume volumes
Add some documentation about how to create LVM LogicalVolume volumes from the CLI and explanation about fields Refs: #1997
- Loading branch information
1 parent
d87e0eb
commit 2e66c69
Showing
5 changed files
with
199 additions
and
73 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
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-prometheus | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
rawBlockDevice: # Choose a device with at least 10GiB capacity | ||
devicePath: <device_path> | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'prometheus-operator-prometheus' | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-alertmanager | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
rawBlockDevice: # Choose a device with at least 1GiB capacity | ||
devicePath: <device_path2> | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'prometheus-operator-alertmanager' | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-loki | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
rawBlockDevice: # Choose a device with at least 10GiB capacity | ||
devicePath: <device_path3> | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'loki' |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-prometheus | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
lvmLogicalVolume: | ||
vgName: <vg_name> # Choose an existing LVM VolumeGroup | ||
size: 10Gi # Prometheus LogicalVolume should have at least 10GiB capacity | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'prometheus-operator-prometheus' | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-alertmanager | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
lvmLogicalVolume: | ||
vgName: <vg_name> # Choose an existing LVM VolumeGroup | ||
size: 10Gi # Alertmanager LogicalVolume should have at least 1GiB capacity | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'prometheus-operator-alertmanager' | ||
--- | ||
apiVersion: storage.metalk8s.scality.com/v1alpha1 | ||
kind: Volume | ||
metadata: | ||
name: <node_name>-loki | ||
spec: | ||
nodeName: <node_name> | ||
storageClassName: metalk8s | ||
lvmLogicalVolume: | ||
vgName: <vg_name> # Choose an existing LVM VolumeGroup | ||
size: 10Gi # Loki LogicalVolume should have at least 10GiB capacity | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: 'loki' |