Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for podAdd (0.17 sec)

  1. pkg/scheduler/internal/queue/events.go

    limitations under the License.
    */
    
    package queue
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    const (
    	// PodAdd is the event when a new pod is added to API server.
    	PodAdd = "PodAdd"
    	// ScheduleAttemptFailure is the event when a schedule attempt fails.
    	ScheduleAttemptFailure = "ScheduleAttemptFailure"
    	// BackoffComplete is the event when a pod finishes backoff.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/plugin.go

    func (plugin *flexVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner)
    }
    
    // newUnmounterInternal is the internal unmounter routine to clean the volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo.go

    			volName: spec.Name(),
    			podUID:  pod.UID,
    			plugin:  plugin,
    		},
    		pod:      *pod,
    		source:   spec.Volume.GitRepo.Repository,
    		revision: spec.Volume.GitRepo.Revision,
    		target:   spec.Volume.GitRepo.Directory,
    		exec:     exec.New(),
    		opts:     opts,
    	}, nil
    }
    
    func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. pkg/volume/secret/secret.go

    	}, nil
    }
    
    func (plugin *secretPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &secretVolumeUnmounter{
    		&secretVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    			volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. pkg/volume/nfs/nfs.go

    	}, nil
    }
    
    func (plugin *nfsPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()))
    }
    
    func (plugin *nfsPlugin) newUnmounterInternal(volName string, podUID types.UID, mounter mount.Interface) (volume.Unmounter, error) {
    	return &nfsUnmounter{&nfs{
    		volName:         volName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/labels_test.go

    	var tests = []struct {
    		description string
    		expected    *labeledContainerInfo
    	}{
    		{
    			"Regular containers",
    			&labeledContainerInfo{
    				PodName:       pod.Name,
    				PodNamespace:  pod.Namespace,
    				PodUID:        pod.UID,
    				ContainerName: container.Name,
    			},
    		},
    	}
    
    	// Test whether we can get right information from label
    	for _, test := range tests {
    		labels := newContainerLabels(container, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pkg/volume/noop_expandable_plugin.go

    }
    
    func (n *noopExpandableVolumePluginInstance) NewMounter(spec *Spec, podRef *v1.Pod, opts VolumeOptions) (Mounter, error) {
    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {
    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {
    	return ReconstructedVolume{Spec: n.spec}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. pkg/volume/plugins_test.go

    	return false, nil
    }
    
    func (plugin *testPlugins) NewMounter(spec *Spec, podRef *v1.Pod, opts VolumeOptions) (Mounter, error) {
    	return nil, nil
    }
    
    func (plugin *testPlugins) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {
    	return nil, nil
    }
    
    func (plugin *testPlugins) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {
    	return ReconstructedVolume{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    			continue
    		}
    		var seLinuxMountContext string
    		for _, volume := range gvl.podVolumes {
    			markVolumeOpts := operationexecutor.MarkVolumeOpts{
    				PodName:             volume.podName,
    				PodUID:              types.UID(volume.podName),
    				VolumeName:          volume.volumeName,
    				Mounter:             volume.mounter,
    				BlockVolumeMapper:   volume.blockVolumeMapper,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top