Skip to content

Commit

Permalink
Support mixed instances with PD (#1483)
Browse files Browse the repository at this point in the history
* Support mixed instances with PD

* fix up the log
  • Loading branch information
jayanthvn authored Jun 9, 2021
1 parent 39376f3 commit 346d5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ipamd/ipamd.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ func New(k8sapiClient kubernetes.Interface, eniConfig *eniconfig.ENIConfigContro
return nil, err
}
if hypervisorType != "nitro" && c.enableIpv4PrefixDelegation {
log.Error("Prefix delegation is not supported non-nitro instance - " + c.awsClient.GetInstanceType())
return nil, err
log.Warnf("Prefix delegation is not supported on non-nitro instance %s hence falling back to default (secondary IP) mode", c.awsClient.GetInstanceType())
c.enableIpv4PrefixDelegation = false
}
c.myNodeName = os.Getenv("MY_NODE_NAME")
checkpointer := datastore.NewJSONFile(dsBackingStorePath())
Expand Down

0 comments on commit 346d5e1

Please sign in to comment.