github.com/alibaba/sealer@v0.8.6-0.20220430115802-37a2bdaa8173/applications/longhorn/README.md (about) 1 # Overview 2 3 This image is based on kubernetes:v1.19.9, add longhorn to provide persistent-volume. 4 5 Components included in this image: 6 7 * Enterprise-grade distributed storage with no single point of failure 8 * Incremental snapshot of block storage 9 * Backup to secondary storage (NFSv4 or S3-compatible object storage) built on efficient change block detection 10 * Recurring snapshot and backup 11 * Automated non-disruptive upgrade. You can upgrade the entire Longhorn software stack without disrupting running volumes! 12 * Intuitive GUI dashboard 13 14 ## How to use it 15 16 At the first maker sure all the pods status up in longhorn-system namespace. 17 18 ### storageclass 19 20 This images provide ```longhorn``` as default stotageclass, you can use it easily in PVC. 21 22 ### UI dashboard 23 24 Once Longhorn has been installed in your Kubernetes cluster, you can access the UI dashboard. 25 26 1. Get the Longhorn’s external service IP: 27 28 ``` kubectl -n longhorn-system get svc``` 29 30 For Longhorn v0.8.0, the output should look like this, and the `CLUSTER-IP` of the `longhorn-frontend` is used to access the Longhorn UI: 31 32 2. Navigate to the IP of `longhorn-frontend` in your browser. 33 34 ## How to rebuild it use helm 35 36 Kubefile: 37 38 ```yaml 39 helm repo add longhorn https://charts.longhorn.io 40 helm repo update 41 helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace 42 ``` 43 44 run below command to build it 45 46 ```shell 47 sealer build -t {Your Image Name} -f Kubefile -m cloud . 48 ``` 49 50 More parameters see [official document here](https://longhorn.io/docs/1.2.3/).