Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 414 for volumeID (0.2 sec)

  1. pkg/volume/flexvolume/plugin-defaults.go

    import (
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    type pluginDefaults flexVolumePlugin
    
    func logPrefix(plugin *flexVolumePlugin) string {
    	return "flexVolume driver " + plugin.driverName + ": "
    }
    
    func (plugin *pluginDefaults) GetVolumeName(spec *volume.Spec) (string, error) {
    	klog.V(4).Info(logPrefix((*flexVolumePlugin)(plugin)), "using default GetVolumeName for volume ", spec.Name())
    	return spec.Name(), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 13 13:42:07 UTC 2021
    - 1021 bytes
    - Viewed (0)
  2. cmd/namespace-lock_test.go

    	for i := 0; i < 10000; i++ {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    			t.Fatal("failed to acquire lock")
    		}
    
    		// lk2
    		lk2ch := make(chan struct{})
    		go func() {
    			defer close(lk2ch)
    			nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond)
    		}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/options/ephemeralcontroller.go

    	if o == nil {
    		return
    	}
    
    	fs.Int32Var(&o.ConcurrentEphemeralVolumeSyncs, "concurrent-ephemeralvolume-syncs", o.ConcurrentEphemeralVolumeSyncs, "The number of ephemeral volume syncing operations that will be done concurrently. Larger number = faster ephemeral volume updating, but more CPU (and network) load")
    }
    
    // ApplyTo fills up EphemeralVolumeController config with options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 25 13:36:57 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. pkg/volume/util/types/types_test.go

    			IsFailedPreconditionError,
    			false,
    		},
    		{
    			"when error has failedPrecondition error",
    			NewFailedPreconditionError("volume-in-use"),
    			IsFailedPreconditionError,
    			true,
    		},
    		{
    			"when error wraps failedPrecondition error",
    			fmt.Errorf("volume readonly %w", NewFailedPreconditionError("volume-in-use-error")),
    			IsFailedPreconditionError,
    			true,
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/grpc-simple.yaml.injected

            sidecar.istio.io/rewriteAppHTTPProbers: "false"
            sidecar.istio.io/status: '{"initContainers":["grpc-bootstrap-init"],"containers":["traffic"],"volumes":["grpc-io-proxyless-bootstrap"],"imagePullSecrets":null,"revision":"default"}'
          creationTimestamp: null
          labels:
            app: grpc
        spec:
          containers:
          - env:
            - name: GRPC_XDS_BOOTSTRAP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 10 20:56:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. pkg/volume/util/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package util contains utility code for use by volume plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 10 21:24:35 UTC 2018
    - 695 bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/unmounter.go

    	"os"
    
    	"k8s.io/klog/v2"
    	"k8s.io/mount-utils"
    	"k8s.io/utils/exec"
    
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    // FlexVolumeUnmounter is the disk that will be cleaned by this plugin.
    type flexVolumeUnmounter struct {
    	*flexVolume
    	// Runner used to teardown the volume.
    	runner exec.Interface
    }
    
    var _ volume.Unmounter = &flexVolumeUnmounter{}
    
    // Unmounter interface
    func (f *flexVolumeUnmounter) TearDown() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. samples/bookinfo/platform/kube/bookinfo-psa.yaml

              mountPath: /opt/ibm/wlp/output
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                  - all
              runAsNonRoot: true
          volumes:
          - name: wlp-output
            emptyDir: {}
          - name: tmp
            emptyDir: {}
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: reviews-v2
      labels:
        app: reviews
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. samples/bookinfo/platform/kube/bookinfo.yaml

            ports:
            - containerPort: 9080
            volumeMounts:
            - name: tmp
              mountPath: /tmp
            - name: wlp-output
              mountPath: /opt/ibm/wlp/output
          volumes:
          - name: wlp-output
            emptyDir: {}
          - name: tmp
            emptyDir: {}
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: reviews-v2
      labels:
        app: reviews
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/fake_binder.go

    	"k8s.io/klog/v2"
    )
    
    // FakeVolumeBinderConfig holds configurations for fake volume binder.
    type FakeVolumeBinderConfig struct {
    	AllBound    bool
    	FindReasons ConflictReasons
    	FindErr     error
    	AssumeErr   error
    	BindErr     error
    }
    
    // NewFakeVolumeBinder sets up all the caches needed for the scheduler to make
    // topology-aware volume binding decisions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 03:28:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top