- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 331 for podspec_ (0.16 sec)
-
pkg/api/v1/pod/util_test.go
testCases := []struct { desc string spec *v1.PodSpec wantContainers []string mask ContainerType }{ { desc: "empty podspec", spec: &v1.PodSpec{}, wantContainers: []string{}, mask: AllContainers, }, { desc: "regular containers", spec: &v1.PodSpec{ Containers: []v1.Container{ {Name: "c1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 32.1K bytes - Viewed (0) -
pkg/kube/inject/inject.go
if err != nil { return injectConfig, err } return injectConfig, nil } func injectRequired(ignored []string, config *Config, podSpec *corev1.PodSpec, metadata metav1.ObjectMeta) bool { // nolint: lll // Skip injection when host networking is enabled. The problem is // that the iptables changes are assumed to be within the pod when,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (1) -
pkg/scheduler/framework/types_test.go
{ Pod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: "node_info_cache_test", Name: "test-1", UID: types.UID("test-1"), }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceCPU: resource.MustParse("100m"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
Spec: example.PodSpec{NodeName: "machine"}, } podB := &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"}, Spec: example.PodSpec{NodeName: "machine2"}, } podAWithResourceVersion := &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test", ResourceVersion: "7"}, Spec: example.PodSpec{NodeName: "machine"}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/in_mesh.go
return niv } return false } // getPodSidecarInjectionStatus returns two booleans: enabled and ok. // enabled is true when deployment d PodSpec has either the label/annotation 'sidecar.istio.io/inject: "true"' // ok is true when the PodSpec doesn't have the 'sidecar.istio.io/inject' label/annotation present. func getPodSidecarInjectionStatus(metadata map[string]string) (enabled bool, ok bool) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
}{ { "Default namespaces", &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "test"}, }, }, }, nil, &runtimeapi.NamespaceOption{ Pid: runtimeapi.NamespaceMode_CONTAINER, }, }, { "PID Namespace POD", &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "test"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
wantAllowed: false, wantErr: true, subresource: "", operation: admission.Create, }, { test: "One good container, one bad", pod: &api.Pod{ Spec: api.PodSpec{ ServiceAccountName: "default", SecurityContext: &api.PodSecurityContext{}, Containers: []api.Container{ { Image: "bad", SecurityContext: &api.SecurityContext{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
ObjectMeta: metav1.ObjectMeta{ UID: "no_probe_pod", }, Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "no_probe1", }, { Name: "no_probe2", }, { Name: "no_probe3", }}, }, } probePod := v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: "probe_pod", }, Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "probe1", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: fakePodIP, }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}} client := kube.NewFakeClient(ns, pod)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0)