Skip to content

Commit

Permalink
fix TiCDC across K8s address
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc committed Jun 9, 2023
1 parent 0cd7c85 commit 3a789ca
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 3a789ca

Please sign in to comment.