velero-io/velero

AWS ALB target of source EKS cluster getting drained while applying the source cluster backup to target EKS cluster using velero

Open

#9,576 opened on Mar 5, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (1,550 forks)auto 404
Area/Cloud/AWSHelp wanted

Repository metrics

Stars
 (10,111 stars)
PR merge metrics
 (PR metrics pending)

Description

I tried to take a backup of a specific namespace in source EKS cluster using velero backup create backup-${BUILD_ID} --kubeconfig=SOURCE_KUBECONFIG_FILE --include-namespaces $NAMESPACE.

Then when I apply it to target cluster, the alb ingress yaml gets applied with same group name, causing the source cluster target to get drained(This happens due to the reconsiliation logic according to my knowledge). I changed the logic to not include ingress during both backup and restore creation using below commands.

velero backup create backup-${BUILD_ID} --kubeconfig=SOURCE_KUBECONFIG_FILE --include-namespaces $NAMESPACE --exclude-resources ingresses velero restore create --kubeconfig=TARGET_KUBECONFIG_FILE --from-backup=backup-${BUILD_ID} --existing-resource-policy=update --include-namespaces $NAMESPACE --exclude-resources ingresses

Even after doing this , even though there is no ingress created in that namespace, the target draining happens. This does not occur when I apply the kubernetes resources manually.

Note:- The source and target EKS clusters are in separate VPCs of the same account.

Contributor guide