Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,069 for cleaning (0.2 sec)

  1. pkg/registry/core/service/ipallocator/controller/repairip.go

    		runtime.HandleError(fmt.Errorf("IPAddress %s appears to have been modified, not referencing a Service %v: cleaning up", ipAddress.Name, ipAddress.Spec.ParentRef))
    		r.recorder.Eventf(ipAddress, nil, v1.EventTypeWarning, "IPAddressNotAllocated", "IPAddressAllocation", "IPAddress %s appears to have been modified, not referencing a Service %v: cleaning up", ipAddress.Name, ipAddress.Spec.ParentRef)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. pkg/volume/util/subpath/subpath_linux.go

    	// process /var/lib/kubelet/pods/<uid>/volume-subpaths/<volume>/<container name>/<subPathName>
    	klog.V(4).Infof("Cleaning up subpath mounts for subpath %v", subPathIndex)
    	fullSubPath := filepath.Join(fullContainerDirPath, subPathIndex)
    
    	if err := mount.CleanupMountPoint(fullSubPath, mounter, true); err != nil {
    		return fmt.Errorf("error cleaning subpath mount %s: %s", fullSubPath, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  3. pkg/volume/downwardapi/downwardapi.go

    	defer func() {
    		// Clean up directories if setup fails
    		if !setupSuccess {
    			unmounter, unmountCreateErr := b.plugin.NewUnmounter(b.volName, b.podUID)
    			if unmountCreateErr != nil {
    				klog.Errorf("error cleaning up mount %s after failure. Create unmounter failed with %v", b.volName, unmountCreateErr)
    				return
    			}
    			tearDownErr := unmounter.TearDown()
    			if tearDownErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    			logger.V(4).Info("Endpoints not found, cleaning up any mirrored EndpointSlices", "endpoints", klog.KRef(namespace, name))
    			c.endpointSliceTracker.DeleteService(namespace, name)
    			return c.deleteMirroredSlices(namespace, name)
    		}
    		return err
    	}
    
    	if !c.shouldMirror(endpoints) {
    		logger.V(4).Info("Endpoints should not be mirrored, cleaning up any mirrored EndpointSlices", "endpoints", klog.KRef(namespace, name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. pkg/volume/configmap/configmap.go

    	defer func() {
    		// Clean up directories if setup fails
    		if !setupSuccess {
    			unmounter, unmountCreateErr := b.plugin.NewUnmounter(b.volName, b.podUID)
    			if unmountCreateErr != nil {
    				klog.Errorf("error cleaning up mount %s after failure. Create unmounter failed with %v", b.volName, unmountCreateErr)
    				return
    			}
    			tearDownErr := unmounter.TearDown()
    			if tearDownErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/prober_manager.go

    	StopLivenessAndStartup(pod *v1.Pod)
    
    	// RemovePod handles cleaning up the removed pod state, including terminating probe workers and
    	// deleting cached results.
    	RemovePod(pod *v1.Pod)
    
    	// CleanupPods handles cleaning up pods which should no longer be running.
    	// It takes a map of "desired pods" which should not be cleaned up.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. pkg/test/framework/testcontext.go

    		// is more readable.
    		workDir = path.Join(s.settings.RunDir(), id, "_test_context")
    	}
    	if err := os.MkdirAll(workDir, os.ModePerm); err != nil {
    		goTest.Fatalf("Error creating work dir %q: %v", workDir, err)
    	}
    
    	scopes.Framework.Debugf("Creating new testContext: %q", id)
    
    	if parentScope == nil {
    		parentScope = s.globalScope
    	}
    
    	scopeID := fmt.Sprintf("[%s]", id)
    	ctx := &testContext{
    		id:         id,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    			},
    			actions: [][]string{{"delete", "ipaddresses"}},
    			events:  []string{"Warning IPAddressNotAllocated IPAddress: 10.0.1.1 for Service bar/test-svc appears to have leaked: cleaning up"},
    		},
    		{
    			name: "one IP out of range matching the network address",
    			svcs: []*v1.Service{newService("test-svc", []string{"10.0.0.0"})},
    			ipAddresses: []*networkingv1alpha1.IPAddress{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	return true
    }
    
    func (tc *Controller) handleErr(err error, key string) {
    	if err == nil {
    		tc.queue.Forget(key)
    		return
    	}
    
    	utilruntime.HandleError(fmt.Errorf("error cleaning up Job %v, will retry: %v", key, err))
    	tc.queue.AddRateLimited(key)
    }
    
    // processJob will check the Job's state and TTL and delete the Job when it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tests/integration/helm/upgrade/util.go

    	}
    }
    
    // deleteIstio deletes installed Istio Helm charts and resources
    func deleteIstio(cs cluster.Cluster, h *helm.Helm, nsConfig helmtest.NamespaceConfig, gatewayChartInstalled bool) error {
    	scopes.Framework.Infof("cleaning up resources")
    	if gatewayChartInstalled {
    		if err := h.DeleteChart(helmtest.IngressReleaseName, nsConfig.Get(helmtest.IngressReleaseName)); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top