Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for VolumesAttached (0.23 sec)

  1. pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go

    		if node.Name == failedNode {
    			if len(node.Status.VolumesAttached) != 0 {
    				t.Fatalf("len(node.Status.VolumesAttached) Expected: <0> Actual: <%v>", len(node.Status.VolumesAttached))
    			}
    		} else {
    			if len(node.Status.VolumesAttached) != 1 {
    				t.Fatalf("len(node.Status.VolumesAttached) Expected: <1> Actual: <%v>", len(node.Status.VolumesAttached))
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go

    	Images          []ContainerImageApplyConfiguration     `json:"images,omitempty"`
    	VolumesInUse    []v1.UniqueVolumeName                  `json:"volumesInUse,omitempty"`
    	VolumesAttached []AttachedVolumeApplyConfiguration     `json:"volumesAttached,omitempty"`
    	Config          *NodeConfigStatusApplyConfiguration    `json:"config,omitempty"`
    	RuntimeHandlers []NodeRuntimeHandlerApplyConfiguration `json:"runtimeHandlers,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager_test.go

    			stopCh := runVolumeManager(manager)
    			defer close(stopCh)
    
    			podManager.SetPods([]*v1.Pod{pod})
    
    			// Fake node status update
    			go simulateVolumeInUseUpdate(
    				v1.UniqueVolumeName(node.Status.VolumesAttached[0].Name),
    				stopCh,
    				manager)
    
    			err = manager.WaitForAttachAndMount(context.Background(), pod)
    			if err != nil && !test.expectError {
    				t.Errorf("Expected success: %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    	}
    
    	if len(reconstructedVolumes) > 0 {
    		// Add the volumes to ASW
    		rc.updateStates(reconstructedVolumes)
    
    		// Remember to update devicePath from node.status.volumesAttached
    		rc.volumesNeedUpdateFromNodeStatus = reconstructedVolumeNames
    	}
    	klog.V(2).InfoS("Volume reconstruction finished")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go

    	nodeutil "k8s.io/component-helpers/node/util"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/controller/volume/attachdetach/cache"
    )
    
    // NodeStatusUpdater defines a set of operations for updating the
    // VolumesAttached field in the Node Status.
    type NodeStatusUpdater interface {
    	// Gets a list of node statuses that should be updated from the actual state
    	// of the world and updates them.
    	UpdateNodeStatuses(logger klog.Logger) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.json

        },
        "images": [
          {
            "names": [
              "namesValue"
            ],
            "sizeBytes": 2
          }
        ],
        "volumesInUse": [
          "volumesInUseValue"
        ],
        "volumesAttached": [
          {
            "name": "nameValue",
            "devicePath": "devicePathValue"
          }
        ],
        "config": {
          "assigned": {
            "configMap": {
              "namespace": "namespaceValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	// Arrange
    	intreeToCSITranslator := csitrans.New()
    	node := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: string(nodeName),
    		},
    		Spec: v1.NodeSpec{},
    		Status: v1.NodeStatus{
    			VolumesAttached: []v1.AttachedVolume{
    				{
    					Name:       v1.UniqueVolumeName(fmt.Sprintf("fake-plugin/%s", "pd.csi.storage.gke.io-fake-device1")),
    					DevicePath: "fake/path",
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.yaml

        osImage: osImageValue
        systemUUID: systemUUIDValue
      phase: phaseValue
      runtimeHandlers:
      - features:
          recursiveReadOnlyMounts: true
        name: nameValue
      volumesAttached:
      - devicePath: devicePathValue
        name: nameValue
      volumesInUse:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.yaml

        osImage: osImageValue
        systemUUID: systemUUIDValue
      phase: phaseValue
      runtimeHandlers:
      - features:
          recursiveReadOnlyMounts: true
        name: nameValue
      volumesAttached:
      - devicePath: devicePathValue
        name: nameValue
      volumesInUse:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.yaml

        kubeletVersion: kubeletVersionValue
        machineID: machineIDValue
        operatingSystem: operatingSystemValue
        osImage: osImageValue
        systemUUID: systemUUIDValue
      phase: phaseValue
      volumesAttached:
      - devicePath: devicePathValue
        name: nameValue
      volumesInUse:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top