Reliable volume for minio server and e2e support 84/1884/7
authorChen, Tingjie <tingjie.chen@intel.com>
Tue, 22 Oct 2019 16:28:40 +0000 (16:28 +0000)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Fri, 1 Nov 2019 03:24:28 +0000 (03:24 +0000)
commitae35db2846a21adc51f64b4e4332b93699d53052
treea68d6ade582313a2551e2a40aaafac4bc7ee4ae9
parenteda032105bcd4f912f65adfbeb31116a65527783
Reliable volume for minio server and e2e support

1. Add E2E test for MinIO Server side, since the image upload to
MinIO Server and we need to check the actual size of the object
in MinIO Server, after PATCH operations, check the object size
with REST parameters with image size.

2. Fix an issue for MinIO Service, in the install.sh of MinIO
Server, the minio-service.yaml need to be created and then we
can get the Endpoint IP for Minio client operations.

3. Reliable Volume implementation, which use Ceph CSI to provide
Ceph RBD Volume to export by MinIO. But this feature is NOT enabled
yet, and NO impact for current local volume, since there are some
other changes since I saw REST API Agent service also use the volume
with MinIO, this feature can be enable in next release.

4. Add uninstall script to clean the Storageclass/PV/PVC and other
resources in MinIO Server deloyment.

Change-Id: I17250be6ee1d64b98ad789673621f2f2e0009c3e
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
24 files changed:
cmd/bpa-restapi-agent/bpa_api_install.sh
cmd/bpa-restapi-agent/e2e_test.sh
cmd/bpa-restapi-agent/service.yml
deploy/kud-plugin-addons/minio/install.sh [deleted file]
deploy/kud-plugin-addons/minio/lib/minio.sh [new file with mode: 0755]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/csi/rbac/cephfs/csi-nodeplugin-rbac.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/csi/rbac/cephfs/csi-provisioner-rbac.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/csi/rbac/rbd/csi-nodeplugin-rbac.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/csi/rbac/rbd/csi-provisioner-rbac.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/pvc.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/rook-ceph-cluster.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/rook-common.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/rook-operator-with-csi.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/rook-toolbox.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/secret.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/ceph-volume/storageclass.yaml [new file with mode: 0644]
deploy/kud-plugin-addons/minio/yaml/install.sh [new file with mode: 0755]
deploy/kud-plugin-addons/minio/yaml/local/local-pv.yaml [moved from deploy/kud-plugin-addons/minio/local-pv.yaml with 94% similarity]
deploy/kud-plugin-addons/minio/yaml/local/local-pvc.yaml [moved from deploy/kud-plugin-addons/minio/local-pvc.yaml with 86% similarity]
deploy/kud-plugin-addons/minio/yaml/local/local-sc.yaml [moved from deploy/kud-plugin-addons/minio/local-sc.yaml with 100% similarity]
deploy/kud-plugin-addons/minio/yaml/minio-deployment.yaml [moved from deploy/kud-plugin-addons/minio/minio-deployment.yaml with 96% similarity]
deploy/kud-plugin-addons/minio/yaml/minio-service.yaml [moved from deploy/kud-plugin-addons/minio/minio-service.yaml with 100% similarity]
deploy/kud-plugin-addons/minio/yaml/reliable_volume_install.sh [new file with mode: 0755]
deploy/kud-plugin-addons/minio/yaml/uninstall.sh [new file with mode: 0755]