|
|
7 months ago | |
|---|---|---|
| .. | ||
| Resource-AWS | 7 months ago | |
| auth | 7 months ago | |
| longhorn-ui-Ingress.yaml | 7 months ago | |
| readme.md | 7 months ago | |
| storageclass.yaml | 7 months ago | |
| values.1.4.0.yaml | 7 months ago | |
| values.yaml | 7 months ago | |
readme.md
Installation Requirements
Instalar en nodes:
apt-get install open-iscsi
apt-get install nfs-common
Install Helm
helm repo add longhorn https://charts.longhorn.io
helm install longhorn longhorn/longhorn --namespace longhorn-system --values values.yaml
helm upgrade longhorn longhorn/longhorn --namespace longhorn-system --values values.yaml
Create secret and Ingress
USER=sapian; PASSWORD=0akcMdI8rX; echo "{USER}:(openssl passwd -stdin -apr1 <<< ${PASSWORD})" >> auth
kubectl -n longhorn-system create secret generic basic-auth --from-file=auth
kubectl apply -f longhorn-ui-Ingress.yaml
Create StoreClass
kubectl apply -f storageclass.yaml
AWS SECRET
kubectl create secret generic longhorn-fenalco-sapian-cloud-s3-aws-secret
--from-literal=AWS_ACCESS_KEY_ID=AKIAVWWRY6JXESBPPBOC
--from-literal=AWS_SECRET_ACCESS_KEY=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
-n longhorn-system