- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for MatchLabelExpressions (0.27 sec)
-
pkg/api/storage/util.go
// use of deprecated node labels in allowedTopologies's matchLabelExpressions for i, topo := range sc.AllowedTopologies { for j, expression := range topo.MatchLabelExpressions { if msg, deprecated := nodeapi.GetNodeLabelDeprecatedMessage(expression.Key); deprecated { warnings = append(warnings, fmt.Sprintf("%s: %s", field.NewPath("allowedTopologies").Index(i).Child("matchLabelExpressions").Index(j).Child("key"), msg)) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 25 07:15:34 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/api/storage/util_test.go
}, }, }, }, }, expected: []string{ `allowedTopologies[0].matchLabelExpressions[0].key: deprecated since v1.14; use "kubernetes.io/arch" instead`, `allowedTopologies[0].matchLabelExpressions[1].key: deprecated since v1.14; use "kubernetes.io/os" instead`, }, }, } for _, tc := range testcases { t.Run("podspec_"+tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
topologySelectorTerms: []v1.TopologySelectorTerm{ { MatchLabelExpressions: []v1.TopologySelectorLabelRequirement{}, }, }, labels: nil, }, want: false, }, { name: "label matches MatchLabelExpressions terms", args: args{ topologySelectorTerms: []v1.TopologySelectorTerm{ { MatchLabelExpressions: []v1.TopologySelectorLabelRequirement{{ Key: "label_1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.StorageClass.json
"mountOptions": [ "mountOptionsValue" ], "allowVolumeExpansion": true, "volumeBindingMode": "volumeBindingModeValue", "allowedTopologies": [ { "matchLabelExpressions": [ { "key": "keyValue", "values": [ "valuesValue" ] } ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.StorageClass.yaml
allowVolumeExpansion: true allowedTopologies: - matchLabelExpressions: - key: keyValue values: - valuesValue apiVersion: storage.k8s.io/v1beta1 kind: StorageClass metadata: annotations: annotationsKey: annotationsValue creationTimestamp: "2008-01-01T01:01:01Z" deletionGracePeriodSeconds: 10 deletionTimestamp: "2009-01-01T01:01:01Z" finalizers: - finalizersValue generateName: generateNameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1beta1.StorageClass.json
"mountOptions": [ "mountOptionsValue" ], "allowVolumeExpansion": true, "volumeBindingMode": "volumeBindingModeValue", "allowedTopologies": [ { "matchLabelExpressions": [ { "key": "keyValue", "values": [ "valuesValue" ] } ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1beta1.StorageClass.json
"mountOptions": [ "mountOptionsValue" ], "allowVolumeExpansion": true, "volumeBindingMode": "volumeBindingModeValue", "allowedTopologies": [ { "matchLabelExpressions": [ { "key": "keyValue", "values": [ "valuesValue" ] } ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1.StorageClass.json
"mountOptions": [ "mountOptionsValue" ], "allowVolumeExpansion": true, "volumeBindingMode": "volumeBindingModeValue", "allowedTopologies": [ { "matchLabelExpressions": [ { "key": "keyValue", "values": [ "valuesValue" ] } ] } ]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 06 21:25:20 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
validTopology := []api.TopologySelectorTerm{{ MatchLabelExpressions: []api.TopologySelectorLabelRequirement{{ Key: "failure-domain.beta.kubernetes.io/zone", Values: []string{"zone1"}, }, { Key: "kubernetes.io/hostname", Values: []string{"node1"}, }}, }, { MatchLabelExpressions: []api.TopologySelectorLabelRequirement{{ Key: "failure-domain.beta.kubernetes.io/zone",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
pkg/api/node/util.go
func GetWarningsForNodeSelector(nodeSelector *metav1.LabelSelector, fieldPath *field.Path) []string { if nodeSelector == nil { return nil } var warnings []string // use of deprecated node labels in matchLabelExpressions for i, expression := range nodeSelector.MatchExpressions { if msg, deprecated := GetNodeLabelDeprecatedMessage(expression.Key); deprecated { warnings = append( warnings, fmt.Sprintf(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 25 07:15:34 UTC 2022 - 3.8K bytes - Viewed (0)