Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/xpk/commands/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,10 @@ def update_coredns_if_necessary(args) -> int:
0 if successful (CoreDNS was already present or successfully deployed),
and 1 otherwise.
"""
if coredns_deployment_exists(args, namespace='kube-system'):
if '--cluster-dns=clouddns' in args.custom_cluster_arguments:
xpk_print('Skipping CoreDNS deployment since Cloud DNS is enabled.')
return 0
elif coredns_deployment_exists(args, namespace='kube-system'):
xpk_print('Skipping CoreDNS deployment since it already exists.')
return 0
else:
Expand Down