How to Re-deploy CoreDNS Pods Only to the Master Nodes.
Problem
Environment
Procedure
Edit watch flag to false in clusteraddon of CoreDNS:
# kubectl edit clusteraddons -n default 91bc678c-7da5-41d0-be51-c295cd0a6453-corednsAfter editing:
# kubectl describe clusteraddons -n default 91bc678c-7da5-41d0-be51-c295cd0a6453-coredns
Name: 91bc678c-7da5-41d0-be51-c295cd0a6453-coredns
Namespace: default
Labels: sunpike.pf9.io/cluster=91bc678c-7da5-41d0-be51-c295cd0a6453
type=coredns
Annotations: <none>
API Version: sunpike.platform9.com/v1alpha2
Kind: ClusterAddon
Spec:
Cluster ID: 91bc678c-7da5-41d0-be51-c295cd0a6453
Override:
Params:
Name: dnsMemoryLimit
Value: 170Mi
Name: dnsDomain
Value: cluster.local
Type: coredns
Version: 1.8.0
Watch: false < ---------------------Additional Information
PreviousHow to Clean Luigi and Kubevirt Stale Entries After disabling the Luigin PluginsNextCreate Read-Only Cluster User
Last updated
