Modified several volumes

This commit is contained in:
Danny Bessems 2020-12-15 19:54:02 +01:00
parent 5538232c7a
commit a6ba0c6037
3 changed files with 24 additions and 2 deletions

View File

@ -5,6 +5,23 @@
# Kubernetes.K3s.installLog
*3 VM's provisioned with Ubuntu Server 18.04*
<details><summary>additional lvm configuration</summary>
```code
pvdisplay
pvcreate /dev/sdb
vgdisplay
vgcreate longhorn-vg /dev/sdb
lvdisplay
lvcreate -l 100%FREE -n longhorn-lv longhorn-vg
ls /dev/mapper
mkfs.ext4 /dev/mapper/longhorn--vg-longhorn--lv
#! add "UUID=<uuid> /mnt/blockstorage ext4 defaults 0 0" to /etc/fstab
mkdir /mnt/blockstorage
mount -a
```
</details>
## K3s cluster
On first node:

View File

@ -45,6 +45,8 @@ spec:
name: longhorn-plex-config
- mountPath: /data/series
name: flexvolsmb-pvr-series
- mountPath: /data/songs
name: flexvolsmb-pvr-songs
- mountPath: /data/movies
name: flexvolsmb-pvr-movies
- mountPath: /transcode
@ -56,6 +58,9 @@ spec:
- name: flexvolsmb-pvr-series
persistentVolumeClaim:
claimName: flexvolsmb-pvr-series
- name: flexvolsmb-pvr-songs
persistentVolumeClaim:
claimName: flexvolsmb-pvr-songs
- name: flexvolsmb-pvr-movies
persistentVolumeClaim:
claimName: flexvolsmb-pvr-movies
@ -100,4 +105,4 @@ spec:
storageClassName: longhorn
resources:
requests:
storage: 1Gi
storage: 5Gi

View File

@ -115,7 +115,7 @@ spec:
options:
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,cache=none
server: 192.168.11.225
share: /Public/Audio/temp
share: /Public/Audio/DeSchakel
---
apiVersion: v1
kind: PersistentVolumeClaim