Documentation
¶
Index ¶
- func CorednsWatch(kubeconfigPath, clusterConfigPath, templatePath, cfgPath string, ...) error
- func CorednsWatchWithNodeIPDiscovery(ctx context.Context, ...) error
- func DnsmasqWatch(kubeconfigPath, templatePath, cfgPath string, apiVips []net.IP, ...) error
- func KeepalivedWatch(kubeconfigPath, clusterConfigPath, templatePath, cfgPath string, ...) error
- func Monitor(kubeconfigPath, clusterName, clusterDomain, templatePath, cfgPath string, ...) error
- func ReloadDnsmasq() error
- type APIState
- type RuntimeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorednsWatch ¶
func CorednsWatchWithNodeIPDiscovery ¶
func CorednsWatchWithNodeIPDiscovery(ctx context.Context, kubeconfigPath, clusterConfigPath, templatePath, cfgPath, resolvConfPath string, interval time.Duration) error
CorednsWatchWithNodeIPDiscovery refreshes a local CoreDNS Corefile without contacting the Kubernetes API. Each attempt rebuilds every local input so a transient bad resolver or node-IP file leaves the last working Corefile in place and is retried on the next interval.
func DnsmasqWatch ¶
func KeepalivedWatch ¶
func ReloadDnsmasq ¶
func ReloadDnsmasq() error
Types ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
LBConfig *config.ApiLBConfig
}
Click to show internal directories.
Click to hide internal directories.