sigs.k8s.io/cluster-api@v1.6.3/controlplane/kubeadm/internal/controllers/consts.go (about)

     1  /*
     2  Copyright 2020 The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package controllers
    18  
    19  import "time"
    20  
    21  const (
    22  	// deleteRequeueAfter is how long to wait before checking again to see if
    23  	// all control plane machines have been deleted.
    24  	deleteRequeueAfter = 30 * time.Second
    25  
    26  	// preflightFailedRequeueAfter is how long to wait before trying to scale
    27  	// up/down if some preflight check for those operation has failed.
    28  	preflightFailedRequeueAfter = 15 * time.Second
    29  
    30  	// dependentCertRequeueAfter is how long to wait before checking again to see if
    31  	// dependent certificates have been created.
    32  	dependentCertRequeueAfter = 30 * time.Second
    33  )