Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for volumeID (0.16 sec)

  1. pkg/volume/plugins.go

    	// - name: The volume name, as per the v1.Volume spec.
    	// - podUID: The UID of the enclosing pod
    	NewUnmounter(name string, podUID types.UID) (Unmounter, error)
    
    	// ConstructVolumeSpec constructs a volume spec based on the given volume name
    	// and volumePath. The spec may have incomplete information due to limited
    	// information from input. This function is used by volume manager to reconstruct
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_utils.go

    }
    
    // storageMatches returns true if pod's Volumes cover the set of PersistentVolumeClaims
    func storageMatches(set *apps.StatefulSet, pod *v1.Pod) bool {
    	ordinal := getOrdinal(pod)
    	if ordinal < 0 {
    		return false
    	}
    	volumes := make(map[string]v1.Volume, len(pod.Spec.Volumes))
    	for _, volume := range pod.Spec.Volumes {
    		volumes[volume.Name] = volume
    	}
    	for _, claim := range set.Spec.VolumeClaimTemplates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    	return client.diskInfoCache.GetWithCtx(ctx)
    }
    
    // MakeVolBulk - create multiple volumes in a bulk operation.
    func (client *storageRESTClient) MakeVolBulk(ctx context.Context, volumes ...string) (err error) {
    	return errInvalidArgument
    }
    
    // MakeVol - create a volume on a remote disk.
    func (client *storageRESTClient) MakeVol(ctx context.Context, volume string) (err error) {
    	return errInvalidArgument
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricDeleteVol, volume)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.DeleteVol(ctx, volume, forceDelete) })
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. pkg/features/kube_features.go

    	// owner: @jsafrane
    	// kep: https://kep.k8s.io/1710
    	// alpha: v1.25
    	// beta: v1.27
    	// Speed up container startup by mounting volumes with the correct SELinux label
    	// instead of changing each file on the volumes recursively.
    	// Initial implementation focused on ReadWriteOncePod volumes.
    	SELinuxMountReadWriteOncePod featuregate.Feature = "SELinuxMountReadWriteOncePod"
    
    	// owner: @vinaykul
    	// kep: http://kep.k8s.io/1287
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    	}
    
    	volume := p.Volume
    	filePath := p.FilePath
    
    	return grid.NewNPErr(s.getStorage().WriteAll(context.Background(), volume, filePath, p.Buf))
    }
    
    // ReadAllHandler - read all the contents of a file.
    func (s *storageRESTServer) ReadAllHandler(p *ReadAllHandlerParams) (*grid.Bytes, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    
    	volume := p.Volume
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. build/common.sh

          --volume /usr/local/go/pkg/linux_amd64_cgo
          --volume /usr/local/go/pkg/linux_arm_cgo
          --volume /usr/local/go/pkg/linux_arm64_cgo
          --volume /usr/local/go/pkg/linux_ppc64le_cgo
          --volume /usr/local/go/pkg/darwin_amd64_cgo
          --volume /usr/local/go/pkg/darwin_386_cgo
          --volume /usr/local/go/pkg/windows_amd64_cgo
          --volume /usr/local/go/pkg/windows_386_cgo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. samples/addons/prometheus.yaml

              volumeMounts:
                - name: config-volume
                  mountPath: /etc/config
                - name: storage-volume
                  mountPath: /data
                  subPath: ""
          dnsPolicy: ClusterFirst
          terminationGracePeriodSeconds: 300
          volumes:
            - name: config-volume
              configMap:
                name: prometheus
            - name: storage-volume
              emptyDir:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_pod_control_test.go

    	pvcs := getPersistentVolumeClaims(set, pod)
    	volumes := make([]v1.Volume, 0, len(pod.Spec.Volumes))
    	for i := range pod.Spec.Volumes {
    		if _, contains := pvcs[pod.Spec.Volumes[i].Name]; !contains {
    			volumes = append(volumes, pod.Spec.Volumes[i])
    		}
    	}
    	pod.Spec.Volumes = volumes
    	fakeClient.AddReactor("update", "pods", func(action core.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    }
    
    // VolsInfo is a collection of volume(bucket) information
    type VolsInfo []VolInfo
    
    // VolInfo - represents volume stat information.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple VolInfo
    type VolInfo struct {
    	// Name of the volume.
    	Name string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top