Skip to content

Commit

Permalink
fix: add velero create crds retries (#240)
Browse files Browse the repository at this point in the history
* no message

* fix: update velero version
  • Loading branch information
aby913 authored Jul 23, 2024
1 parent a6751de commit de7e22f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion build/installer/install_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ _check_velero_plugin_image_exists() {
install_velero() {
config_proxy_resolv_conf
VELERO_VERSION="v1.11.2"
VELERO_VERSION="v1.11.3"
local velero_tar="${BASE_DIR}/components/velero-${VELERO_VERSION}-linux-${ARCH}.tar.gz"
if [ -f "$velero_tar" ]; then
ensure_success $sh_c "cp ${velero_tar} velero-${VELERO_VERSION}-linux-${ARCH}.tar.gz"
Expand Down Expand Up @@ -1270,6 +1270,11 @@ install_velero_plugin_terminus() {
velero_plugin_install_cmd+=" --velero-pod-cpu-request=50m --velero-pod-cpu-limit=500m"
velero_plugin_install_cmd+=" --node-agent-pod-cpu-request=50m --node-agent-pod-cpu-limit=500m"
velero_plugin_install_cmd+=" --wait --wait-minute 30"
if [[ $(is_raspbian) -eq 1 ]]; then
velero_plugin_install_cmd+=" --retry 30 --delay 5" # 30 times, 5 seconds delay
fi
ensure_success $sh_c "$velero_plugin_install_cmd"
velero_plugin_install_cmd="${VELERO} plugin add beclab/velero-plugin-for-terminus:$velero_plugin_ver -n os-system"
msg=$($sh_c "$velero_plugin_install_cmd 2>&1")
Expand Down
2 changes: 1 addition & 1 deletion build/manifest/dependencies.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://download.redis.io/releases/redis-5.0.14.tar.gz,

https://github.com/beclab/juicefs-ext/releases/download/v11.1.0/juicefs-v11.1.0-linux-amd64.tar.gz,

https://github.com/beclab/velero/releases/download/v1.11.2/velero-v1.11.2-linux-amd64.tar.gz,
https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-amd64.tar.gz,

https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428840/+files/apparmor_4.0.1-0ubuntu1_amd64.deb,

Expand Down
2 changes: 1 addition & 1 deletion build/manifest/dependencies.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ https://download.redis.io/releases/redis-5.0.14.tar.gz,

https://github.com/beclab/juicefs-ext/releases/download/v11.1.0/juicefs-v11.1.0-linux-arm64.tar.gz,

https://github.com/beclab/velero/releases/download/v1.11.2/velero-v1.11.2-linux-arm64.tar.gz,
https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-arm64.tar.gz,

https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428841/+files/apparmor_4.0.1-0ubuntu1_arm64.deb,

Expand Down
1 change: 1 addition & 0 deletions build/manifest/images
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ quay.io/argoproj/workflow-controller:v3.5.0
redis:5.0.14-alpine
beclab/velero:v1.11.0
beclab/velero:v1.11.1
beclab/velero:v1.11.3
beclab/velero-plugin-for-terminus:v1.0.1
beclab/velero-plugin-for-terminus:v1.0.2
rancher/coredns-coredns:1.8.3

0 comments on commit de7e22f

Please sign in to comment.