Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for setReady (0.18 sec)

  1. cni/pkg/install/install.go

    		// We had a watch error - that's no good
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    		// Valid configuration; set isReady to true and wait for modifications before checking again
    		setReady(in.isReady)
    		cniInstalls.With(resultLabel.Value(resultSuccess)).Increment()
    		// Pod set to "NotReady" before termination
    		return watcher.Wait(ctx)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/volume/util/util.go

    	}
    
    	if !s.Mode().IsRegular() {
    		klog.Errorf("ready-file is not a file: %s", readyFile)
    		return false
    	}
    
    	return true
    }
    
    // SetReady creates a file called 'ready' in the given
    // directory.  It logs an error if the file cannot be
    // created.
    func SetReady(dir string) {
    	if err := os.MkdirAll(dir, 0750); err != nil && !os.IsExist(err) {
    		klog.Errorf("Can't mkdir %s: %v", dir, err)
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. src/sync/map.go

    		// (so it would be made more efficient by promoting the dirty
    		// map to read-only).
    		// Count it as a miss so that we will eventually switch to the
    		// more efficient steady state.
    		m.missLocked()
    	}
    	return swapped
    }
    
    // CompareAndDelete deletes the entry for key if its value is equal to old.
    // The old value must be of a comparable type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/generated.proto

    }
    
    // JobSpec describes how the job execution will look like.
    message JobSpec {
      // Specifies the maximum desired number of pods the job should
      // run at any given time. The actual number of pods running in steady state will
      // be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
      // i.e. when the work left to do is less than max parallelism.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"":                        "JobSpec describes how the job execution will look like.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1/types.go

    }
    
    // JobSpec describes how the job execution will look like.
    type JobSpec struct {
    
    	// Specifies the maximum desired number of pods the job should
    	// run at any given time. The actual number of pods running in steady state will
    	// be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
    	// i.e. when the work left to do is less than max parallelism.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. pkg/apis/batch/types.go

    }
    
    // JobSpec describes how the job execution will look like.
    type JobSpec struct {
    
    	// Specifies the maximum desired number of pods the job should
    	// run at any given time. The actual number of pods running in steady state will
    	// be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
    	// i.e. when the work left to do is less than max parallelism.
    	// +optional
    	Parallelism *int32
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/manager_test.go

    		originalCallback(resourceName, devices)
    		updateChan <- new(interface{})
    	}
    	activePods := func() []*v1.Pod {
    		return []*v1.Pod{}
    	}
    
    	// test steady state, initialization where sourcesReady, containerMap and containerRunningSet
    	// are relevant will be tested with a different flow
    	err = w.Start(activePods, &sourcesReadyStub{}, containermap.NewContainerMap(), sets.New[string]())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	}
    
    	for desc, test := range map[string]struct {
    		mutatePodFn    func(*v1.Pod)
    		mutateStatusFn func(*kubecontainer.PodStatus)
    		actions        podActions
    	}{
    		"steady state; do nothing; ignore ephemeral container": {
    			actions: noAction,
    		},
    		"No ephemeral containers running; start one": {
    			mutateStatusFn: func(status *kubecontainer.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  10. samples/addons/grafana.yaml

    "x":0,"y":1},"id":19,"links":[],"options":{"code":{"language":"plaintext","showLineNumbers":false,"showMiniMap":false},"content":"The charts on this dashboard are intended to show Istio main components cost in terms of resources utilization under steady load.\n\n- **vCPU / 1k rps:** shows vCPU utilization by the main Istio components normalized by 1000 requests/second. When idle or low traffic, this chart will be blank. The curve for istio-proxy refers to the services sidecars only.\n- **vCPU:**...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
Back to top