Skip to content

Commit

Permalink
Add a max retry for getting coredns service
Browse files Browse the repository at this point in the history
  • Loading branch information
Ullaakut authored Jun 19, 2020
1 parent ae7512f commit 6dede87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (c *Client) ConfigureKubeDNS(clusterDomain, maeshNamespace string) error {

serviceIP = svc.Spec.ClusterIP
return nil
}), ebo); err != nil {
}), backoff.WithMaxRetries(ebo, 12)); err != nil {
return fmt.Errorf("unable get the service %q in namespace %q: %w", "coredns", "maesh", err)
}

Expand Down

0 comments on commit 6dede87

Please sign in to comment.