- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for VolumeNodeAffinity (0.54 sec)
-
pkg/volume/util/util_test.go
}, Spec: v1.PersistentVolumeSpec{ NodeAffinity: &v1.VolumeNodeAffinity{}, }, }, }, { name: "PV node affinity required zero selector terms", pv: &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Spec: v1.PersistentVolumeSpec{ NodeAffinity: &v1.VolumeNodeAffinity{ Required: &v1.NodeSelector{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/api/persistentvolume/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.VolumeNodeAffinity)(nil), (*core.VolumeNodeAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_VolumeNodeAffinity_To_core_VolumeNodeAffinity(a.(*v1.VolumeNodeAffinity), b.(*core.VolumeNodeAffinity), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) { *out = *in if in.Required != nil { in, out := &in.Required, &out.Required *out = new(NodeSelector) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) { *out = *in if in.Required != nil { in, out := &in.Required, &out.Required *out = new(NodeSelector) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
// and injects into the pv. func (p *PersistentVolumeWrapper) NodeAffinityIn(key string, vals []string) *PersistentVolumeWrapper { if p.Spec.NodeAffinity == nil { p.Spec.NodeAffinity = &v1.VolumeNodeAffinity{} } if p.Spec.NodeAffinity.Required == nil { p.Spec.NodeAffinity.Required = &v1.NodeSelector{} } nodeSelector := MakeNodeSelector().In(key, vals).Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
}, StorageClassName: className, VolumeMode: &fs, }, Status: v1.PersistentVolumeStatus{ Phase: v1.VolumeAvailable, }, } if node != "" { pv.Spec.NodeAffinity = &v1.VolumeNodeAffinity{ Required: &v1.NodeSelector{ NodeSelectorTerms: []v1.NodeSelectorTerm{ { MatchExpressions: []v1.NodeSelectorRequirement{ { Key: nodeLabelKey,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
}, "volume-empty-node-affinity": { isExpectedFailure: true, volume: testVolumeWithNodeAffinity(&core.VolumeNodeAffinity{}), }, "volume-bad-node-affinity": { isExpectedFailure: true, volume: testVolumeWithNodeAffinity( &core.VolumeNodeAffinity{ Required: &core.NodeSelector{ NodeSelectorTerms: []core.NodeSelectorTerm{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/generated.pb.go
func (m *VolumeNodeAffinity) Reset() { *m = VolumeNodeAffinity{} } func (*VolumeNodeAffinity) ProtoMessage() {} func (*VolumeNodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptor_6c07b07c062484ab, []int{220} } func (m *VolumeNodeAffinity) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 1.8M bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// Defaults to "" (volume's root). // SubPathExpr and SubPath are mutually exclusive. // +optional optional string subPathExpr = 6; } // VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. message VolumeNodeAffinity { // required specifies hard node constraints that must be met. optional NodeSelector required = 1; }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 255.8K bytes - Viewed (0)