Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 299 for isShutdown (0.25 sec)

  1. pkg/controller/volume/expand/expand_controller.go

    			return
    		}
    		expc.queue.Add(key)
    	}
    }
    
    func (expc *expandController) processNextWorkItem(ctx context.Context) bool {
    	key, shutdown := expc.queue.Get()
    	if shutdown {
    		return false
    	}
    	defer expc.queue.Done(key)
    
    	err := expc.syncHandler(ctx, key)
    	if err == nil {
    		expc.queue.Forget(key)
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    	return func() error {
    		// Given that client is closed on shutdown we hold the lock for
    		// the entire period of healthcheck call to ensure that client will
    		// not be closed during healthcheck.
    		// Given that healthchecks has a 2s timeout, worst case of blocking
    		// shutdown for additional 2s seems acceptable.
    		lock.RLock()
    		defer lock.RUnlock()
    
    		if clientErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. pkg/registry/core/replicationcontroller/storage/storage.go

    type StatusREST struct {
    	store *genericregistry.Store
    }
    
    func (r *StatusREST) New() runtime.Object {
    	return &api.ReplicationController{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. pkg/registry/apps/deployment/storage/storage.go

    	store *genericregistry.Store
    }
    
    // New returns empty Deployment object.
    func (r *StatusREST) New() runtime.Object {
    	return &apps.Deployment{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/server.go

    		upstreamLocalAddress:  upstreamLocalAddress,
    		config:                config,
    		enableProfiling:       config.EnableProfiling,
    		registry:              registry,
    		shutdown: func() {
    			config.Shutdown()
    		},
    		drain: config.TriggerDrain,
    	}
    	if LegacyLocalhostProbeDestination.Get() {
    		s.appProbersDestination = "localhost"
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  6. tools/docker-builder/main.go

    		t0 := time.Now()
    		defer func() {
    			log.WithLabels("runtime", time.Since(t0)).Infof("build complete")
    		}()
    		ctx, shutdown, err := tracing.InitializeFullBinary("docker-builder")
    		if err != nil {
    			return err
    		}
    		defer shutdown()
    		if version {
    			fmt.Println(pkgversion.Info.GitRevision)
    			os.Exit(0)
    		}
    		log.Infof("Args: %s", globalArgs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    	if ln == nil {
    		return nil, nil, fmt.Errorf("listener must not be nil")
    	}
    
    	// Shutdown server gracefully.
    	serverShutdownCh, listenerStoppedCh := make(chan struct{}), make(chan struct{})
    	go func() {
    		defer close(serverShutdownCh)
    		<-stopCh
    		ctx, cancel := context.WithTimeout(context.Background(), shutDownTimeout)
    		server.Shutdown(ctx)
    		cancel()
    	}()
    
    	go func() {
    		defer utilruntime.HandleCrash()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/worker.go

    		}
    		// Abort if the container will not be restarted.
    		return c.State.Terminated == nil ||
    			w.pod.Spec.RestartPolicy != v1.RestartPolicyNever
    	}
    
    	// Graceful shutdown of the pod.
    	if w.pod.ObjectMeta.DeletionTimestamp != nil && (w.probeType == liveness || w.probeType == startup) {
    		klog.V(3).InfoS("Pod deletion requested, setting probe result to success",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. pkg/registry/apps/replicaset/storage/storage.go

    	store *genericregistry.Store
    }
    
    // New returns empty ReplicaSet object.
    func (r *StatusREST) New() runtime.Object {
    	return &apps.ReplicaSet{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *StatusREST) Destroy() {
    	// Given that underlying store is shared with REST,
    	// we don't destroy it here explicitly.
    }
    
    // Get retrieves the object from the storage. It is required to support Patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. pkg/controlplane/reconcilers/lease.go

    	// UpdateLease adds or refreshes a master's lease
    	UpdateLease(ip string) error
    
    	// RemoveLease removes a master's lease
    	RemoveLease(ip string) error
    
    	// Destroy cleans up everything on shutdown.
    	Destroy()
    }
    
    type storageLeases struct {
    	storage   storage.Interface
    	destroyFn func()
    	baseKey   string
    	leaseTime time.Duration
    }
    
    var _ Leases = &storageLeases{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top