- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 331 for podspec_ (0.19 sec)
-
pkg/kubelet/qos/policy_test.go
) var ( cpuLimit = v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceName(v1.ResourceCPU): resource.MustParse("10"), }, }, }, }, }, } memoryLimitCPURequest = v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 21:34:27 UTC 2021 - 5.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go
}, labels: map[string]string{ "foo": "bar", }, runPreFilter: true, }, { name: "Pod with an Affinity and a PodSpec.NodeSelector(the old thing that we are deprecating) " + "both are satisfied, will schedule onto the node", pod: &v1.Pod{ Spec: v1.PodSpec{ NodeSelector: map[string]string{ "foo": "bar", }, Affinity: &v1.Affinity{ NodeAffinity: &v1.NodeAffinity{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 12:00:10 UTC 2023 - 38.7K bytes - Viewed (0) -
pkg/kubelet/config/http_test.go
{ desc: "Invalid volume name", pod: &v1.Pod{ TypeMeta: metav1.TypeMeta{APIVersion: "v1"}, Spec: v1.PodSpec{ Volumes: []v1.Volume{{Name: "_INVALID_"}}, }, }, }, { desc: "Duplicate volume names", pod: &v1.Pod{ TypeMeta: metav1.TypeMeta{APIVersion: "v1"}, Spec: v1.PodSpec{ Volumes: []v1.Volume{{Name: "repeated"}, {Name: "repeated"}}, }, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddGeneratedConversionFunc((*PodSpec)(nil), (*example.PodSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_PodSpec_To_example_PodSpec(a.(*PodSpec), b.(*example.PodSpec), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*example.PodSpec)(nil), (*PodSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 10.6K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
"Terminating": { pod: &api.Pod{ Spec: api.PodSpec{ ActiveDeadlineSeconds: &activeDeadlineSeconds, }, }, wantSelectors: []corev1.ScopedResourceSelectorRequirement{ {ScopeName: corev1.ResourceQuotaScopeTerminating}, {ScopeName: corev1.ResourceQuotaScopeBestEffort}, }, }, "OnlyTerminating": { pod: &api.Pod{ Spec: api.PodSpec{ ActiveDeadlineSeconds: &activeDeadlineSeconds,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/apis/core/pods/helpers_test.go
testCases := []struct { description string path *field.Path haveSpec *api.PodSpec wantNames []string }{ { "empty podspec", field.NewPath("spec"), &api.PodSpec{}, []string{}, }, { "regular containers", field.NewPath("spec"), &api.PodSpec{ Containers: []api.Container{ {Name: "c1"}, {Name: "c2"}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:35:30 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/resource_allocation_test.go
pod: v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {}, }, }, }, expected: map[v1.ResourceName]int64{ v1.ResourceCPU: util.DefaultMilliCPURequest, v1.ResourceMemory: util.DefaultMemoryRequest, }, }, { name: "2x requestless container", pod: v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {}, {}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 23:15:53 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion_test.go
appsv1Template := v1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: v1.PodSpec{ RestartPolicy: v1.RestartPolicy("bar"), SecurityContext: new(v1.PodSecurityContext), }, } apiTemplate := api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: api.PodSpec{ RestartPolicy: api.RestartPolicy("bar"), SecurityContext: new(api.PodSecurityContext), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go
(*out)[key] = val } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. func (in *PodSpec) DeepCopy() *PodSpec { if in == nil { return nil } out := new(PodSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 4.4K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion_test.go
v1beta2Template := v1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: v1.PodSpec{ RestartPolicy: v1.RestartPolicy("bar"), SecurityContext: new(v1.PodSecurityContext), }, } apiTemplate := api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: api.PodSpec{ RestartPolicy: api.RestartPolicy("bar"), SecurityContext: new(api.PodSecurityContext), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 22.7K bytes - Viewed (0)