- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for podspec_ (0.35 sec)
-
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/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/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) -
pkg/kube/inject/webhook_test.go
} func TestInjectRequired(t *testing.T) { podSpec := &corev1.PodSpec{} podSpecHostNetwork := &corev1.PodSpec{ HostNetwork: true, } cases := []struct { config *Config podSpec *corev1.PodSpec meta metav1.ObjectMeta want bool }{ { config: &Config{ Policy: InjectionPolicyEnabled, }, podSpec: podSpec, meta: metav1.ObjectMeta{ Name: "no-policy",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1) -
plugin/pkg/admission/extendedresourcetoleration/admission_test.go
requestedPod: core.Pod{ Spec: core.PodSpec{}, }, expectedPod: core.Pod{ Spec: core.PodSpec{}, }, }, { description: "pod with container without any extended resources, expect no change in tolerations", requestedPod: core.Pod{ Spec: core.PodSpec{ Containers: []core.Container{ containerRequestingCPU, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 10.3K bytes - Viewed (0) -
pkg/api/pod/warnings.go
}, } func warningsForPodSpecAndMeta(fieldPath *field.Path, podSpec *api.PodSpec, meta *metav1.ObjectMeta, oldPodSpec *api.PodSpec, oldMeta *metav1.ObjectMeta) []string { var warnings []string // use of deprecated node labels in selectors/affinity/topology for k := range podSpec.NodeSelector { if msg, deprecated := nodeapi.GetNodeLabelDeprecatedMessage(k); deprecated {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux_test.go
pod *v1.Pod expected *ResourceConfig enforceCPULimits bool quotaPeriod uint64 // in microseconds }{ "besteffort": { pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: getResourceRequirements(getResourceList("", ""), getResourceList("", "")), }, }, }, }, enforceCPULimits: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kubelet/status/generate_test.go
} } } func TestGeneratePodInitializedCondition(t *testing.T) { noInitContainer := &v1.PodSpec{} oneInitContainer := &v1.PodSpec{ InitContainers: []v1.Container{ {Name: "1234"}, }, Containers: []v1.Container{ {Name: "regular"}, }, } twoInitContainer := &v1.PodSpec{ InitContainers: []v1.Container{ {Name: "1234"}, {Name: "5678"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0)