Skip to content

Commit

Permalink
fix TiCDC across K8s address (#5061)
Browse files Browse the repository at this point in the history
Co-authored-by: csuzhangxc <[email protected]>
  • Loading branch information
ti-chi-bot and csuzhangxc committed Jun 10, 2023
1 parent 71d8502 commit 6bc596a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/ticdc_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func getCaptureAdvertiseAddressPrefix(tc *v1alpha1.TidbCluster, ordinal int32) s
// When setting up TiCDC across multiple Kubernetes clusters,
// it is important to consider the cluster domain if two CDC pods
// share the same in-cluster dns name (without cluster domain).
prefix = fmt.Sprintf("%s.%s", prefix, tc.Spec.ClusterDomain)
prefix = fmt.Sprintf("%s.svc.%s", prefix, tc.Spec.ClusterDomain)
}
return prefix
}
Expand Down

0 comments on commit 6bc596a

Please sign in to comment.