Skip to content

Commit

Permalink
enable ipv6 egress on cluster with nodes ipv4 and nodes ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeylanzman authored and jdn5126 committed Jan 24, 2024
1 parent b0ff9b9 commit c23692c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/aws-vpc-cni/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ func generateJSON(jsonFile string, outFile string, getPrimaryIP func(ipv4 bool)
if egressEnabled {
nodeIP, err = getPrimaryIP(false)
if err != nil {
log.Errorf("To support IPv6 egress, node primary ENI must have a global IPv6 address, error: %v", err)
return err
log.Warnf("To support IPv6 egress, node primary ENI must have a global IPv6 address, error: %v", err)
egressEnabled = false
}
}
}
Expand Down

0 comments on commit c23692c

Please sign in to comment.