Remove long horn notes, installing it blew something up, and I don't like the idea of not knowing where my files are...
This commit is contained in:
parent
3465fd1d5b
commit
9455a4b2b1
30
notes.md
30
notes.md
|
|
@ -204,36 +204,6 @@ tkn pr describe --namespace j7s-ci --last -o jsonpath="{.metadata.annotations.ch
|
||||||
tkn pr describe --namespace j7s-ci --last -o jsonpath="{.metadata.annotations.chains\.tekton\.dev/payload-pipelinerun-$TASKRUN_UID}" | base64 -d > payload
|
tkn pr describe --namespace j7s-ci --last -o jsonpath="{.metadata.annotations.chains\.tekton\.dev/payload-pipelinerun-$TASKRUN_UID}" | base64 -d > payload
|
||||||
```
|
```
|
||||||
|
|
||||||
## Longhorn
|
|
||||||
|
|
||||||
Postgres did not like NFS show I'm trying Longhorn.
|
|
||||||
Added Centos Node to cluster. Disabled firewalld and selinux...
|
|
||||||
|
|
||||||
Label k3s-nfs for storage using longhorn:
|
|
||||||
```
|
|
||||||
kubectl label nodes k3s-nfs node.longhorn.io/create-default-disk=true
|
|
||||||
```
|
|
||||||
Install longhorn using helm and only putting storage on disk with that
|
|
||||||
label:
|
|
||||||
```
|
|
||||||
helm repo add longhorn https://charts.longhorn.io
|
|
||||||
helm repo update
|
|
||||||
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --set defaultSettings.createDefaultDiskLabeledNodes=true
|
|
||||||
```
|
|
||||||
On rhel nfs host:
|
|
||||||
```
|
|
||||||
sudo dnf install libiscsi iscsi-initiator-util
|
|
||||||
sudo su
|
|
||||||
echo "InitiatorName=$(/sbin/iscsi-iname)" > /etc/iscsi/initiatorname.iscsi
|
|
||||||
systemctl enable iscsid
|
|
||||||
systemctl start iscsid
|
|
||||||
```
|
|
||||||
On all nodes:
|
|
||||||
```
|
|
||||||
sudo apt install open-iscsi
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
# Future Ideas
|
# Future Ideas
|
||||||
|
|
||||||
If we later want to do this on an overlay network:
|
If we later want to do this on an overlay network:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue