Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 638 for cleaning (0.27 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/nodeagent/net.go

    func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	log.Debugf("Pod is now opt out... cleaning up.")
    
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns during removal")
    		return fmt.Errorf("failed to find pod netns during removal")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istio/configmap.go

    				scopes.Framework.Debugf("cleanup patched %s injection configmap:\n%s", c.Name(), cfgMap.Data["config"])
    				return nil
    			})
    		}
    		if err := errG.Wait().ErrorOrNil(); err != nil {
    			scopes.Framework.Errorf("failed cleaning up cluster-local config: %v", err)
    		}
    	})
    	return errG.Wait().ErrorOrNil()
    }
    
    func (ic *injectConfig) ValuesConfig() (*inject.ValuesConfig, error) {
    	ic.mu.Lock()
    	myic := ic.values
    	ic.mu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top