node agent cpu and memory limitation doesn't honored with "./velero install "

11 views
Skip to first unread message

Tzahi Ashkenazi

unread,
Feb 14, 2024, 2:30:42 AMFeb 14
to Project Velero
Hi  Team 
when trying to set  node agent cpu and memory limitation using the  velero installation :
"   --node-agent-pod-cpu-limit "20000m" --node-agent-pod-mem-limit "32Gi" " 
on velero 1.12.3 
those values are not honored   after installation completed 
what is the correct way to set those limitations  using   the velero installation script  ?

the limitation was set after velero installation completed using edit to the daemon-set object 


the velero  installation script : 

./velero install \
    --provider aws \
    --image velero/velero:v1.12.3 \
    --plugins velero/velero-plugin-for-aws:latest,quay.io/konveyor/openshift-velero-plugin:latest,velero/velero-plugin-for-csi:main --bucket ${bucket_name} \
    --secret-file ${bucket_credentials_location} \
    --use-node-agent \
    --use-volume-snapshots=false \
    --namespace=${namespace} \
    --backup-location-config s3Url=${minio_url},insecureSkipTLSVerify=true,profile=default,region=minio=minio,s3ForcePathStyle=true \
    --features=EnableCSI --prefix "velero" \
    --velero-pod-cpu-limit "2000m" --velero-pod-mem-limit "2048Mi" \
    --node-agent-pod-cpu-limit "20000m" --node-agent-pod-mem-limit "32Gi" \
Reply all
Reply to author
Forward
0 new messages