Skip to content

Commit

Permalink
Merge pull request #3521 from sjenning/ocpbugs-26547-4.15
Browse files Browse the repository at this point in the history
OCPBUGS-29020: reduce external-dns route53 call volume
  • Loading branch information
openshift-merge-bot[bot] committed Feb 8, 2024
2 parents 278e12f + f56ff20 commit 2f330ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/install/assets/hypershift_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ func (o ExternalDNSDeployment) Build() *appsv1.Deployment {
fmt.Sprintf("--txt-owner-id=%s", txtOwnerId),
fmt.Sprintf("--label-filter=%s!=%s", hyperv1.RouteVisibilityLabel, hyperv1.RouteVisibilityPrivate),
"--interval=1m",
"--txt-cache-interval=1h",
},
Ports: []corev1.ContainerPort{{Name: "metrics", ContainerPort: 7979}},
LivenessProbe: &corev1.Probe{
Expand Down Expand Up @@ -285,6 +286,7 @@ func (o ExternalDNSDeployment) Build() *appsv1.Deployment {
deployment.Spec.Template.Spec.Containers[0].Args = append(deployment.Spec.Template.Spec.Containers[0].Args,
"--aws-zone-type=public",
"--aws-batch-change-interval=10s",
"--aws-zones-cache-duration=1h",
)
case "azure":
deployment.Spec.Template.Spec.Containers[0].Args = append(deployment.Spec.Template.Spec.Containers[0].Args,
Expand Down
2 changes: 2 additions & 0 deletions hack/app-sre/saas_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,10 @@ objects:
- --txt-owner-id=${EXTERNAL_DNS_TXT_OWNER_ID}
- --label-filter=hypershift.openshift.io/route-visibility!=private
- --interval=1m
- --txt-cache-interval=1h
- --aws-zone-type=public
- --aws-batch-change-interval=10s
- --aws-zones-cache-duration=1h
command:
- /external-dns
env:
Expand Down

0 comments on commit 2f330ca

Please sign in to comment.