- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for PodSpec (0.51 sec)
-
pkg/kubelet/kuberuntime/util/util_test.go
}, }, expectedChanged: true, expectedAttempt: 2, expectedSandboxID: "sandboxID2", }, "Pod with ready sandbox status but network namespace mismatch": { pod: &v1.Pod{ Spec: v1.PodSpec{ HostNetwork: true, }, }, status: &kubecontainer.PodStatus{ SandboxStatuses: []*runtimeapi.PodSandboxStatus{ { Id: "sandboxID1", Linux: &runtimeapi.LinuxPodSandboxStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:14:48 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/volume/util/nested_volumes_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_disabled_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 3K bytes - Viewed (0) -
pkg/config/model_test.go
func(c Spec) Spec { c.(*networking.VirtualService).Gateways = []string{"bar"} return c }, protocmp.Transform(), }, // Kubernetes type { &corev1.PodSpec{ServiceAccountName: "foobar"}, func(c Spec) Spec { c.(*corev1.PodSpec).ServiceAccountName = "bar" return c }, nil, }, // gateway-api type { &k8s.GatewayClassSpec{ControllerName: "foo"}, func(c Spec) Spec {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
"istio.io/istio/pkg/test/util/assert" ) func TestGetPodIPIfPodIPPresent(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: "derp", }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 1) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels_test.go
Name: "test_pod", Namespace: "test_pod_namespace", UID: "test_pod_uid", DeletionGracePeriodSeconds: &deletionGracePeriod, }, Spec: v1.PodSpec{ Containers: []v1.Container{*container}, TerminationGracePeriodSeconds: &terminationGracePeriod, }, } var tests = []struct { description string expected *labeledContainerInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 22:43:36 UTC 2024 - 7.3K 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) -
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) -
pkg/security/apparmor/validate_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 18:46:31 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1alpha1_test.go
{ desc: "pod without devices", pods: []*v1.Pod{ { ObjectMeta: metav1.ObjectMeta{ Name: podName, Namespace: podNamespace, UID: podUID, }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: containerName, }, }, }, }, }, devices: []*podresourcesv1.ContainerDevices{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3.9K bytes - Viewed (0)