Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for RBDPool (0.14 sec)

  1. pkg/apis/core/fuzzer/fuzzer.go

    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    			s.Type = core.SecretTypeOpaque
    		},
    		func(r *core.RBDVolumeSource, c fuzz.Continue) {
    			r.RBDPool = c.RandString()
    			if r.RBDPool == "" {
    				r.RBDPool = "rbd"
    			}
    			r.RadosUser = c.RandString()
    			if r.RadosUser == "" {
    				r.RadosUser = "admin"
    			}
    			r.Keyring = c.RandString()
    			if r.Keyring == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults.go

    func SetDefaults_RBDVolumeSource(obj *v1.RBDVolumeSource) {
    	if obj.RBDPool == "" {
    		obj.RBDPool = "rbd"
    	}
    	if obj.RadosUser == "" {
    		obj.RadosUser = "admin"
    	}
    	if obj.Keyring == "" {
    		obj.Keyring = "/etc/ceph/keyring"
    	}
    }
    
    func SetDefaults_RBDPersistentVolumeSource(obj *v1.RBDPersistentVolumeSource) {
    	if obj.RBDPool == "" {
    		obj.RBDPool = "rbd"
    	}
    	if obj.RadosUser == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    			RBD: &v1.RBDVolumeSource{
    				CephMonitors: []string{"a", "b"},
    				RBDPool:      "foo",
    				RBDImage:     "bar",
    				FSType:       "ext4",
    			},
    		},
    	}
    	volState2 := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			RBD: &v1.RBDVolumeSource{
    				CephMonitors: []string{"c", "d"},
    				RBDPool:      "foo",
    				RBDImage:     "bar",
    				FSType:       "ext4",
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    				return true
    			}
    		}
    
    		if volume.RBD != nil && existingVolume.RBD != nil {
    			mon, pool, image := volume.RBD.CephMonitors, volume.RBD.RBDPool, volume.RBD.RBDImage
    			emon, epool, eimage := existingVolume.RBD.CephMonitors, existingVolume.RBD.RBDPool, existingVolume.RBD.RBDImage
    			// two RBDs images are the same if they share the same Ceph monitor, are in the same RADOS Pool, and have the same image name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. pkg/api/persistentvolume/util_test.go

    					PersistentVolumeSource: api.PersistentVolumeSource{
    						RBD: &api.RBDPersistentVolumeSource{
    							CephMonitors: nil,
    							RBDImage:     "",
    							FSType:       "",
    							RBDPool:      "",
    							RadosUser:    "",
    							Keyring:      "",
    							SecretRef:    nil,
    							ReadOnly:     false,
    						},
    					},
    				},
    			},
    			expected: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/api/core/v1,RBDPersistentVolumeSource,RBDPool
    API rule violation: names_match,k8s.io/api/core/v1,RBDPersistentVolumeSource,RadosUser
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,CephMonitors
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,RBDImage
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,RBDPool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults_test.go

    		".Spec.Volumes[0].VolumeSource.RBD.Keyring":                                                   `"/etc/ceph/keyring"`,
    		".Spec.Volumes[0].VolumeSource.RBD.RBDPool":                                                   `"rbd"`,
    		".Spec.Volumes[0].VolumeSource.RBD.RadosUser":                                                 `"admin"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    	out.CephMonitors = *(*[]string)(unsafe.Pointer(&in.CephMonitors))
    	out.RBDImage = in.RBDImage
    	out.FSType = in.FSType
    	out.RBDPool = in.RBDPool
    	out.RadosUser = in.RadosUser
    	out.Keyring = in.Keyring
    	out.SecretRef = (*core.SecretReference)(unsafe.Pointer(in.SecretRef))
    	out.ReadOnly = in.ReadOnly
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.pb.go

    	i -= len(m.RadosUser)
    	copy(dAtA[i:], m.RadosUser)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.RadosUser)))
    	i--
    	dAtA[i] = 0x2a
    	i -= len(m.RBDPool)
    	copy(dAtA[i:], m.RBDPool)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.RBDPool)))
    	i--
    	dAtA[i] = 0x22
    	i -= len(m.FSType)
    	copy(dAtA[i:], m.FSType)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
    	i--
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  10. pkg/apis/core/types.go

    	// TODO: how do we prevent errors in the filesystem from compromising the machine
    	// +optional
    	FSType string
    	// Optional: RadosPool is the rados pool name,default is rbd
    	// +optional
    	RBDPool string
    	// Optional: RBDUser is the rados user name, default is admin
    	// +optional
    	RadosUser string
    	// Optional: Keyring is the path to key ring for RBDUser, default is /etc/ceph/keyring
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
Back to top