Commit Graph

471 Commits

Author SHA1 Message Date
Shuo Wu
d77dc2c35e chart: Sync chart with the YAML files in longhorn-manager
Longhorn #1818, #1813

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-11-30 09:28:45 -08:00
Phan Le
b79b914967 Move registry secret setting to outside of  default setting
To avoid confusing user, we move the registry secret setting
outside of default setting section. Now, user will set
registry secret setting in privateRegistry.registrySecret

Longhorn #1670

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-11-23 17:16:17 -08:00
Phan Le
9c3ae72954 Update Helm chart templates for Longhorn v1.1.0
Longhorn #1906

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-10-28 18:42:27 -07:00
Bo Tao
c2753700b0 Update longhorn chart README.md
1. Remove Rancher from prerequisites.
2. Update to Kubernetes v1.15+.
3. Update the contents for installation and uninstallation.

Longhorn #1617

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-10-22 15:06:57 -07:00
Phan Le
68f9e034b0 add LEP for feature handling volume remount by killing the consuming pod
Longhorn #1719

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-10-21 11:30:52 -07:00
Benjamin MALYNOVYTCH
2b0c377f1a StorageClass: add reclaimPolicy
Signed-off-by: Benjamin MALYNOVYTCH <bmalynovytch@admantic.fr>
2020-10-20 19:58:58 -07:00
Bo Tao
e54bbd9f4c Update minio backupstore image to support amd64 and arm64
Longhorn #6

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-10-20 14:11:29 -07:00
Sheng Yang
3870716b8c dev scripts: update lm-update.sh and update-image-pull-policy.sh
To include a way to restart every Longhorn components automatically with
the latest image.

1. Now `lm-update.sh` will set `imagePullPolicy: Always` for the manager
and the driver.
2. Now update-image-pull-policy.sh will update the `imagePullPolicy` for
all the running deployments and daemonsets in the `longhorn-system`
namespace, including CSI components.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-10-20 12:28:26 -07:00
Jack Ivanov
0a5fa0867e Add recurringJobs to the templates
Signed-off-by: Jack Ivanov <17044561+jackivanov@users.noreply.github.com>
2020-10-19 19:54:11 -07:00
Bo Tao
39132812c1 Update nfs backupstore image
Longhorn #6

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-10-16 16:28:13 -07:00
Shuo Wu
e5a0491499 chart: Add an annotation for CRDs
So that the CRDs won't be wrongly deleted when the CRD files is
splitted.

https://helm.sh/docs/topics/charts_hooks/#hook-resources-are-not-managed-with-corresponding-releases

Longhorn #1818

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Shuo Wu
68a1082e6d chart: Add settings for CSI Snapshotter
Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Shuo Wu
9cbb93d10c chart: Remove some redundancy for the chart
1. Remove the redundancy rule in clusterrole.yaml
2. Simplify the chart private registry setting.

Longhorn #1818

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-10-13 21:54:08 -07:00
Phan Le
3918638dda add enhancement document for the feature allow recurring backup for detached volumes
Longhorn #1509

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-10-05 20:21:01 -07:00
Bo Tao
34d0c0073e Add revision counter disable support enhancement document
Longhorn #508

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-09-22 14:57:45 -07:00
Joshua Moody
f9a7690bc5 Add note about VolumeSnapshotClass to csi snapshot LEP
Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-09-22 14:56:48 -07:00
Joshua Moody
9cb7bdc160 Add LEP for csi snapshot support
Longhorn #304

Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-09-09 16:59:48 -07:00
Phan Le
93c0d6a8af enhancement: Add LEP 'support Data Locality option to keep a replica local to the engine'
Longhorn#1045

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-09-08 15:19:52 -07:00
Bo Tao
0fe8cd63c9 Update replica evcition support for disks and nodes enhancement document
This commit is for supporting eviction for detached volume.

Longhorn #1704

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-09-01 19:04:33 -07:00
Phan Le
30ab8398a4 enhancements: add improve node failure handling enhancement document
Longhorn#1105

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-08-25 14:51:15 -07:00
Bo Tao
41cbbdcf66 Add replica eviction support for disks and nodes enhancement document
Longhorn #298

