Skip to content

v6.1.2-release

Latest
Compare
Choose a tag to compare
@zzzhangqi zzzhangqi released this 12 Feb 05:12
d2b9c16

What's Changed

Bug Fixes

  • Registry Storage Optimization: Changed default Registry storage backend from Minio to local-path storage
  • Fixed Registry garbage collection issues
  • Resolved large image build limitation: Now supports building images larger than 3GB (#2139)
  • Fixed external database configuration issue in host installation mode (#2138)
  • Optimized large-scale application template import: Resolved import failures for large templates (#2140)
  • Fixed permission issues when installing applications from the platform management app store
  • Resolved component startup issues caused by circular dependencies

Feature Improvements

  • Adjusted Ingress default listening port to 7080
  • Enhanced cluster connection experience with improved error messages during host cluster integration
  • Removed TCP route port range restrictions, now automatically obtains port range from underlying configuration
  • Improved startup log messages for component dependencies

Upgrade

Switching Default Registry Storage

Due to various issues with the default registry connected to Minio, and the discovery that image garbage collection (GC) cannot be performed in registry v2, we are switching to local storage.

  1. Update the rainbond-operator image to version v6.1.2-release

Caution

Please note that after upgrading rainbond-operator, rbd-gateway will restart, which may temporarily affect your services.

$ kubectl edit deploy rainbond-operator -n rbd-system
...
spec:
...
  image: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator:v6.1.2-release

Tip

If you don't need the old image data, you can skip the following steps.

  1. Get the local path of the automatically created rbd-hub PV
$ kubectl get pv | grep "rbd-system/rbd-hub" | awk '{print $1}' | xargs kubectl get pv -o yaml

apiVersion: v1
kind: PersistentVolume
...
spec:
  ...
  hostPath:
    path: /opt/rainbond/local-path-provisioner/pvc-926fab85-d8c1-4699-aab0-4e45c610997b_rbd-system_rbd-hub
    type: DirectoryOrCreate
  ...
        - key: kubernetes.io/hostname
          operator: In
          values:
          - 172.17.1.23
  ...
  1. Install Minio Client tool (Mc)
curl https://dl.minio.org.cn/client/mc/release/linux-amd64/mc -o /bin/mc && chmod +x /bin/mc
  1. Get Minio Service IP
kubectl get svc -n rbd-system | grep minio-service
  1. Copy data from Minio to local storage (execute on node 172.17.1.23)
mc alias set myminio http://10.43.61.29:9000 admin admin1234
mc mirror myminio/rbd-hub \
/opt/rainbond/local-path-provisioner/pvc-926fab85-d8c1-4699-aab0-4e45c610997b_rbd-system_rbd-hub
  1. Clean up image data in MinIO
mc rm myminio/rbd-hub

Full Changelog: v6.1.1-release...v6.1.2-release