- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 331 for podspec_ (0.48 sec)
-
pkg/api/storage/util_test.go
`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) { actual := sets.New[string](GetWarningsForStorageClass(tc.template)...) expected := sets.New[string](tc.expected...) for _, missing := range sets.List[string](expected.Difference(actual)) {
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/api/node/util_test.go
`scheduling.nodeSelector: deprecated since v1.14; use "kubernetes.io/os" instead`, }, }, } for _, tc := range testcases { t.Run("podspec_"+tc.name, func(t *testing.T) { actual := sets.New[string](GetWarningsForRuntimeClass(tc.template)...) expected := sets.New[string](tc.expected...) for _, missing := range sets.List[string](expected.Difference(actual)) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 2K bytes - Viewed (0) -
pkg/api/persistentvolume/util_test.go
}, }, }, }, expected: []string{ `spec.glusterfs: deprecated in v1.25, non-functional in v1.26+`, }, }, } for _, tc := range testcases { t.Run("podspec_"+tc.name, func(t *testing.T) { actual := sets.New[string](GetWarningsForPersistentVolume(tc.template)...) expected := sets.New[string](tc.expected...)
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/api/pod/warnings_test.go
}}, Spec: api.PodSpec{ Containers: []api.Container{{ Name: "foo", SecurityContext: &api.SecurityContext{ AppArmorProfile: &api.AppArmorProfile{Type: api.AppArmorProfileTypeUnconfined}, }, }}, }, }, expected: []string{}, }, } for _, tc := range testcases { t.Run("podspec_"+tc.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go
ResourceClaims []PodResourceClaimApplyConfiguration `json:"resourceClaims,omitempty"` } // PodSpecApplyConfiguration constructs an declarative configuration of the PodSpec type for use with // apply. func PodSpec() *PodSpecApplyConfiguration { return &PodSpecApplyConfiguration{} } // WithVolumes adds the given value to the Volumes field in the declarative configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:22:42 UTC 2022 - 23.9K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
newLabels := label var podSpec v1.PodSpec // Copy pod spec from DaemonSet template, or use a default one if DaemonSet is nil if ds != nil { hash := controller.ComputeHash(&ds.Spec.Template, ds.Status.CollisionCount) newLabels = labelsutil.CloneAndAddLabel(label, apps.DefaultDaemonSetUniqueLabelKey, hash) podSpec = ds.Spec.Template.Spec } else { podSpec = v1.PodSpec{ Containers: []v1.Container{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/api/pod/util.go
} } } for i := range podSpec.Containers { if podSpec.Containers[i].Lifecycle == nil { continue } adjustLifecycle(podSpec.Containers[i].Lifecycle) if podSpec.Containers[i].Lifecycle.PreStop == nil && podSpec.Containers[i].Lifecycle.PostStart == nil { podSpec.Containers[i].Lifecycle = nil } } for i := range podSpec.InitContainers { if podSpec.InitContainers[i].Lifecycle == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0) -
pkg/api/pod/util_test.go
name string enabled bool podSpec *api.PodSpec oldPodSpec *api.PodSpec wantPodSpec *api.PodSpec }{ { name: "feature disabled, both pods don't use the fields", enabled: false, oldPodSpec: &api.PodSpec{ TopologySpreadConstraints: []api.TopologySpreadConstraint{}, }, podSpec: &api.PodSpec{ TopologySpreadConstraints: []api.TopologySpreadConstraint{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go
pod: &v1.Pod{Spec: v1.PodSpec{NodeName: "", Affinity: stayWithS1InRegion}, ObjectMeta: metav1.ObjectMeta{Labels: podLabelSecurityS1}}, pods: []*v1.Pod{ {Spec: v1.PodSpec{NodeName: "node1"}, ObjectMeta: metav1.ObjectMeta{Labels: podLabelSecurityS1}}, {Spec: v1.PodSpec{NodeName: "node2"}, ObjectMeta: metav1.ObjectMeta{Labels: podLabelSecurityS2}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 44.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
trueVar := true falseVar := false testCases := []struct { name string podSpec *v1.PodSpec expectedWindowsConfig *runtimeapi.WindowsPodSandboxConfig expectedError error }{ { name: "Empty PodSecurityContext", podSpec: &v1.PodSpec{ Containers: []v1.Container{{ Name: containerName, }}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0)