const ( // Duration of the lease LEASE_DURATION = 30 * time.Second // Deadline for the leader to refresh its lease. Defaults to the same value // used by core controllers LEASE_RENEW_DEADLINE = 10 * time.Second // Duration leader elector clients should wait between action re-tries. // Defaults to the same value used by core controllers LEASE_RETRY_PERIOD = 2 * time.Second )
func Main(args []string)
Main executes the service-mirror controller