Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 648 for volName (0.22 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // Calls AddPodToVolume() to add new pod to new volume
    // Verifies newly added pod/volume exists via
    // PodExistsInVolume() VolumeExists() and GetVolumesToMount()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. cmd/kubelet/app/plugins.go

    	"k8s.io/utils/exec"
    
    	// Volume plugins
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/configmap"
    	"k8s.io/kubernetes/pkg/volume/csi"
    	"k8s.io/kubernetes/pkg/volume/downwardapi"
    	"k8s.io/kubernetes/pkg/volume/emptydir"
    	"k8s.io/kubernetes/pkg/volume/fc"
    	"k8s.io/kubernetes/pkg/volume/flexvolume"
    	"k8s.io/kubernetes/pkg/volume/git_repo"
    	"k8s.io/kubernetes/pkg/volume/hostpath"
    	"k8s.io/kubernetes/pkg/volume/iscsi"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 21:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/naughty-disk_test.go

    func (d *naughtyDisk) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return VolInfo{}, err
    	}
    	return d.disk.StatVol(ctx, volume)
    }
    
    func (d *naughtyDisk) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	if err := d.calcError(); err != nil {
    		return err
    	}
    	return d.disk.DeleteVol(ctx, volume, forceDelete)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    }
    
    // Populates data struct with a single node no volume.
    // Calls AddPod() with the same node and new pod/volume.
    // Verifies node/volume exists.
    // Calls AddPod() with the same node and volume different pod.
    // Verifies the same node/volume exists, and 1 volumes to attach.
    func Test_AddPod_Positive_NewPodNodeExistsVolumeExists(t *testing.T) {
    	// Arrange
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    	// It is used to prevent reporting the error from being reported more than once for a given volume.
    	multiAttachErrorReported bool
    
    	// volumeName contains the unique identifier for this volume.
    	volumeName v1.UniqueVolumeName
    
    	// spec is the volume spec containing the specification for this volume.
    	// Used to generate the volume plugin object, and passed to attach/detach
    	// methods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    				continue
    			}
    
    			// Before triggering volume detach, mark volume as detached and update the node status
    			// If it fails to update node status, skip detach volume
    			// If volume detach operation fails, the volume needs to be added back to report as attached so that node status
    			// has the correct volume attachment information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/util/util_test.go

    	tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/fc"
    
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/kubernetes/fake"
    	utiltesting "k8s.io/client-go/util/testing"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    )
    
    const (
    	testHostName      = "test-hostname"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    		return "", ErrorWatchTimeout
    	}
    }
    
    // Fake volume/metrics provider
    var _ volume.Volume = &fakeVolume{}
    
    type fakeVolume struct{}
    
    func (v *fakeVolume) GetPath() string { return "" }
    
    func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) {
    	return expectedMetrics(), nil
    }
    
    func expectedMetrics() *volume.Metrics {
    	vMetrics := &volume.Metrics{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/pkg/volume/util"
    )
    
    func TestReconstructVolumes(t *testing.T) {
    	tests := []struct {
    		name                                string
    		volumePaths                         []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    	schedulerConfig := filepath.FromSlash("/etc/kubernetes/scheduler.conf")
    	volMap := make(map[string]map[string]v1.Volume)
    	volMap[kubeadmconstants.KubeAPIServer] = map[string]v1.Volume{}
    	volMap[kubeadmconstants.KubeAPIServer]["k8s-certs"] = v1.Volume{
    		Name: "k8s-certs",
    		VolumeSource: v1.VolumeSource{
    			HostPath: &v1.HostPathVolumeSource{
    				Path: testCertsDir,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top