Modified several volumes
This commit is contained in:
parent
5538232c7a
commit
a6ba0c6037
17
README.md
17
README.md
@ -5,6 +5,23 @@
|
|||||||
|
|
||||||
# Kubernetes.K3s.installLog
|
# Kubernetes.K3s.installLog
|
||||||
*3 VM's provisioned with Ubuntu Server 18.04*
|
*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
|
## K3s cluster
|
||||||
On first node:
|
On first node:
|
||||||
|
@ -45,6 +45,8 @@ spec:
|
|||||||
name: longhorn-plex-config
|
name: longhorn-plex-config
|
||||||
- mountPath: /data/series
|
- mountPath: /data/series
|
||||||
name: flexvolsmb-pvr-series
|
name: flexvolsmb-pvr-series
|
||||||
|
- mountPath: /data/songs
|
||||||
|
name: flexvolsmb-pvr-songs
|
||||||
- mountPath: /data/movies
|
- mountPath: /data/movies
|
||||||
name: flexvolsmb-pvr-movies
|
name: flexvolsmb-pvr-movies
|
||||||
- mountPath: /transcode
|
- mountPath: /transcode
|
||||||
@ -56,6 +58,9 @@ spec:
|
|||||||
- name: flexvolsmb-pvr-series
|
- name: flexvolsmb-pvr-series
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: flexvolsmb-pvr-series
|
claimName: flexvolsmb-pvr-series
|
||||||
|
- name: flexvolsmb-pvr-songs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: flexvolsmb-pvr-songs
|
||||||
- name: flexvolsmb-pvr-movies
|
- name: flexvolsmb-pvr-movies
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: flexvolsmb-pvr-movies
|
claimName: flexvolsmb-pvr-movies
|
||||||
@ -100,4 +105,4 @@ spec:
|
|||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 5Gi
|
||||||
|
@ -115,7 +115,7 @@ spec:
|
|||||||
options:
|
options:
|
||||||
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,cache=none
|
opts: domain=bessems.eu,file_mode=0777,dir_mode=0777,iocharset=utf8,cache=none
|
||||||
server: 192.168.11.225
|
server: 192.168.11.225
|
||||||
share: /Public/Audio/temp
|
share: /Public/Audio/DeSchakel
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user