Signed-off-by: Bo Tao <bo.tao@rancher.com>
2020-08-20 17:22:06 -07:00
Shuo Wu
e2ab1c363c enhancement: Add LEP 'Refactor restore for rebuild enabling'
Longhorn #1279

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-08-18 15:53:25 -07:00
Sheng Yang
83f35e04ed
Merge pull request #1690 from longhorn/v1.0.2
Longhorn v1.0.2
2020-08-14 14:49:02 -07:00
Sheng Yang
0145138451 Longhorn v1.0.2 release
Longhorn v1.0.2 is a stable release.

1. [Now Longhorn ships with a default Pod Security Policy](https://github.com/longhorn/longhorn/issues/1671).
2. [Enhanced Air Gap installation experience using Chart](https://github.com/longhorn/longhorn/issues/1641).

1. [Fix an issue](https://github.com/longhorn/longhorn/issues/1647) that might cause Longhorn installation stuck due to upgrade failure.
2. [Speed up](https://github.com/longhorn/longhorn/issues/1655) the Longhorn installation process.
3. [Fix an issue](https://github.com/longhorn/longhorn/issues/1665) that might cause Longhorn installation stuck due to `Incompatible` Engine image.
4. [Fix an issue](https://github.com/longhorn/longhorn/pull/1585) with containerd.

Live upgrade from v1.0.2 from v1.0.0 or v1.0.1 is supported. See [here](https://longhorn.io/docs/1.0.2/deploy/upgrade/) for the upgrade instructions.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-14 14:45:31 -07:00
Sheng Yang
39c64c6537 Update version to v1.0.2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-14 14:45:31 -07:00
Sheng Yang
62c71dc190 Sync with managero
commit ba4ca64ad03911194c8586932e9f529e19c884a4
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Fri Aug 14 13:23:47 2020 -0700

    Longhorn v1.0.2 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-14 14:45:31 -07:00
Sheng Yang
139554a08e Update version to v1.0.2-rc2
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-13 11:45:43 -07:00
Sheng Yang
9a95aa97ec Sync with mangaer
commit 62ad1776aab2939ec0349482fec7230dbae3a1c9
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Thu Aug 13 11:13:41 2020 -0700

    Longhorn v1.0.2-rc2 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-13 11:45:43 -07:00
Stanislav Shcherbakov
478d574e7f /var/run/ - mountPropagation: Bidirectional
Signed-off-by: Stanislav Shcherbakov <sshcherbakov@plesk.com>
2020-08-12 14:18:30 -07:00
Sheng Yang
4963761a92 Update version to v1.0.2-rc1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-11 22:03:32 -07:00
Sheng Yang
885487253d Sync up with manager
commit 9744665adfca40c21b7f4ed26e5b70feb7cdafdb
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Tue Aug 11 21:31:15 2020 -0700

    Longhorn v1.0.2-rc1 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-11 22:03:32 -07:00
Sheng Yang
41b08c2406
Update MAINTAINERS
Add Shuo Wu as a maintainer of Longhorn.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-08-10 19:34:28 -07:00
janeczku
298d60d05d Change configuration variable for PSP
Signed-off-by: janeczku <jan@rancher.com>
2020-08-10 13:49:35 -07:00
janeczku
f887ad1fb4 added pod security policy
Signed-off-by: janeczku <jan@rancher.com>
2020-08-10 13:49:35 -07:00
xiaolu hong
29f31e43f7 Air Gap installation from private repo
Signed-off-by: xiaolu hong <xiaoluhong@rancher.com>
2020-08-06 11:07:52 -07:00
Thulio Ferraz Assis
44ba6e4212 fix: remove beta annotation from storage class
Since the storage.k8s.io/v1 API, the annotation for is-default-class is
no longer in beta and was deprecated.
https://github.com/kubernetes/kubernetes/pull/40088

Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-08-06 11:07:52 -07:00
Joshua Moody
f176517638 Add scale test scripts
scale-test.py is currently a work in progress and needs some additional
implementation for the data processing and analysis part.

Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-07-31 15:09:47 -07:00
Joshua Moody
0e4085b640 Ignore goland project files
Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-07-31 15:09:47 -07:00
Sheng Yang
c8e26ffbbf
Update README.md
Update badge to `drone.longhorn.io`

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-31 13:12:05 -07:00
Thulio Ferraz Assis
3027c289f2 fix: remove beta annotation from storage class
Since the storage.k8s.io/v1 API, the annotation for is-default-class is
no longer in beta and was deprecated.
https://github.com/kubernetes/kubernetes/pull/40088

Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
2020-07-29 11:09:12 -07:00
Sheng Yang
ed993dceb1
Merge pull request #1621 from longhorn/v1.0.1
Longhorn v1.0.1 release.
2020-07-20 20:40:43 -07:00
Sheng Yang
b22fcdd6a7 Merge branch 'master' into v1.0.1
Fix merge conflict.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:27:25 -07:00
Sheng Yang
ab63788557 Longhorn v1.0.1 release
i## Highlights:
1. [Make Longhorn Helm Chart directly available through Helm repo](https://github.com/longhorn/longhorn/issues/1043). Now the users can use `helm repo add longhorn https://charts.longhorn.io` to find and install Longhorn easily through Helm command line.
1. [NFS on Longhorn for RWX Access Mode (experimental)](https://github.com/longhorn/longhorn/issues/1183). We've provided a way to add Longhorn backed NFS provisioner to the cluster, so now user can use `longhorn-nfs` StorageClass to provision RWX volumes. Note: currently NFS provisioner is not highly available. If the node NFS provisioner running is down, the workload using RWX volume might be interrupted for a couple of minutes before restoring the service. Check [here](https://staging.longhorn.io/docs/1.0.0/advanced-resources/rwx-workloads/) for details.
1. Improved Air Gap Environment Support. Check [here](https://staging.longhorn.io/docs/1.0.0/advanced-resources/deploy/airgap/) for updated document for air gap installation.
    1. [Remove the air gap image name length limitation](https://github.com/longhorn/longhorn/issues/1323).
    1. [Change the default image pull policy from `Always` to `IfNotPresent`](https://github.com/longhorn/longhorn/issues/1491)
    1. [Aggregate the necessary Docker images](https://github.com/longhorn/longhorn/issues/1419)
    1. [HTTP/HTTPS_PROXY support for S3 backupstore](https://github.com/longhorn/longhorn/issues/1540)
1. [Support PriorityClass for Longhorn deployment](https://github.com/longhorn/longhorn/issues/1487). Check [here](https://staging.longhorn.io/docs/1.0.0/advanced-resources/deploy/priority-class/) for details.

Live upgrade from v1.0.0 to v1.0.1 is supported.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:25:13 -07:00
Sheng Yang
01f6597992 Update tag to v1.0.1
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:25:13 -07:00
Sheng Yang
8ad1f9f378 Sync with manager
commit f13b9a9f32b010420d9e66b15b7cae7ac4545b5c
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Mon Jul 20 18:08:13 2020 -0700

    Longhorn v1.0.1 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-20 20:25:13 -07:00
Michael William Le Nguyen
1eae8fc7e2 chart: remove rancher labs from chart description
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-20 16:50:29 -07:00
Michael William Le Nguyen
505163c9dc chart: use icon instead of horizontal for logo
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-20 16:50:29 -07:00
Sheng Yang
46f0270df9 Correct chart tags to v1.0.1-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-18 13:09:34 -07:00
Sheng Yang
3a13b07630 Update version to v1.0.1-rc3
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-18 13:02:55 -07:00
Sheng Yang
d1be6b428c Sync with manager
commit 5be96bd1ad71fecbf670cd21313e8d1858c7ddb8
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Sat Jul 18 12:17:44 2020 -0700

    Longhorn v1.0.1-rc3 release

    Signed-off-by: Sheng Yang <sheng.yang@rancher.com>

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-07-18 13:02:55 -07:00